RE: Yum and Up2date broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







> I just updated from Fedora core 1 to Fedora Core 2 using Yum.
>
> Yum is now broken:
>
> error =
>
> [root@localhost root]# yum
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 6, in ?
>     import yummain
>   File "/usr/share/yum-cli/yummain.py", line 23, in ?
>     import yum
>   File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 20, in ?
>     import rpm
> ImportError: No module named rpm
>
> Up2date is broken =
>
> [root@localhost root]# up2date
> Traceback (most recent call last):
>   File "/usr/sbin/up2date", line 11, in ?
>     import rpm
> ImportError: No module named rpm
>
> What do I have to do to fix this?

Do you have the rpm-python package installed?

Paul.

Here is the results from the rpm -qi

Name        : rpm-python                   Relocations: (not relocateable)
Version     : 4.2.1                             Vendor: Red Hat, Inc.
Release     : 0.30                          Build Date: Thu 17 Jul 2003
10:47:16 PM EDT
Install Date: Thu 04 Mar 2004 12:48:45 PM EST      Build Host:
daffy.perf.redhat.com
Group       : Development/Libraries         Source RPM:
rpm-4.2.1-0.30.src.rpm
Size        : 211145                           License: GPL
Signature   : DSA/SHA1, Tue 28 Oct 2003 06:45:04 PM EST, Key ID
b44269d04f2a6fd2
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : Python bindings for apps which will manipulate RPM packages.

Brian


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 10/29/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 10/29/2004


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux