[resolved] Open VPN Installation on CentOS 6.2

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Locked
testmiss123
OpenVpn Newbie
Posts: 11
Joined: Wed May 02, 2012 4:00 am

[resolved] Open VPN Installation on CentOS 6.2

Post by testmiss123 » Thu May 03, 2012 2:08 am

Hi,

I tried installing openvpn on CentOS 6.2. But I get the following error. Can some one help me:
[root@ilangko ~]# rpm -Uvh http://download.fedoraproject.org/pub/e ... noarch.rpm
Retrieving http://download.fedoraproject.org/pub/e ... noarch.rpm
warning: /var/tmp/rpm-tmp.2Cq0CP: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
package epel-release-6-5.noarch is already installed
[root@ilangko ~]# yum install openvpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.csclub.uwaterloo.ca
* epel: mirror.itc.virginia.edu
* extras: mirror.csclub.uwaterloo.ca
* rpmforge: mirror.us.leaseweb.net
* updates: mirror.csclub.uwaterloo.ca
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.x86_64 0:2.2.2-1.el5.rf will be installed
--> Processing Dependency: lzo for package: openvpn-2.2.2-1.el5.rf.x86_64
--> Processing Dependency: libpkcs11-helper.so.1()(64bit) for package: openvpn-2.2.2-1.el5.rf.x86_64
--> Processing Dependency: liblzo2.so.2()(64bit) for package: openvpn-2.2.2-1.el5.rf.x86_64
--> Running transaction check
---> Package lzo.x86_64 0:2.06-1.el5.rf will be installed
---> Package pkcs11-helper.x86_64 0:1.08-1.el5.rf will be installed
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3)(64bit) for package: pkcs11-helper-1.08-1.el5.rf.x86_64
--> Processing Dependency: libgnutls.so.13()(64bit) for package: pkcs11-helper-1.08-1.el5.rf.x86_64
--> Finished Dependency Resolution
Error: Package: pkcs11-helper-1.08-1.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13()(64bit)
Error: Package: pkcs11-helper-1.08-1.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13(GNUTLS_1_3)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
After researching I tried:
[root@ilangko ~]# yum -y install gnutls-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.csclub.uwaterloo.ca
* epel: mirror.symnds.com
* extras: mirror.csclub.uwaterloo.ca
* rpmforge: mirror.us.leaseweb.net
* updates: mirror.csclub.uwaterloo.ca
Setting up Install Process
Package gnutls-devel-2.8.5-4.el6_2.2.x86_64 already installed and latest version
Nothing to do
And then tried yum install openvpn and still am getting the same error.
[root@ilangko ~]# yum install openvpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.csclub.uwaterloo.ca
* epel: mirror.itc.virginia.edu
* extras: mirror.csclub.uwaterloo.ca
* rpmforge: mirror.us.leaseweb.net
* updates: mirror.csclub.uwaterloo.ca
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.x86_64 0:2.2.2-1.el5.rf will be installed
--> Processing Dependency: lzo for package: openvpn-2.2.2-1.el5.rf.x86_64
--> Processing Dependency: libpkcs11-helper.so.1()(64bit) for package: openvpn-2.2.2-1.el5.rf.x86_64
--> Processing Dependency: liblzo2.so.2()(64bit) for package: openvpn-2.2.2-1.el5.rf.x86_64
--> Running transaction check
---> Package lzo.x86_64 0:2.06-1.el5.rf will be installed
---> Package pkcs11-helper.x86_64 0:1.08-1.el5.rf will be installed
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3)(64bit) for package: pkcs11-helper-1.08-1.el5.rf.x86_64
--> Processing Dependency: libgnutls.so.13()(64bit) for package: pkcs11-helper-1.08-1.el5.rf.x86_64
--> Finished Dependency Resolution
Error: Package: pkcs11-helper-1.08-1.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13()(64bit)
Error: Package: pkcs11-helper-1.08-1.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13(GNUTLS_1_3)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Open VPN Installation on CentOS 6.2

Post by maikcat » Thu May 03, 2012 7:55 am

hi there,

the package openvpn-2.2.2-1.el5.rf.x86_64 you are trying to setup
is for centos 5 (notice the el5).

did you installed rpmforge as a repo?

the correct file is

openvpn-2.2.1-1.el6.x86_64

cheers,


Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

testmiss123
OpenVpn Newbie
Posts: 11
Joined: Wed May 02, 2012 4:00 am

Re: Open VPN Installation on CentOS 6.2

Post by testmiss123 » Sat May 05, 2012 2:45 am

Thanks for your help. It worked like a charm.

rashid47010
OpenVpn Newbie
Posts: 11
Joined: Tue May 15, 2012 6:13 pm

Re: [resolved] Open VPN Installation on CentOS 6.2

Post by rashid47010 » Tue May 15, 2012 8:43 pm

You can install the openvpn package through below mentioned repository as well.

ADDING THE REPOSITORY FILE

You also need to download a yum repo file so that yum can find these packages:

$ cd /etc/yum.repos.d
$ wget http://repos.openvpn.net/repos/yum/conf ... shots.repo


INSTALLING PACKAGES

In most cases, this is as simple as

$ yum install <packagename>

You need to allow importing the repository's public GPG key when you tells you
to.

Locked