[Yum] Updated to Python 2.4 and Yum 2.4.0, Fedora Core 3, get "No module named urlgrabber"

Keith Christian keithchristian at yahoo.com
Tue Nov 29 21:59:35 UTC 2005


Hi Folks,

Running a Fedora Core 3 system and wanted to update Yum to 2.4.0.  After
several downloads, I arrived at finally being able to update Yum.

However, Yum now throws an error even after I've installed the requested
software (Python 2.4 from the Python 2.4 repository, etc.)

Any ideas?  I'm sure that there is simply a misconfiguration where Yum is
using the old Python 2.3 files instead of the just-install Python 2.4 files.

Thanks.

=========Keith



[keith at jupiter ~]$ sudo cat /etc/yum.repos.d/python24.repo
[python24]
name=Fedora Core $releasever - $basearch - Python 2.4
baseurl=http://www.python.org/ftp/python/2.4/rpms/fedora-$releasever/
enabled=1
gpgcheck=1




[keith at jupiter ~]$ sudo rpm -Uvh
/var/download/python24-urlgrabber-2.9.6-3.py24.noarch.rpm
warning: /var/download/python24-urlgrabber-2.9.6-3.py24.noarch.rpm: V3 DSA
signature: NOKEY, ke y ID 4ad653e1
Preparing...                ########################################### [100%]
   1:python24-urlgrabber    ########################################### [100%]





[keith at jupiter ~]$ sudo rpm -Uvh
/var/download/python24-urlgrabber-2.9.6-3.py24.noarch.rpm warning:
/var/download/python24-urlgrabber-2.9.6-3.py24.noarch.rpm: V3 DSA signature:
NOKEY, ke y ID 4ad653e1
Preparing...                ########################################### [100%]
        package python24-urlgrabber-2.9.6-3.py24 is already installed





[keith at jupiter ~]$ sudo rpm -Uvh
/usr/src/redhat/RPMS/noarch/yum-2.4.0-1.noarch.rpm Preparing...               
########################################### [100%]
   1:yum                    warning: /etc/yum.conf created as
/etc/yum.conf.rpmnew
########################################### [100%]




[keith at jupiter ~]$ yum --version
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named urlgrabber

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Oct 26 2004, 16:42:40)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]

If you cannot solve this problem yourself, please send this
message to <yum at lists.linux.duke.edu>.





More information about the Yum mailing list