Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

[rhelv5-list] yum repository $releasever variable not working

Nikolas Lam

2008-03-11

Replies:

Author LoginPost Reply
Hi,

I'm trying to use this jpackage repo file

http://www.jpackage.org/jpackage17.repo

I've placed the file in /etc/yum.repos.d/ and chmodded and chconed it.
I've imported the rpm key, however, when I enable the jpackage-rhel
repository and run yum update, I get:
 
Could not retrieve mirrorlist http://www.jpackage.org/jpackage_rhel
\-$releasever_1.7.txt error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: jpackage-rhel

Basically the $releasever variable is not being picked up. I've not
modified the default /etc/yum.conf, so the distroverpkg variable is set
to redhat-release. I've tried setting this to "redhat-release-5Server"
and even "initscripts" but the problem remains.

Regards,

Nik






_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.