yum problem

Kevin J. Cummings cummings at kjchome.homeip.net
Wed Sep 5 16:19:18 UTC 2007


François Patte wrote:
> Bonjour,
> 
> I have a problem with yum. Here is my config file for repo atrpms:
> 
> [atrpms]
> name=Atrpms
>      baseurl=http://dl.atrpms.net/fc6-i386/atrpms/stable
> enabled=0
> gpgcheck=1

I was comparing your entry to mine:

> name=Fedora Core $releasever - $basearch - ATrpms
> baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
> gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
> gpgcheck=1
> enabled=1

and I noticed:
1)  mine uses the $releasever and $basearch variables.  Not a big deal
and shouldn't cause you problems until you update to Fedora 7
2)  I don't think the baseurl line should be indented.  I think that any
further urls after the 1st one listed should be indented, but not the
baseurl line itself.
3)  You might want the gpgkey specified (if you haven't loaded it
already) so that it knows where to find it if you ever do load anything
from ATRpms since you have gpgcheck enabled.

I hope this helps!

> Then I execute the command
> 
> yum --enablerepo=atrpms install something
> 
> I get this message:
> 
> Loading "installonlyn" plugin
> Running "config" handler for "installonlyn" plugin
> 
> 
> Cannot find a valid baseurl for repo: atrpms
> 
> 
> Take any browser and go to the address given and there is absolutely no
> problem... This address is valid.
> 
> What's wrong?
> 
> Thank you
> 
> --
> François Patte
> UFR de mathématiques et informatique
> Université Paris Descartes
> http://www.math-info.univ-paris5.fr/~patte

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)




More information about the fedora-list mailing list