Traceback (most recent call last): File "/usr/share/preupgrade/preupgrade-gtk.py", line 198, in on_assistant_apply self._do_main() File "/usr/share/preupgrade/preupgrade-gtk.py", line 206, in _do_main self.main_preupgrade() File "/usr/share/preupgrade/preupgrade-gtk.py", line 349, in main_preupgrade self.pu.retrieve_treeinfo() File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 395, in retrieve_treeinfo self.instimage = cp.get('stage2', 'instimage') File "/usr/lib/python2.5/ConfigParser.py", line 520, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'instimage' in section: 'stage2'
I second this. Both with gui (preupgrade) and cli (preupgrade-cli)
I get the same traceback from the GUI (preupgrade-0.9.3-3.fc9.noarch)... retrying with the latest from the BZR repo...
This will only happen if you're attempting to preupgrade to a tree that's got missing (or invalid) .treeinfo. So you're using a bad tree/mirror. You'll want to check on that. I've added a check in the current bzr tree (rev 189) to make sure we handle this error properly. You should get a more useful error message if this happens in the future.
*** Bug 462578 has been marked as a duplicate of this bug. ***
Is it possible to retry then against another mirror? Perhaps fall back to the official one ( http://download.fedoraproject.org/ )?
I have the same issue. I tried pointing yum directly at download.fedoraproject.org, and got the same error again. Is there a better workaround?
also occurs when using mirrors.kernel.org, upgrading from F9 to rawhide using rawhide version of preupgrade. Probably just rawhide broken? I don't see any obvious way to change the mirror that anaconda-preupgrade: uses. Total size: 1.0 G Download packages? Is this ok [y/N]: Traceback (most recent call last): File "/usr/share/preupgrade/preupgrade-cli.py", line 153, in <module> util = PreUpgradeCli() File "/usr/share/preupgrade/preupgrade-cli.py", line 40, in __init__ self.main() File "/usr/share/preupgrade/preupgrade-cli.py", line 106, in main self.retrieve_treeinfo() File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 395, in retrieve_treeinfo self.instimage = cp.get('stage2', 'instimage') File "/usr/lib/python2.5/ConfigParser.py", line 520, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'instimage' in section: 'stage2'
*** Bug 466878 has been marked as a duplicate of this bug. ***
*** Bug 463433 has been marked as a duplicate of this bug. ***
The metadata has changed somewhat since Fedora 9; this is handled in preupgrade-0.9.8 (which is available in updates-testing.)
*** Bug 468710 has been marked as a duplicate of this bug. ***
*** Bug 469006 has been marked as a duplicate of this bug. ***
Using preupgrade 0.9.9 build obtained directly from Koji, I got past this issue.
On November 18, 2008, I've took a Fedora 9 system and tried to upgrade it to Fedora 10 (rawhide) via preupgrade. All F9 online updates were applied prior of upgrading. First phase (downloading) went OK, even it was very slow (there are no rawhide mirrors listed for Romania). After reboot, I've got stuck in a (non-functional) grub prompt; I've used a F9 rescue disk to reinstall grub. After that, upgrade completed OK. (In the last months, I've frequently hit the situation in which a F9 system goes in a grub prompt after online updates, needing grub reinstall with a rescue disk. IMHO, this is not a preupgrade matter, since I was doing regular online updates, via yum, inside the *same version* of the distro - no preupgrade involved. Is this a grub matter ?) Regards, Răzvan
*** Bug 472905 has been marked as a duplicate of this bug. ***