10.4 cdromupgrade crashes with "if not "universe" in self.found_components[self.toDist]: KeyError: 'lucid' "

Bug #587411 reported by Matt Wilkie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

I'm trying to upgrade from 9.10 to 10.4 using the alternate cd (amd64).
I put the cd in the drive, answered yes to run distribution upgrade,
No to use network, Yes to overwrite sources even though there is no mirror specified.
It did some things, then disappeared with no message or warning.
The lightning crash icon appeared in the menu bar.
When I clicked on it and said yes to report bug it told me it couldn't gave me a huge list of outdated packages as to the reason why.

I then opened a terminal and ran 'sudo sh /path/to/cdromupgrade'.
Same results as previous but with messages in the console, pasted below.

This system has been upgraded several times over the years; I think I started with Ubuntu 7.10.
The last dist-upgrade was a couple of weeks ago, 9.4 to 9.10. Other than some annoying problems with losing access to the local console to do the dreading flashing screen bug, now fixed, that upgrade was without obvious error. I've used the system in the interim normal activities (mail, surfing, some inkscape drawing).

----- console log --------------------------
matt@ubuntu-desktop:/media/Ubuntu 10.04 LTS amd64$ sudo sh cdromupgrade
tar: Removing leading `/' from member names
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
gpgv: Signature made Tue 27 Apr 2010 03:02:34 AM PDT using DSA key ID FBB75451
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <email address hidden>"
Traceback (most recent call last):
  File "/tmp/tmp.0e3Rskceuw/lucid", line 7, in <module>
    sys.exit(main())
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeMain.py", line 158, in main
    if app.run():
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeController.py", line 1649, in run
    return self.fullUpgrade()
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeController.py", line 1611, in fullUpgrade
    if not self.askDistUpgrade():
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeController.py", line 891, in askDistUpgrade
    if not "universe" in self.found_components[self.toDist]:
KeyError: 'lucid'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeViewGtk.py", line 443, in _handleException
    apport_crash(type, value, tb)
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeApport.py", line 28, in apport_crash
    report[f.replace(".","").replace("-","")] = (open(f), )
  File "/usr/lib/python2.6/dist-packages/problem_report.py", line 479, in __setitem__
    assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
AssertionError

Original exception was:
Traceback (most recent call last):
  File "/tmp/tmp.0e3Rskceuw/lucid", line 7, in <module>
    sys.exit(main())
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeMain.py", line 158, in main
    if app.run():
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeController.py", line 1649, in run
    return self.fullUpgrade()
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeController.py", line 1611, in fullUpgrade
    if not self.askDistUpgrade():
  File "/tmp/tmp.0e3Rskceuw/DistUpgradeController.py", line 891, in askDistUpgrade
    if not "universe" in self.found_components[self.toDist]:
KeyError: 'lucid'
-----------------------------------------------------------------

ProblemType: Bug
Architecture: amd64
Date: Sat May 29 22:14:08 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: update-manager 1:0.126.6
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: update-manager
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Matt Wilkie (maphew) wrote :
Revision history for this message
Matt Wilkie (maphew) wrote :

While I was typing this bug report two Update Manager dialogs popped up. I did nothing to summon them.
One is a warning, "Not all updates can be installed", "run a partial upgrade to ...etc"
The second is "Software updates are available for this computer", "New Ubuntu release '10.04 LTS' is available", with some "Other updates" listed beneath.

Revision history for this message
Matt Wilkie (maphew) wrote :

I let it install the other updates. When finished it wanted to do a partial upgrade, which I said yes to. After that I seemed to have been finally upgraded to 10.4. However after reboot the display was broken, which is why it's taken me so long to get back to this.

Revision history for this message
Matt Wilkie (maphew) wrote :

3 additional times update-manager said a partial upgrade was recommended. I answered yes, and it installed and removed some stuff.

However now whenever I run update-manager it still offers a partial upgrade, but each time I do it stops with "Your system is up to date. There are no upgrades available for your system. The upgrade will now be cancelled".

Revision history for this message
Matt Wilkie (maphew) wrote :

ahh, there were 5 packages held back for some reason (gparted, esound-clients and dependents). I used synaptic to upgrade them manually and now update-manager is happy.

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.