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 82483 - up2date crashes with python error
up2date crashes with python error
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: up2date (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Veillard
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2003-01-22 12:42 EST by Steve Witten
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-23 11:48:26 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 Steve Witten 2003-01-22 12:42:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:

I was advised by RH Support to file this defect report...

As root...

Running 'up2date --configure' yields:

Traceback (most recent call last):
  File "/usr/sbin/up2date", line 11, in ?
    import rpm
ImportError: No module named rpm

Running 'up2date --register' yields:

Traceback (most recent call last):
  File "/usr/sbin/up2date", line 11, in ?
    import rpm
ImportError: No module named rpm

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

How reproducible:

Steps to Reproduce:
See description.

Actual Results:  See description.

Expected Results:  No error should be reported

Additional info:
Comment 1 Mihai Ibanescu 2003-01-22 12:50:37 EST
What is
rpm -q rpm-python


Also, what version of Red Hat Linux are you using?
Comment 2 Steve Witten 2003-01-22 12:52:35 EST
See RH Support ticket # 225471.  Since I have no RHN, I need a way to get these
fixes without RHN.
Comment 3 Steve Witten 2003-01-22 12:53:30 EST
stevewi@sw722142:~ $ rpm -q rpm-python
Comment 4 Steve Witten 2003-01-22 12:53:46 EST
RH 8.0 Personal
Comment 5 Adrian Likins 2003-01-22 14:19:48 EST
Whats the ouput of:

rpm -V rpm-python


rpm -V up2date


rpm -q rpm
rpm -V rpm

Haven't seen this error before, and since it looks pretty
serious right off the bat, I'm thinking there is something
wrong with your install (possibly rpm or rpm-python didn't
get installed somehow...). So going down that path first...
Comment 6 Steve Witten 2003-01-22 16:45:23 EST
stevewi@sw722142:~ $ rpm -V rpm-python
Unsatisfied dependencies for rpm-python-4.0.4-7x.18: rpm = 4.0.4, popt = 1.6.4
stevewi@sw722142:~ $ rpm -V up2date
SM?....T c /etc/sysconfig/rhn/up2date
..?..... c /etc/sysconfig/rhn/up2date-keyring.gpg
SM5....T   /usr/share/rhn/up2date_client/config.pyc
stevewi@sw722142:~ $ rpm -q rpm
stevewi@sw722142:~ $ rpm -V rpm
....L...   /usr/lib/rpm/athlon-linux
....L...   /usr/lib/rpm/i386-linux
S.5.....   /usr/lib/rpm/i386-linux/macros
....L...   /usr/lib/rpm/i486-linux
....L...   /usr/lib/rpm/i586-linux
....L...   /usr/lib/rpm/i686-linux
....L...   /usr/lib/rpm/noarch-linux
Comment 7 Adrian Likins 2003-01-22 17:43:44 EST

stevewi@sw722142:~ $ rpm -q rpm-python

Thats the wrong version of rpm-python. Thats a version
for the 7.x series. I missed that before.

Not sure how that version got on there, but you need


You can get it from: 

Was this system an upgrade from a 7.x box? Something odd happened
at some point, and you got an older version of rpm-python installed. 

Comment 8 Steve Witten 2003-01-22 18:19:22 EST
This was an upgrade from RH 7.3.  I installed the package you mention and all
seems to be right with up2date.  Thanks a lot.  BTW, I like the Bluecurve stuff
a lot...
Comment 9 Josef Komenda 2003-01-23 11:48:26 EST
Fixed, closing. 

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