CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  [SOLVED] Yum reinstall problem

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  watoo
      watoo
[SOLVED] Yum reinstall problem
#1
Newbie
Joined: 2012/4/19
From
Posts: 2
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:
[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


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 :(
Posted on: 2012/4/19 9:52
Create PDF from Post Print
Top
  •  markkuk
      markkuk
Re: Yum reinstall problem
#2
Professional Board Member
Joined: 2007/9/7
From Finland
Posts: 643
If packages have mutual dependencies you must install them at the same time, with a single command:
rpm -Uvh yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm yum-3.2.22-26.el5.centos.noarch.rpm
Posted on: 2012/4/19 9:55
Create PDF from Post Print
Top
  •  watoo
      watoo
Re: Yum reinstall problem
#3
Newbie
Joined: 2012/4/19
From
Posts: 2
Thank you so much, that's works :)
Posted on: 2012/4/19 14:45
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [SOLVED] Yum reinstall problem
#4
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
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:

Other Voices
When CentOS Is Not CentOS
Broken Virtual Server
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/19 14:48
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com