Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 146902 - Harddrive upgrade using DVD image crashes in harddrive.py
Harddrive upgrade using DVD image crashes in harddrive.py
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Depends On:
  Show dependency treegraph
Reported: 2005-02-02 12:14 EST by Orion Poplawski
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-03 16:21:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2005-02-02 12:14:41 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[1000002]);
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):

How reproducible:

Steps to Reproduce:
1.  Try to do a harddrive upgrade with DVD image

Additional info:
Comment 1 Jeremy Katz 2005-02-03 13:41:28 EST
Can you hit 'debug' when this occurs and get the output of

print self.discImages
Comment 2 Orion Poplawski 2005-02-03 14:14:17 EST
Have test system up and running so we can play with this.

(Pdb) print self.discImages
{1: 'FC3-i386-DVD.iso'}
(Pdb) print h
(Pdb) print h[1000002]

Last anaconda log is:
isys.py.mount() - going to mount /tmp/loop3 on /tmp/isomedia
Comment 3 Jeremy Katz 2005-02-03 14:18:13 EST
Hmm, did you run pkgorder and then rerun genhdlist --withnumbers on
your modified tree?
Comment 4 Orion Poplawski 2005-02-03 14:25:58 EST
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.
Comment 5 Jeremy Katz 2005-02-03 15:36:44 EST
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)
Comment 6 Orion Poplawski 2005-02-03 16:21:28 EST
--withnumbers was the key.  I look forward to the day where one
command does everything!  Thanks!

Note You need to log in before you can comment on or make changes to this bug.