[Bug 242255] Re: Upgrading from 6.06 LTS to 8.04 LTS Fails when /etc/debian_version is missing.
Rolf Leggewie
242255 at bugs.launchpad.net
Mon Oct 3 01:46:10 UTC 2011
** Changed in: lsb (Ubuntu Dapper)
Status: Triaged => Won't Fix
** Changed in: update-manager (Ubuntu Dapper)
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/242255
Title:
Upgrading from 6.06 LTS to 8.04 LTS Fails when /etc/debian_version is
missing.
Status in “lsb” package in Ubuntu:
Fix Released
Status in “update-manager” package in Ubuntu:
Fix Released
Status in “update-manager-core” package in Ubuntu:
Invalid
Status in “lsb” source package in Dapper:
Won't Fix
Status in “update-manager” source package in Dapper:
Won't Fix
Status in “update-manager-core” source package in Dapper:
Invalid
Bug description:
Binary package hint: update-manager-core
Resolution: Providing a bogus /etc/debian_version enabled lsb_release
and do-release-upgrade to complete sucessfully.
This appears to be a regression bug. :-( See below.
- - -
Upgrade Notes: 20 Jun 2008
Fully upgraded system:
apt-get update
apt-get upgrade
apt-get dist-upgrade
Using /etc/apt/sources.list:
deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu dapper-commercial main
deb http://us.archive.ubuntu.com/ubuntu/ dapper-proposed main restricted universe multiverse
First try using do-release-upgrade failed.
Removed and reinstalled update-manager and update-manager-core
apt-get --purge remove update-manager update-manager-core
The following packages will be REMOVED:
update-manager* update-manager-core* update-notifier*
apt-get install update-manager update-manager-core update-notifier
me at mysys:~$ dpkg -l | grep update-manager
ii update-manager 0.42.2ubuntu22.2 GNOME application that manages apt updates
ii update-manager-core 0.56~dapper5 manage release upgrades
me at mysys:~$
Second upgrade try failed. Transcript:
me at mysys:~$ sudo do-release-upgrade
Checking for a new ubuntu release
Traceback (most recent call last):
File "/bin/lsb_release", line 244, in ?
main()
File "/bin/lsb_release", line 208, in main
distinfo = get_distro_information()
File "/bin/lsb_release", line 158, in get_distro_information
distinfo = guess_debian_release()
File "/bin/lsb_release", line 154, in guess_debian_release
distinfo['DESCRIPTION'] = '%(ID)s %(OS)s %(RELEASE)s (%(CODENAME)s)' % distinfo
KeyError: 'RELEASE'
lsb_release returned exitcode: 1
current dist not found in meta-release file
No new release found
me at mysys:~$
The 'lsb_release' command also fails. With the same errors.
Same results after a re-install of lsb-base and lsb-release.
Transcript:
- - - -
Bug research found:
From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341719
lsb-release tries to deal with the case where /etc/debian_version is
missing, but doesn't quite manage it.
https://launchpad.net/distros/ubuntu/+source/lsb-release/+bug/4912 is a
bug report from an Ubuntu user who thought (incorrectly) that
/etc/debian_version was a leftover from their previous Debian
installation and tried to remove it, only to discover that lsb_release
fell over.
- - -
Resolution: Providing a bogus /etc/debian_version enabled lsb_release
and do-release-upgrade to complete sucessfully.
This appears to be a regression bug. :-(
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/242255/+subscriptions
More information about the foundations-bugs
mailing list