LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2015, 06:19 PM   #1
dragon2309
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 1
Question OpenVPN - Dependencies Issues


Good evening all, my knowledge of Linux is "average" so you may have to bare wth me on some of the more advanced parts.

I have found myself in need of a private VPN, without ties to another company. Naturally, openvpn came to mind. I'm currently running CentOS6.5 x64. This is a new installation, after securing the server and locking it down, I am finding it dificult to continue with the OpenVPN installation.

To begin with:

Code:
[root@localhost ~]# rpm -ivh ftp://fr2.rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/openvpn-2.2.2-1.el6.rf.x86_64.rpm
Retrieving ftp://fr2.rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/openvpn-2.2.2-1.el6.rf.x86_64.rpm
error: Failed dependencies:
        liblzo2.so.2()(64bit) is needed by openvpn-2.2.2-1.el6.rf.x86_64
        libpkcs11-helper.so.1()(64bit) is needed by openvpn-2.2.2-1.el6.rf.x86_64
Ok, fairly sure those would have been installed, however:
Code:
[root@localhost ~]# find / -name liblzo*
/usr/lib/liblzo2.so.2.0.0
/usr/lib/liblzo2.so.2
Not present in lib64... And nothing found at all for the libpkcs11-helper.so.1 library.

So install them right?
Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/p/pkcs11-helper-1.11-3.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/p/pkcs11-helper-1.11-3.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.GfRPd1: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
Preparing...                ########################################### [100%]
   1:pkcs11-helper          ########################################### [100%]
Good.

Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/l/lzo-2.08-3.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/l/lzo-2.08-3.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.VqAirg: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
error: Failed dependencies:
        libc.so.6(GLIBC_2.14)(64bit) is needed by lzo-2.08-3.fc21.x86_64
Not Good. Chasing dependencies time..

Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-2.20-5.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-2.20-5.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.Yysequ: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
error: Failed dependencies:
        glibc-common = 2.20-5.fc21 is needed by glibc-2.20-5.fc21.x86_64
And again

Code:
[root@localhost lib64]# rpm -ivh ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-common-2.20-5.fc21.x86_64.rpm
Retrieving ftp://195.220.108.108/linux/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/glibc-common-2.20-5.fc21.x86_64.rpm
warning: /var/tmp/rpm-tmp.hMFof3: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
error: Failed dependencies:
        /usr/bin/bash is needed by glibc-common-2.20-5.fc21.x86_64
        glibc = 2.20-5.fc21 is needed by glibc-common-2.20-5.fc21.x86_64
        libc.so.6(GLIBC_2.14)(64bit) is needed by glibc-common-2.20-5.fc21.x86_64
        libc.so.6(GLIBC_2.15)(64bit) is needed by glibc-common-2.20-5.fc21.x86_64
Okay, this isnt normal. "/usr/bin/bash is needed by glibc-common" what? And its dependency is glibc, the thing that was attempted installation before this but said that glibc-common was a dependency of that.

I must be missing something obvious, but my tired eyes cant see it and it's doing my head in. This shouldnt even be a problem, it should just install lol.

Running kernel version - 2.6.32-504.3.3.el6.x86_64
Although its just occured to me I ran a yum update not long ago:
Code:
[root@localhost lib64]# cat /etc/*-release
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
So I'm now running 6.6 Final... I didnt realise it had updated to 6.6. However that shouldnt change this installation procedure. Little help guys?

Thanks, Dave.
 
Old 01-07-2015, 06:40 PM   #2
dragon2309
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 1
Ugh, ignore me..

EPEL added and enabled and yum can now find the x86_64 openvpn.

Problem solved.
 
Old 01-07-2015, 06:41 PM   #3
dragon2309
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 1
Just incase anyone is reading this thread at a later date, and is frustrated by my lack of information in my previous post. Here:

Code:
[root@localhost lib64]# ls /etc/yum.repos.d/
CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-fasttrack.repo  CentOS-Media.repo  CentOS-Vault.repo  mirrors-rpmforge  mirrors-rpmforge-extras  mirrors-rpmforge-testing  rpmforge.repo
[root@localhost lib64]# rpm -Uvh http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.9qN5aY: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@localhost lib64]# yum --enablerepo=epel search openvpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                                                                         |  28 kB     00:00
 * base: mirror.vtti.vt.edu
 * epel: www.mirrorservice.org
 * extras: mirror.vtti.vt.edu
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.vtti.vt.edu
epel                                                                                                                                                                                                                  | 4.4 kB     00:00
epel/primary_db                                                                                                                                                                                                       | 6.4 MB     00:12
epel/pkgtags                                                                                                                                                                                                          | 1.3 MB     00:01
=========================================================================================================== N/S Matched: openvpn ============================================================================================================
NetworkManager-openvpn.x86_64 : NetworkManager VPN plugin for OpenVPN
openvpn-auth-ldap.x86_64 : OpenVPN plugin for LDAP authentication
eurephia.x86_64 : An advanced and flexible OpenVPN user authentication plug-in
stonevpn.noarch : Easy OpenVPN certificate and configuration management
openvpn.x86_64 : secure tunneling daemon

  Name and summary matches only, use "search all" for everything.
[root@localhost lib64]# yum --enablerepo=epel install openvpn.x86_64
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.vtti.vt.edu
 * epel: mirrors.coreix.net
 * extras: mirror.vtti.vt.edu
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.vtti.vt.edu
Resolving Dependencies
--> Running transaction check
---> Package openvpn.x86_64 0:2.3.6-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                  Arch                                                    Version                                                        Repository                                             Size
=============================================================================================================================================================================================================================================
Installing:
 openvpn                                                  x86_64                                                  2.3.6-1.el6                                                    epel                                                  415 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install       1 Package(s)

Total download size: 415 k
Installed size: 921 k
Is this ok [y/N]: y
Downloading Packages:
openvpn-2.3.6-1.el6.x86_64.rpm                                                                                                                                                                                        | 415 kB     00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
 Userid : EPEL (6) <epel@fedoraproject.org>
 Package: epel-release-6-8.noarch (installed)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
lzo-2.06-1.el5.rf.x86_64 is a duplicate with lzo-2.03-3.1.el6_5.1.i686
  Installing : openvpn-2.3.6-1.el6.x86_64                                                                                                                                                                                                1/1
  Verifying  : openvpn-2.3.6-1.el6.x86_64                                                                                                                                                                                                1/1

Installed:
  openvpn.x86_64 0:2.3.6-1.el6

Complete!
[root@localhost lib64]#
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN Setup Issues metallica1973 Linux - Networking 6 10-11-2010 07:52 AM
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 03:42 AM
OpenVPN issues on CentOS 4.7 sseeker Linux - Server 1 01-31-2009 07:50 PM
OpenVPN Subnet Issues richinsc Linux - Security 5 04-06-2007 07:41 PM
openVPN and routing issues mdkelly069 Linux - Networking 0 07-12-2004 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration