Breezy -> Dapper upgrade tool fails

Bug #41090 reported by Daniel Wiebelt
12
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Incomplete
Medium
Michael Vogt

Bug Description

I tried to upgrade from Breezy with

gksudo "update-manager -d"

as discribed on ubuntu.com/testing/dapperbeta. the upgrade tool starts, loads something and aborts with "A fatal error occured". This happens at step 3 (translated from german: "loading updates and installing"; under the Progress bar "Asking for confirmation"). the error is reproducible.

This is the error message:

##########################
Traceback (most recent call last):

  File "/tmp/tmpPchfnT/dapper", line 28, in ?
    app.run()

  File "/tmp/tmpPchfnT/DistUpgradeControler.py", line 353, in run
    self.dapperUpgrade()

  File "/tmp/tmpPchfnT/DistUpgradeControler.py", line 332, in dapperUpgrade
    if not self.askDistUpgrade():

  File "/tmp/tmpPchfnT/DistUpgradeControler.py", line 179, in askDistUpgrade
    if not self.cache.distUpgrade(self._view):

  File "/tmp/tmpPchfnT/DistUpgradeCache.py", line 134, in distUpgrade
    if not self._installMetaPkgs(view):

  File "/tmp/tmpPchfnT/DistUpgradeCache.py", line 208, in _installMetaPkgs
    self[pkg].markInstall()

  File "/usr/lib/python2.4/site-packages/apt/cache.py", line 78, in __getitem__
    return self._dict[key]

KeyError: 'ubuntu-base'
########################

The error message ask for reporting this Bug and adding ~/distupgrade.log and ~/dist-upgrade-apt.log which I rather found in /var/log. (I shortened the package listing).

/var/log/dist-upgrade.log:
########################

2006-04-24 13:58:14,957 DEBUG Foreign:
2006-04-24 13:58:14,958 DEBUG Obsolete: libgcc1 java-common xgamma smeg ##...LONG PACKAGE LIST...## libvte-common base-passwd
2006-04-24 13:58:17,335 ERROR not handled expection:
Traceback (most recent call last):

  File "/tmp/tmpS_VHtP/dapper", line 28, in ?
    app.run()

  File "/tmp/tmpS_VHtP/DistUpgradeControler.py", line 353, in run
    self.dapperUpgrade()

  File "/tmp/tmpS_VHtP/DistUpgradeControler.py", line 332, in dapperUpgrade
    if not self.askDistUpgrade():

  File "/tmp/tmpS_VHtP/DistUpgradeControler.py", line 179, in askDistUpgrade
    if not self.cache.distUpgrade(self._view):

  File "/tmp/tmpS_VHtP/DistUpgradeCache.py", line 134, in distUpgrade
    if not self._installMetaPkgs(view):

  File "/tmp/tmpS_VHtP/DistUpgradeCache.py", line 208, in _installMetaPkgs
    self[pkg].markInstall()

  File "/usr/lib/python2.4/site-packages/apt/cache.py", line 78, in __getitem__
    return self._dict[key]

KeyError: 'ubuntu-base'
###########################

/var/log/dist-upgrade-apt.log:
###########################
Starting
Starting 2
Done
###########################

Revision history for this message
Richard Wolf (rwolf) wrote :

Installing the ubuntu-base package removes this problem for me.

In order to do this I had to uncomment the breezy sources from /etc/apt/sources.list, since update-manager had commented them out.

However the process then failed while 'Downloading and installing the upgrades' with the message :

'Could not calculate the upgrade

A unresolvable problem occured while calculating the upgrade. Please report this as a bug. '

The contents of /var/log/dist-upgrade.log:

2006-04-25 14:22:57,085 DEBUG Foreign:
2006-04-25 14:22:57,085 DEBUG Obsolete: polymer libgtkhtml3.0-4 plib1.8.3 ngspice libmagick++6 libwpd7 libgnome-menu0 libwvstreams3-base libaiksaurus0c102 libexif10 libdb4.2++ brhl2040lpr libdevmapper1.00 libsoup2.2-7 libiw27 libboost-python1.31.0 libxaw8 libboost-thread1.31.0 libecal1.2-2 cupswrapperhl2040 libdvdcss2 pm-dev liboggflac1 libboost-regex1.31.0 libhdf5-serial-1.6.2-0 libwnck16 libboost-signals1.31.0 libdps-dev libboost-graph1.31.0 octave-ci libswig1.3.22 libegroupwise1.2-5 libboost-test1.31.0 libaiksaurusgtk0c102 libisc7 libsword4 libflac6 libdps1 libboost-date-time1.31.0 libwxgtk2.4 libboost-filesystem1.31.0 libdns16
2006-04-25 14:22:57,478 DEBUG Marking 'ubuntu-desktop' for upgrade
2006-04-25 14:22:57,479 DEBUG Removing 'xchat' (ubuntu-desktop PostUpgradeRemove rule)
2006-04-25 14:22:57,484 DEBUG Removing 'xscreensaver' (ubuntu-desktop PostUpgradeRemove rule)
2006-04-25 14:22:57,485 DEBUG Purging 'xorg-common' (Distro PostUpgradePurge rule)
2006-04-25 14:22:57,508 DEBUG The package 'ubuntu-desktop' is marked for removal but it's in the removal blacklist
2006-04-25 14:24:17,022 ERROR Dist-upgrade failed: 'A essential package would have to be removed'

Contents of dist-upgrade-apt.log:

Starting
Starting 2
Done
MarkUpgrade() called on a non-upgrable pkg: 'ubuntu-desktop'
Starting
Starting 2
Investigating xchat-common
Package xchat-common has broken dep on xchat
  Considering xchat 10002 as a solution to xchat-common 0
Package xchat-common has broken dep on xchat-text
  Or group remove for xchat-common
Investigating ubuntu-desktop
Package ubuntu-desktop has broken dep on xchat
  Considering xchat 10002 as a solution to ubuntu-desktop 0
  Removing ubuntu-desktop rather than change xchat
Done

I am not sure if this is part of the same bug or another one.

Revision history for this message
Michael Vogt (mvo) wrote :

Could you please try this again (in 3-4h)? I uploaded a new dist-upgrader that should fix the crash that was reported here.

About the "xchat" problem in the comment from Richard Wolf, this seems to be bug 41023.

Cheers,
 Michael

Changed in update-manager:
assignee: nobody → mvo
status: Unconfirmed → Needs Info
Revision history for this message
Spencer (spencem7) wrote :

I experienced the exact same bug when I tried to update today, 11 May.

dist-upgrade.log:
2006-05-11 12:34:04,265 DEBUG Marking 'ubuntu-desktop' for upgrade
2006-05-11 12:34:04,265 DEBUG Removing 'xchat' (ubuntu-desktop PostUpgradeRemove rule)
2006-05-11 12:34:04,270 DEBUG Removing 'xscreensaver' (ubuntu-desktop PostUpgradeRemove rule)
2006-05-11 12:34:04,270 DEBUG Purging 'xorg-common' (Distro PostUpgradePurge rule)
2006-05-11 12:34:04,291 DEBUG The package 'ubuntu-desktop' is marked for removal but it's in the removal blacklist
2006-05-11 12:34:08,434 ERROR Dist-upgrade failed: 'A essential package would have to be removed'

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for this additional information. Is this all you had in your /var/log/dist-upgrade.log? No information about the sources.list being rewriten?

Thanks,
 Michael

Revision history for this message
Spencer (spencem7) wrote :
Download full text (3.7 KiB)

Sorry, here's the full log:

dist-upgrade.log:

2006-05-12 15:38:16,155 DEBUG Foreign:
2006-05-12 15:38:16,156 DEBUG Obsolete:
2006-05-12 15:38:16,156 DEBUG updateSourcesList()
2006-05-12 15:38:16,159 DEBUG rewriteSourcesList()
2006-05-12 15:38:16,159 DEBUG examining: 'deb ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy main restricted universe multiverse'
2006-05-12 15:38:16,160 DEBUG entry '# deb ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:16,160 DEBUG examining: 'deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy main restricted universe multiverse'
2006-05-12 15:38:16,162 DEBUG entry '# deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:16,162 DEBUG examining: 'deb ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-updates main restricted universe multiverse'
2006-05-12 15:38:16,163 DEBUG entry '# deb ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-updates main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:16,163 DEBUG examining: 'deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-updates main restricted universe multiverse'
2006-05-12 15:38:16,164 DEBUG entry '# deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-updates main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:16,164 DEBUG examining: 'deb ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-backports main restricted universe multiverse'
2006-05-12 15:38:16,165 DEBUG entry '# deb ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-backports main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:16,165 DEBUG examining: 'deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-backports main restricted universe multiverse'
2006-05-12 15:38:16,166 DEBUG entry '# deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-backports main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:16,166 DEBUG examining: 'deb http://us.archive.ubuntu.com/ubuntu breezy-security main restricted universe multiverse'
2006-05-12 15:38:16,167 DEBUG entry 'deb http://us.archive.ubuntu.com/ubuntu dapper-security main restricted universe multiverse' updated to new dist
2006-05-12 15:38:16,167 DEBUG examining: 'deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-security main restricted universe multiverse'
2006-05-12 15:38:16,168 DEBUG entry '# deb-src ftp://ftp.ece.cornell.edu/pub/mirrors/ubuntu breezy-security main restricted universe multiverse' was disabled (unknown mirror)
2006-05-12 15:38:18,374 DEBUG Marking 'ubuntu-desktop' for upgrade
2006-05-12 15:38:18,374 DEBUG Removing 'xchat' (ubuntu-desktop PostUpgradeRemove rule)
2006-05-12 15:38:18,379 DEBUG Removing 'xscreensaver' (ubuntu-desktop PostUpgradeRemove rule)
2006-05-12 15:38:18,379 DEBUG Purging 'xorg-common' (Distro PostUpgradePurge rule)
2006-05-12 15:38:18,399 DEBUG The package 'ubuntu-desktop' is marked for removal but it's in the removal blacklist
2006-05-1...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.