Red Hat Bugzilla – Bug 146902
Harddrive upgrade using DVD image crashes in harddrive.py
Last modified: 2007-11-30 17:10:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
Doing a harddrive upgrade from FC2 to FC3 and getting a traceback.
Last line is:
line 155 in readHeaders
if not self.discImages.has_key(h);
TypeError: list objects are unhashable
The harddrive directory contains a single DVD iso image that has
updated packages on it, so this could be a problem with how I built
the image. Another possibility might be that the .discinfo file on
the DVD indicates 4 CDs instead of 1?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to do a harddrive upgrade with DVD image
Can you hit 'debug' when this occurs and get the output of
Have test system up and running so we can play with this.
(Pdb) print self.discImages
(Pdb) print h
(Pdb) print h
Last anaconda log is:
isys.py.mount() - going to mount /tmp/loop3 on /tmp/isomedia
Hmm, did you run pkgorder and then rerun genhdlist --withnumbers on
your modified tree?
Ah, I'm missing --withnumbers. Question: do I need to run genhdlist
before pkgorder as well as aftwards? Some scripts I've seen do this,
but I currently only run it after pkgorder.
Yep, it's two invocations. One of these days, that will change so
that you only have one command to run that does everything (and thus,
hopefully avoid people missing a step)
--withnumbers was the key. I look forward to the day where one
command does everything! Thanks!