[Planetlab-users] Using yum with non-PL repos
Kevin Lai
klai at hp.com
Fri Aug 11 17:35:46 EDT 2006
Hi all,
I think there's a problem with using the yum installed in slices to
download from non-PlanetLab repositories. I was able to work around it,
but I wanted to post here in case it's not a known problem or there is a
better solution.
I tried adding atrpms, freshrpms, and tycoon to /etc/yum.conf and got
some variety of
bash-2.05b# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 2 Base -- PlanetLab Central
Initializing curl...
Updating SSL settings for curl...
Unable to locate ssl cert. (no directory specified), continuing.
Server: Fedora Core 2 Updates -- PlanetLab Central
Server: PlanetLab RPMS -- PlanetLab Central
Server: Third Party RPMS -- PlanetLab Central
Server: Tycoon Release Fedora Core 2 - i386
Updating SSL settings for curl...
Unable to locate ssl cert. (no directory specified), continuing.
curl transfer failed: 7 (Connect failed)
curl transfer failed: 7 (Connect failed)
curl transfer failed: 7 (Connect failed)
curl transfer failed: 7 (Connect failed)
curl transfer failed: 7 (Connect failed)
curl transfer failed: 7 (Connect failed)
retrygrab() failed for:
http://tycoon.hpl.hp.com/~tycoon/dl/fedora/2/i386/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file
http://tycoon.hpl.hp.com/~tycoon/dl/fedora/2/i386/headers/header.info
[Errno 7] HTTP Error (HTTPException):
These repositories work for other FC2, 3, 4, and 5 machines. An example
of how I added a repo to yum.conf is
[tycoon]
name=Tycoon Release Fedora Core $releasever - $basearch
baseurl=http://tycoon.hpl.hp.com/~tycoon/dl/fedora/$releasever/$basearch
gpgcheck=0
The fix I found is to uninstall the PL yum and install the standard yum
for FC2:
http://mirrors.kernel.org/fedora/core/2/i386/os/Fedora/RPMS/yum-2.0.7-1.1.noarch.rpm
I then did "mv yum.conf.rpmsave yum.conf" to restore the configuration
of the PL yum and added the line "exclude=yum" to prevent the PL yum
from being installed over the standard yum.
Presumably, there is a reason why the PL yum is used, which is why I'm
hoping there is a better solution.
Kevin
More information about the Users
mailing list