Hello
I encountered some difficulties to reinstall yum on centOS 5.5
I searched on google and I found some similar procedures (like http://wiki.openvz.org/Install_yum) which indicate that I need to reinstall manually yum-fastestmirror and yum paquets
Here is what I get when I try to install them:
[code]
[root@test yum]# rpm -Uvh yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
error: dependences required:
yum >= 3.0 is required to yum-fastestmirror-1.1.16-14.el5.centos.1.noarch
[root@test yum]# rpm -Uvh yum-3.2.22-26.el5.centos.noarch.rpm
error: dependences required:
yum-fastestmirror is required to yum-3.2.22-26.el5.centos.noarch
[/code]
So I don't know which paquet I need to install because they depend on each other
Thank you, I got lost with this yum :(
[SOLVED] Yum reinstall problem
Re: Yum reinstall problem
If packages have mutual dependencies you must install them at the same time, with a single command:
[code]
rpm -Uvh yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm yum-3.2.22-26.el5.centos.noarch.rpm
[/code]
[code]
rpm -Uvh yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm yum-3.2.22-26.el5.centos.noarch.rpm
[/code]
Re: Yum reinstall problem
Thank you so much, that's works :)
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] Yum reinstall problem
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Thanks for reporting back. Marking this thread [SOLVED] for posterity.
Please do note that CentOS-5.5 is obsolete, insecure, and unsupported. A "yum update" to get to 5.8 is highly recommended; however, you may first want to read:
[url=http://wiki.centos.org/AdditionalResources/OtherVoices]Other Voices[/url]
[url=http://wiki.centos.org/AdditionalResources/OtherSpins]When CentOS Is Not CentOS[/url]
[url=http://wiki.centos.org/TipsAndTricks/BrokenVserver]Broken Virtual Server[/url]
Thanks for reporting back. Marking this thread [SOLVED] for posterity.
Please do note that CentOS-5.5 is obsolete, insecure, and unsupported. A "yum update" to get to 5.8 is highly recommended; however, you may first want to read:
[url=http://wiki.centos.org/AdditionalResources/OtherVoices]Other Voices[/url]
[url=http://wiki.centos.org/AdditionalResources/OtherSpins]When CentOS Is Not CentOS[/url]
[url=http://wiki.centos.org/TipsAndTricks/BrokenVserver]Broken Virtual Server[/url]