Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Open VPN on Centos
PostPosted: Sun Aug 30, 2009 11:02 pm 
Offline
Junior Member

Joined: Sun Mar 01, 2009 10:48 am
Posts: 20
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/open ... f.i386.rpm

I get the following error

Quote:
Retrieving http://dag.wieers.com/rpm/packages/open ... 386.rpmrpm
D: ... as /var/tmp/rpm-xfer.OvYS1Z
D: failed to open http://dag.wieers.com/rpm/packages/open ... 386.rpmrpm:
error: skipping http://dag.wieers.com/rpm/packages/open ... 386.rpmrpm - transfer failed - Unknown or unexpected error
Retrieving http://dag.wieers.com/rpm/packages/open ... f.i386.rpm
D: ... as /var/tmp/rpm-xfer.vvgxc9
D: failed to open http://dag.wieers.com/rpm/packages/open ... f.i386.rpm:
error: skipping http://dag.wieers.com/rpm/packages/open ... f.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?


Top
   
 Post subject: Re: Open VPN on Centos
PostPosted: Mon Aug 31, 2009 2:03 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Perhaps rpm doesn't follow HTTP redirects? Following that dag.wieers.com URL redirects me to:
http://rpmforge.sw.be/redhat/el5/en/i38 ... f.i386.rpm

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


Top
   
 Post subject:
PostPosted: Mon Aug 31, 2009 1:24 pm 
Offline
Junior Member

Joined: Sun Mar 01, 2009 10:48 am
Posts: 20
I now get this

Quote:
]# rpm -Uvh http://rpmforge.sw.be/redhat/el5/en/i38 ... f.i386.rpm
Retrieving http://rpmforge.sw.be/redhat/el5/en/i38 ... f.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.


Top
   
 Post subject:
PostPosted: Mon Aug 31, 2009 6:14 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
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"

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Mon Aug 31, 2009 9:01 pm 
Offline
Junior Member

Joined: Sun Mar 01, 2009 10:48 am
Posts: 20
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?


Top
   
 Post subject:
PostPosted: Mon Aug 31, 2009 9:21 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
407 is about correct (that's also what I get on my real CentOS 5.3 machine at home).

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


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


Who is online

Users browsing this forum: No registered users and 4 guests


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