Linode Forum Index Linode Forum
Linode Community Forums
 


Open VPN on Centos

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
Xenshine



Joined: 01 Mar 2009
Posts: 20

Posted: Sun Aug 30, 2009 10:02 pm    Post subject: Open VPN on Centos  

I'm having problems installing Open VPN on Centos. It doesn't recognise the package.

I tried to get the rpm by doing the following

rpm -Uvh http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpm

I get the following error

Quote: Retrieving http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpmrpm
D: ... as /var/tmp/rpm-xfer.OvYS1Z
D: failed to open http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpmrpm:
error: skipping http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpmrpm - transfer failed - Unknown or unexpected error
Retrieving http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpm
D: ... as /var/tmp/rpm-xfer.vvgxc9
D: failed to open http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpm:
error: skipping http://dag.wieers.com/rpm/packages/openvpn/openvpn-1.4.3-0.el5.rf.i386.rpm - transfer failed - Unknown or unexpected error
D: May free Score board((nil))
warning: u 0x808efb8 ctrl 0x808fdd0 nrefs != 0 (dag.wieers.com http)
[root@li64-42 etc]#


What am I doing wrong?
Back to top  
Vance



Joined: 18 Jan 2009
Posts: 350

Posted: Mon Aug 31, 2009 1:03 am    Post subject: Re: Open VPN on Centos  

Perhaps rpm doesn't follow HTTP redirects? Following that dag.wieers.com URL redirects me to:
http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/openvpn-1.4.3-0.el5.rf.i386.rpm

You could try that URL instead, or just add Dag's repository to Yum and install the package with yum install openvpn.
Back to top  
Xenshine



Joined: 01 Mar 2009
Posts: 20

Posted: Mon Aug 31, 2009 12:24 pm    Post subject:  

I now get this

Quote: ]# rpm -Uvh http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/openvpn-1.4.3-0.el5.rf.i386.rpm
Retrieving http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/openvpn-1.4.3-0.el5.rf.i386.rpm
error: Failed dependencies:
liblzo.so.1 is needed by openvpn-1.4.3-0.el5.rf.i386


*sighs*

I never had this problem with debian. Why is Centos so much harder?

I'll try adding dag's repository.
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 565

Posted: Mon Aug 31, 2009 5:14 pm    Post subject:  

Repositories are the correct way to go because that's how you get dependency fullfillment. I'm not an expert at Debian, but I believe that "rpm" is the equivalent of "dpkg" and "yum" is close to "apt"
Back to top  
Xenshine



Joined: 01 Mar 2009
Posts: 20

Posted: Mon Aug 31, 2009 8:01 pm    Post subject:  

Thanks for your help everyone. I've now got Open VPN installed. :D :D

Just a quick question though. I got this message when I ran "yum check-update"

Quote: Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be
* base: mirror.skiplink.com
* updates: centos.mirror.nac.net
* addons: www.gtlib.gatech.edu
* extras: mirror.trouble-free.net
rpmforge | 1.1 kB 00:00
primary.xml.gz | 3.5 MB 00:01
rpmforge 9604/9604
407 packages excluded due to repository priority protections


Why are all these packages being excluded? Is this normal? On the centos page it said there may be more than 76 packages excluded, but isn't 407 a little high. Could I have done something wrong?
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 565

Posted: Mon Aug 31, 2009 8:21 pm    Post subject:  

407 is about correct (that's also what I get on my real CentOS 5.3 machine at home).
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1