Linode Forum
https://forum.linode.com/

Error setting up postfix: "Requires: libcurl.so.3"
https://forum.linode.com/viewtopic.php?f=11&t=8777
Page 1 of 1

Author:  redhat19 [ Tue May 01, 2012 10:26 pm ]
Post subject:  Error setting up postfix: "Requires: libcurl.so.3"

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.

Author:  Guspaz [ Wed May 02, 2012 10:55 am ]
Post subject: 

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.

Author:  redhat19 [ Wed May 02, 2012 12:12 pm ]
Post subject: 

Thanks @Guzpaz,

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

Author:  Guspaz [ Wed May 02, 2012 1:04 pm ]
Post subject: 

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" :)

Author:  jayklin [ Tue Jun 26, 2012 10:15 am ]
Post subject:  Re: Error setting up postfix: "Requires: libcurl.so.3"

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.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/