[RH7.3] ImportError: No module named rpm

From: Robert Fitzpatrick (robert_at_webtent.com)
Date: 08/29/03

  • Next message: Jason Dixon: "Re: Ximian Evolution import PST files?"
    To: redhat-list@redhat.com
    Date: 29 Aug 2003 10:18:27 -0400
    
    

    I have an error when running up2date. I found this when receiving RHN's
    notice to update the certificate. I ran up2date prior to installing the
    rpm from RedHat and after, so I believe it was pre-existing. I found
    some notes on the web regarding the need for the rpm-python package, but
    this is what I'm finding on the 7.3 system:

    [root@webtent RedHat]# up2date -u
    Traceback (most recent call last):
      File "/usr/sbin/up2date", line 9, in ?
        import rpm
    ImportError: No module named rpm
    [root@webtent RedHat]# rpm -q rpm-python
    rpm-python-4.0.4-7x.18
    [root@webtent RedHat]# whereis rpm
    rpm: /bin/rpm /etc/rpm /usr/lib/rpm /usr/include/rpm
    /usr/share/man/man8/rpm.8.gz

    -- 
    Robert
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Dixon: "Re: Ximian Evolution import PST files?"

    Relevant Pages

    • Re: Security Announcements & Incremental Patches
      ... > (Exhibit A being shipping the new version of RPM as an RPM. ... FreeBSD is at one polus, RedHat at another, but both has the same sickness: ... another side has no C code compiling skills; /me personally knows a few real ...
      (FreeBSD-Security)
    • Re: exim server is dead in the water
      ... then the rpm IS NOT FOR YOUR DISTRO. ... There is an apt for redhat, but one thing I found out, the apt only works on ... server stuff and going back to what I know, ... Install Debian on one box, use as email server and db server. ...
      (alt.os.linux)
    • RE: up2date upgrade failed dependencies
      ... so i downloaded the up2date and up2date-gnome files from the redhat ... says the most up to date python is 2.2.1-17 which i have [root@whiskey ... jay81]# rpm -q python python-2.2.1-17 so now i'm very confused. ... Subject: RE: up2date upgrade failed ...
      (RedHat)
    • Re: Installing a .hdr file
      ... There is an option to keep downloaded rpm in var spool up2date. ... Once checked copies will be kept along with hdr files. ... I use up2date on Redhat ES to install packages from RedHat. ...
      (RedHat)
    • Re: FreeBSD vs. RedHat
      ... > Usually installing the tarball is the only ... > So many of the RPM distributors are inventing and reinventing new ways ... This usually keeps some of the RPM ... whether it's redhat or freeBSD. ...
      (freebsd-questions)