Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
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.
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
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 !
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
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.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.