Public bug reported:

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

[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]:~$

Second upgrade try failed.   Transcript:

[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]:~$

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. :-(

** Affects: update-manager-core (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Upgrading from 6.06 LTS to 8.04 LTS Fails when /etc/debian_version is missing.
https://bugs.launchpad.net/bugs/242255
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to