Page 1 of 1

[resolved] Open VPN Installation on CentOS 6.2

Posted: Thu May 03, 2012 2:08 am
by testmiss123
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

Re: Open VPN Installation on CentOS 6.2

Posted: Thu May 03, 2012 7:55 am
by maikcat
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.

Re: Open VPN Installation on CentOS 6.2

Posted: Sat May 05, 2012 2:45 am
by testmiss123
Thanks for your help. It worked like a charm.

Re: [resolved] Open VPN Installation on CentOS 6.2

Posted: Tue May 15, 2012 8:43 pm
by rashid47010
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.