LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No package "openvpn" in CentOS repo (https://www.linuxquestions.org/questions/linux-newbie-8/no-package-openvpn-in-centos-repo-802839/)

jonaskellens 04-19-2010 07:42 AM

No package "openvpn" in CentOS repo
 
This is on one server :
Code:

bash-3.2# yum search vpn --disablerepo "*" --enablerepo "base"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: archive.cs.uu.nl
======================================================================= Matched: vpn =======================================================================
openswan.x86_64 : Openswan IPSEC implementation
openvpn.x86_64 : Robust and highly flexible VPN daemon

This is on another server (but same installation) :
Code:

-bash-3.2# yum search vpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: ftp.nluug.nl
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
======================================================================= Matched: vpn =======================================================================
openswan.x86_64 : Openswan IPSEC implementation

Repositories :
Code:

-bash-3.2# ls -l
-rw-r--r-- 1 root root 2245 Oct  1  2009 CentOS-Base.repo
-rw-r--r-- 1 root root 2371 Apr  8  2007 CentOS-Base.repo.rpmnew
-rw-r--r-- 1 root root  626 Oct  1  2009 CentOS-Media.repo
-rw-r--r-- 1 root root  622 Apr  8  2007 CentOS-Media.repo.rpmnew

CentOS-Base :
Code:

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

Why can't server 2 find the package "openvpn" through yum ?

knudfl 04-19-2010 02:25 PM

Quite simple : openvpn is in the EPEL repo.
https://fedoraproject.org/wiki/EPEL
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse


And I have no idea, why it looks like it's
in the base repo on the one server.
Unless the EPEL url has been added to that file ?
.....


All times are GMT -5. The time now is 06:42 AM.