Re: yum problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



François Patte wrote:
> Kevin J. Cummings a écrit :
>>> 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
> 
> No, I have changed this to "hard code" the address to fit my system in
> case of variables cause a problem.

But it will become a problem when you upgrade to another version of the
distribution (or change architectures).  It will become necessary to
edit this file again to have it work correctly for you then.  Whereas,
if you parameterize them now, the variables will continue to work for
you even after.  Most REPO maintainers go to great length to ensure that
this works correctly for this very reason.  And the variables are a
feature of YUM, not the repos.

>>> 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.
> 
> That's the problem! No indentation solves it.
> 
> Thank you, I was thinking that blank spaces had no influence in config
> files...;
> 
>>> 3)  You might want the gpgkey specified (if you haven't loaded it
>>> already)
> 
> It is already loaded.
> 
>>> I hope this helps!
> 
> It does!

Glad to be able to help.

> --
> François Patte
> UFR de mathématiques et informatique
> Université Paris Descartes
> http://www.math-info.univ-paris5.fr/~patte

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux