Bug 8731

Summary: up2date broken on 6.2beta2/x86
Product: [Retired] Red Hat Linux Reporter: Bill Bradford <mrbill>
Component: up2dateAssignee: Preston Brown <pbrown>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-28 16:32:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill Bradford 2000-01-21 23:05:24 UTC
[mrbill@area51 mrbill]$ up2date

(here it asked me for root's pw in a pop-up window)

Traceback (innermost last):
  File "/usr/sbin/up2date", line 118, in ?
    from gui import Gui
  File "/usr/share/up2date/gui.py", line 10, in ?
    from client import Client
  File "/usr/share/up2date/client.py", line 12, in ?
    from rpmdb import *
  File "/usr/share/up2date/rpmdb.py", line 19, in ?
    from package import *
  File "/usr/share/up2date/package.py", line 24, in ?
    import rpm
ImportError: No module named rpm

And, if I try to run it as root, same thing:

[root@area51 /root]# export DISPLAY=localhost:0
[root@area51 /root]# up2date
Traceback (innermost last):
  File "/usr/sbin/up2date", line 118, in ?
    from gui import Gui
  File "/usr/share/up2date/gui.py", line 10, in ?
    from client import Client
  File "/usr/share/up2date/client.py", line 12, in ?
    from rpmdb import *
  File "/usr/share/up2date/rpmdb.py", line 19, in ?
    from package import *
  File "/usr/share/up2date/package.py", line 24, in ?
    import rpm
ImportError: No module named rpm

Comment 1 Preston Brown 2000-02-28 16:32:59 UTC
you need to install the rpm-python module.