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)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux