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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-02-2011, 06:48 AM
|
#1
|
|
Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 991
Rep:
|
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?
|
|
|
|
12-02-2011, 08:35 AM
|
#2
|
|
Member
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 240
Rep:
|
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:
If you need to add another repository then create a new document in the folder:
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
|
|
|
|
12-02-2011, 06:00 PM
|
#3
|
|
Member
Registered: Apr 2009
Distribution: Debian testing
Posts: 254
Rep:
|
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.
|
|
|
|
12-02-2011, 06:15 PM
|
#4
|
|
Member
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100
Rep:
|
|
|
|
|
12-02-2011, 07:43 PM
|
#5
|
|
Guru
Registered: Aug 2005
Posts: 9,522
|
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
|
|
|
|
12-02-2011, 08:02 PM
|
#6
|
|
Member
Registered: Oct 2011
Distribution: Fedora 17
Posts: 138
Rep:
|
Can't you install the dependencies manually?
|
|
|
|
04-09-2012, 11:09 AM
|
#7
|
|
Member
Registered: Jan 2011
Posts: 47
Rep:
|
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
|
|
|
|
04-09-2012, 04:11 PM
|
#8
|
|
Guru
Registered: Aug 2005
Posts: 9,522
|
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
|
|
|
|
04-10-2012, 05:45 AM
|
#10
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,600
|
|
|
|
|
04-10-2012, 05:58 AM
|
#11
|
|
Member
Registered: Jan 2011
Posts: 47
Rep:
|
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
|
|
|
|
04-10-2012, 06:11 AM
|
#12
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,600
|
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.)
|
|
|
|
04-10-2012, 07:33 AM
|
#13
|
|
Member
Registered: Jan 2011
Posts: 47
Rep:
|
knudfl,
What will happen if i use different rpm and should uninstall openvpn and remove the rpm then install EPEL repo ?
Thanks
raj
|
|
|
|
04-10-2012, 10:20 AM
|
#14
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,600
|
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.)
.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:54 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|