Tuesday, July 2, 2013

Solving python-nose depsolving problems using yum

If you have this error below, it is because somehow yum is not able to download and install python-nose package. To resolve it, download manually python-nose package from a machine which is able to. The machine just name a internet connection and of course have the CentOS base repository enabled.

python-nose-0.11.3-2.el5.noarch from epel has depsolving problems
  --> Missing Dependency: python-setuptools is needed by package python-nose                  1.3-2.el5.noarch (epel)
Error: Missing Dependency: python-setuptools is needed by package python-nos                  11.3-2.el5.noarch (epel)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Do a yumloader python. For more information on  yumloader, do look at Using yum to download the rpm package that have already been installed
# yumdownloader python-setuptools

Next do a rpm install
# rpm -Uvh python-setuptools-0.6c5-2.el5.noarch.rpm
warning: python-setuptools-0.6c5-2.el5.noarch.rpm: Header V3 DSA signature: 
NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:python-setuptools      ########################################### [100%]

Now you can do a normal yum install 

No comments: