Bug 507167

Summary: Error during preupgrade Fedora10->11, x86_64: ImportError: No module named dumpMetadata
Product: [Fedora] Fedora Reporter: Marina Kalinin <mkalinin>
Component: preupgradeAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-23 10:20:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Software Source none

Description Marina Kalinin 2009-06-21 12:40:22 UTC
Description of problem:
Error during preupgrade Fedora10->11, x86_64: ImportError: No module named dumpMetadata

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run next on the terminal:
       >yum clean all
       >yum install preupgrade
       >preupgrade
2. The GUI screen will appear and got stuck on the last step "Prepare and test upgrade".
3. On the terminal you can see next error:
Generating metadata for preupgrade repo
Traceback (most recent call last):
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 238, in on_assistant_apply
    self._do_main()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 257, in _do_main
    self.main_preupgrade()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 545, in main_preupgrade
    callback=MDGenCallback(pbar=self.progress))
  File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 651, in generate_repo
    misc.generate_repodata(dir,comps,callback)
  File "/usr/lib/python2.5/site-packages/preupgrade/misc.py", line 127, in generate_repodata
    from dumpMetadata import MDError
ImportError: No module named dumpMetadata

  
Actual results:
The system is not upgraded and stuck with the error above.

Expected results:
Terminate the step on the GUI, ask to reboot and upgrade to Fedora 11.

Additional info:

Comment 1 Will Woods 2009-06-22 14:23:08 UTC
This can happen if you somehow manage to get preupgrade installed without its dependencies. Run:

package-cleanup --problems

as root and it should notice the missing dependencies and install them for you.

How did you install preupgrade? Did you install your F10 system with the Updates repo enabled?

Comment 2 Marina Kalinin 2009-06-23 08:34:58 UTC
Created attachment 349060 [details]
Software Source

Comment 3 Marina Kalinin 2009-06-23 08:45:46 UTC
1. I'll try the --problems option.
2. My steps for F11 upgrade:
- yum clean all
- yum install preupgrade
- preupgrade
3.F10 is installed from scratch. Please see the attached screenshot of the repositpries chosen.

Comment 4 Marina Kalinin 2009-06-23 10:20:11 UTC
After running recommended steps above and redownloading preupgrade, the upgrade succeeded.