Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin 

Post new topic Reply to topic
Author Message
PostPosted: Tue May 01, 2012 10:26 pm 
Offline
Senior Member

Joined: Thu Apr 12, 2012 6:26 am
Posts: 62
Location: Earth
Greetings,

I'm trying to set-up a mail server on our Linux on a Linode (with CentOS 6.0 installed) and I am following the instructions here:
http://www.howtoforge.com/virtual-users ... 6.2-x86_64
The server will handle mails for multiple domains (Apache virtual hosts have already been created).

However, when I get to the step in which I issue the command
yum groupinstall 'Development Tools' I get the following error message:

Error: Package: git-1.7.10-1.el5.rf.i386 (rpmforge)
Requires: libcurl.so.3

How can I resolve this?
Any helpful suggestions will be appreciated.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2012 10:55 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1633
Location: Montreal, QC
You appear to be attempting to install a CentOS 5 package on a CentOS 6 system. My guess would be you enabled the wrong repository.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2012 12:12 pm 
Offline
Senior Member

Joined: Thu Apr 12, 2012 6:26 am
Posts: 62
Location: Earth
Thanks @Guzpaz,

but how do you "roll back"..or disable the repository that was enabled in Linux?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2012 1:04 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1633
Location: Montreal, QC
I'm not a CentOS user (I stick to Ubuntu and Debian), so I'm afraid I can't help you with that. I just noticed that the package you're trying to install is for "el5" and not "el6" :)


Top
 Profile  
 
PostPosted: Tue Jun 26, 2012 10:15 am 
Offline

Joined: Tue Jun 26, 2012 10:03 am
Posts: 1
Nice pick up Guspaz! I didnt see the el5 and was scratching my head for a while. I have the exact same issue. Now sure if OP has solved this or not, but for those who stumble to this page (it was top in google search for me), you can change the repo for RHEL/CENTOS 5 to 6 in /etc/yum.repos.d
For me, I was running Centos 6.2 (cat /etc/redhat-release to find yours) and for some silly reason all my repos were for 5!!
Anyway, a quick bit of code to fix this up is below. It simply replaces el5 for el6 in all the files in that dir. Make sure you run it in /etc/yum.repos.d

Code:
for FILE in *; do mv $FILE $FILE.old; sed 's/el5/el6/g' $FILE.old > $FILE; done


Once done you can remove the *.old files if you dont need them as backups.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS
Powered by phpBB® Forum Software © phpBB Group

Home | Manager | Contact Us | Jobs | Terms of Service | Privacy Policy | ™ © 2003-2012 Linode, LLC. All rights reserved.