Red Hat Bugzilla – Bug 463433
Preupgrade hangs downloading installer metadata
Last modified: 2014-01-21 18:06:12 EST
Description of problem:
Preupgrade crashes while upgrading to Rawhide from F9 with a traceback and exception, hanging the UI saying "Downloading installer metadata..."
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.$ /usr/bin/preupgrade in console
2.Select rawhide, go through the motions
3.Stare exasperated at the traceback
[xxxxxxx@xxxxxx ~]$ preupgrade
Loaded plugins: refresh-packagekit
No package matched to remove
Traceback (most recent call last):
File "/usr/share/preupgrade/preupgrade-gtk.py", line 198, in on_assistant_apply
File "/usr/share/preupgrade/preupgrade-gtk.py", line 206, in _do_main
File "/usr/share/preupgrade/preupgrade-gtk.py", line 349, in main_preupgrade
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 395, in retrieve_treeinfo
self.instimage = cp.get('stage2', 'instimage')
File "/usr/lib64/python2.5/ConfigParser.py", line 520, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'instimage' in section: 'stage2'
The UI isn't frozen, but stops at "Downloading installer metadata...", with the system tray tooltip reporting 92.5%.
Preupgrade completes, leaving me with a yummy rawhide system
Same issue here when upgrading from Fedora 9 to Rawhide with preupgrade 0.9.3-3.fc9. The problem is that http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/.treeinfo contains only a mainimage option in the [stage2] section, but not an instimage option.
Rawhide drops the instimage entry because we no longer produce them. Current preupgrade doesn't use instimage at all, so this isn't a problem.
preupgrade-0.9.8 or higher will fix this problem. Either fetch packages from koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=63559 (you'll also need the anaconda-yum-plugins package from koji)
or wait for it to hit updates-testing.
*** This bug has been marked as a duplicate of bug 459935 ***