[Bug 1055386] Re: When applying upgrade from 12.04 to 12.10 I got a ERROR and update-manager crashed

Book 'em Dano 1055386 at bugs.launchpad.net
Tue Sep 25 05:55:48 UTC 2012

Thanks for taking the time to report this bug and helping to make Ubuntu
better. Could you please add the log files from '/var/log/dist-upgrade/'
to this bug report as separate attachments? Thanks in advance.

** Package changed: ubuntu => update-manager (Ubuntu)

** Changed in: update-manager (Ubuntu)
       Status: New => Incomplete

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.

  When applying upgrade from 12.04 to 12.10 I got a ERROR and update-
  manager crashed

Status in “update-manager” package in Ubuntu:

Bug description:

  I was doing a partial upgrade from 12.04 to 12.10
  during the application of new packages the update-manager crashed.
  Last lines in terminal were:

  Original exception was:
  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 113, in <module>
    File "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py", line 1748, in doPartialUpgrade
      if not self.doPostUpgrade():
    File "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeController.py", line 1152, in doPostUpgrade
      now_obsolete = self.cache._getObsoletesPkgs()
    File "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeCache.py", line 985, in _getObsoletesPkgs
      for pkg in self:
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 197, in __iter__
      yield self[pkgname]
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 182, in __getitem__
      pkg = self._weakref[key] = Package(self, self._cache[key])
  KeyError: '0ad-dbg:i386'

  My OS was Ubuntu 12.04 and my kernel was 3.2.0-31-generic
  Now my kernel is 3.0.0-17-generic (at least is what I got when I do uname -r).

  because my previous upgrade didn't complete update-manager doesn't work
  it is telling me "index software is broken" please use Synaptic or sudo apt-get install -f to fix this issue
  but I don't know how.
  I didn't reboot my new system, please give me a hint what to do.


To manage notifications about this bug go to:

More information about the foundations-bugs mailing list