LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2011, 06:48 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
package missing, won;t install dependency?


I get the following error when trying to install openvpn:

Code:
[root@server init.d]# yum install openvpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.i386 0:2.2.0-3.el5.rf set to be updated
--> Processing Dependency: lzo for package: openvpn-2.2.0-3.el5.rf.i386
--> Processing Dependency: liblzo2.so.2 for package: openvpn-2.2.0-3.el5.rf.i386
--> Processing Dependency: libssl.so.6 for package: openvpn-2.2.0-3.el5.rf.i386
--> Processing Dependency: libcrypto.so.6 for package: openvpn-2.2.0-3.el5.rf.i386
--> Processing Dependency: libpkcs11-helper.so.1 for package: openvpn-2.2.0-3.el5.rf.i386
--> Running transaction check
---> Package lzo.i386 0:2.04-1.el5.rf set to be updated
---> Package openssl098e.i686 0:0.9.8e-17.el6.centos set to be updated
---> Package pkcs11-helper.i386 0:1.08-1.el5.rf set to be updated
--> Processing Dependency: libgnutls.so.13 for package: pkcs11-helper-1.08-1.el5.rf.i386
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: pkcs11-helper-1.08-1.el5.rf.i386
--> Finished Dependency Resolution
Error: Package: pkcs11-helper-1.08-1.el5.rf.i386 (rpmforge)
           Requires: libgnutls.so.13(GNUTLS_1_3)
Error: Package: pkcs11-helper-1.08-1.el5.rf.i386 (rpmforge)
           Requires: libgnutls.so.13
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@server init.d]# yum install libgnutls
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
Setting up Install Process
No package libgnutls available.
Error: Nothing to do
[root@server init.d]#
Why is the dependency not installed automatically?
 
Old 12-02-2011, 08:35 AM   #2
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Try a different mirror.

First do a search for that library:

Code:
yum search libgnutls.so.13

If it does not find a package w/library or library itself then try different repo. To see which repositories you are currently able to connect to do a:

Code:
yum repolist
If you need to add another repository then create a new document in the folder:
Code:
/etc/yum.repos.d/
you can name the file whatever you want; however it must end with .repo extension.

Inside document it must have 3 pieces of information:
Code:
[title]
name=hostnameOfServer
baseurl=[ftp/http/file]://pathOfRepository
enabled=1
Then use the repository list command above to verify new mirror ends up in list.

OR --download library online
 
Old 12-02-2011, 06:00 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
If you go to rpm search, click on "advanced RPM search", select CentOS 5 and paste libgnutls.so.13 in the search field, hit enter. You will be taken to a page that tells you which package supplies that library as well as where to get it by clicking on it.
I posted this link to RPM search as it comes in handy when applicable repos are not configured.
 
Old 12-02-2011, 06:15 PM   #4
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 25
Try downloading the rpm from here.

http://pkgs.org/download/libgnutls.so.13(GNUTLS_1_3)

-Sandy
 
Old 12-02-2011, 07:43 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Why is the dependency not installed automatically?
this s why

if the ONLY repo installed and on is rpmforge
you WILL get errors
rpmforge is a bit incompatible with the red hat RHN
yum-priorities and yum-protectbase plugins NEED TO be installed and CONFIGURED !!!

otherwise you can 100% mess up the install

from the output in the first post
you do not have running the red hat ( or cent) base repo, nor the updates repo
BOTH a MUST HAVE !!!

what OS is this ?
RHEL5.7 ?
CentOS 5.7
or Scientific linux 5.7
 
Old 12-02-2011, 08:02 PM   #6
asipper
Member
 
Registered: Oct 2011
Distribution: Fedora 17
Posts: 138

Rep: Reputation: 0
Can't you install the dependencies manually?
 
Old 04-09-2012, 11:09 AM   #7
raj47
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 2
Old thread but i was wondered some one tried the same and got stuck in openvpn on redhat

The same problem with libgnutls.so.13 i was trying to install openvpn in ec2 red-hat v 6.2 image


How do i install this one the rpm link seems to be broken as John VV said how do i configure the protectbase and other stuff?

Please guide me

Thanks
Raj
 
Old 04-09-2012, 04:11 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:

How do i install this one the rpm link seems to be broken as John VV said how do i configure the protectbase and other stuff?
you read the instructions
I do NOT recommend "protectbase" unless you NEED it
" yum-priorities " i do recommend

and for RHEL 6 you might want to do a search of the red hat knowledge base
you DID PAY FOR the required license -- use it

your FIRST stop is the "knowledgebase "
login to red hat and do a search
https://access.redhat.com/knowledge/search
then if you can not find the instructions come back here


if you did not pay for red hat , then do not use it !

for CentOS 6 see the wiki
http://wiki.centos.org/AdditionalResources/Repositories
http://wiki.centos.org/PackageManagement/Yum/Priorities
 
Old 04-09-2012, 11:41 PM   #9
raj47
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 2
Wink

This can be done manually


wget ftp://rpmfind.net/linux/Mandriva/off...8.0.x86_64.rpm

if you are using red-hat 64bit

thanks
Puspharaj
 
Old 04-10-2012, 05:45 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Openvpn for EL6 :

Disable the rpmforge repo, and use the package from the EPEL repo
https://fedoraproject.org/wiki/EPEL

> http://download.fedoraproject.org/pu...6-5.noarch.rpm

( openvpn-2.2.1-1.el6.i686 http://dl.fedoraproject.org/pub/epel...1.el6.i686.rpm )
( openvpn-2.2.1-1.el6.x86_64 http://dl.fedoraproject.org/pub/epel...el6.x86_64.rpm )

.
 
Old 04-10-2012, 05:58 AM   #11
raj47
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 2
knudfl,

I was trying to setup the openvpn server

I got few question on the server.conf on openvpn

Edit /etc/openvpn/server.conf changing the following options to:

local 172.18.100.101
dev tap0
up "/etc/openvpn/up.sh br0"
down "/etc/openvpn/down.sh br0"
;server 10.8.0.0 255.255.255.0
server-bridge 172.18.100.101 255.255.255.0 172.18.100.105 172.18.100.200
push "route 172.18.100.1 255.255.255.0"
push "dhcp-option DNS 172.18.100.20"
push "dhcp-option DOMAIN example.com"
tls-auth ta.key 0 # This file is secret
user nobody
group nogroup

what is my local ip ?

how to use the subnets

thanks
Puspharaj
 
Old 04-10-2012, 06:11 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Sorry, I don't know the application openvpn.

Just this : Do not replace the system gnutls with a random package.
( Your example : A Mandriva package.)
 
Old 04-10-2012, 07:33 AM   #13
raj47
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 2
knudfl,

What will happen if i use different rpm and should uninstall openvpn and remove the rpm then install EPEL repo ?

Thanks
raj
 
Old 04-10-2012, 10:20 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Openvpn can be removed with # yum remove openvpn
Or : # rpm -e openvpn


Installing EPEL : # rpm -Uvh epel-release-6-5.noarch.rpm

About the rpmforge.repo :
Usually I would just move it to a backup folder :
cd /etc/yum.repos.d/ && mkdir rpmforge && mv rpmforge.repo rpmforge/
( Then it won't disturb installs or updates.
And rpmforge packages are not always compatible with epel packages.)

.
 
  


Reply



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
Error: Missing Dependency: python(abi) = 2.4 is needed by package rhnlib etc... punt Linux - Software 8 09-06-2013 08:26 AM
Error: Missing Dependency: libsysfs.so.1 is needed by package iputils MarkEHansen Linux - General 9 09-19-2008 05:54 PM
Error: Missing Dependency: libdts.so.0 is needed by package mplayer slackergeek Fedora 5 06-07-2008 09:20 AM
Package update missing dependency philwynk Linux - Software 2 11-13-2007 02:46 PM
Error: Missing Dependency: libwpd-1.so.7 is needed by package abiword tmick Fedora 9 10-11-2005 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 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