Bug 143297 - anaconda exits with "TypeError" in findpackageset.py
Summary: anaconda exits with "TypeError" in findpackageset.py
Keywords:
Status: CLOSED DUPLICATE of bug 138485
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-18 10:24 UTC by Jost Langner
Modified: 2017-04-17 17:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-12-18 13:48:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jost Langner 2004-12-18 10:24:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.3)
Gecko/20041027 Firefox/1.0RC1

Description of problem:
Situation: upgrade from fc2 to fc3 by CD. First CD inserted. Media was
successfully checked, means: doesn't have any errors on it.

anaconda starts upgrade until the step "find installed packages" (or
so), then displays an error message (see below) and exits.

(If helpful, I can provide the complete anaconda dump file
"anacdump.txt", but this is more than 1MB, so for this step I send
only the first lines of error messages but not the dump.)

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


How reproducible:
Always

Steps to Reproduce:
1. insert first fc3 CD
2. reboot system
3. follow the installation procedure until error occurs.
    

Additional info:

Traceback (most recent call last):
  File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py",
line 789, in nextClicked
    self.dispatch.gotoNext()
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py",
line 171, in gotoNext
    self.moveStep()
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py",
line 239, in moveStep
    rc = apply(func, self.bindArgs(args))
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/upgrade.py",
line 396, in upgradeFindPackages
    instPath)
  File
"/usr/src/build/475969-i386/install//usr/lib/anaconda/findpackageset.py",
line 149, in findpackageset
    val =
rpm.labelCompare(oevr,(epoch,h[rpm.RPMTAG_VERSION],h[rpm.RPMTAG_RELEASE]))
TypeError: argument 1, item 0 must be string or None, not long

Comment 1 Paul Nasrat 2004-12-18 13:48:45 UTC
Use the updates image here:

http://people.redhat.com/pnasrat/updates-138485.img

Update instructions in:

http://rhlinux.redhat.com/anaconda/updatedisks.html

*** This bug has been marked as a duplicate of 138485 ***


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