Re: yum.conf for FC3?

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

 



> Eric Tanguy kirjoitti viestissään (lähetysaika sunnuntai, 28.
> marraskuuta 2004 23:58):
>
>> all is fine except with atrpms because i would like to update
>> only some packages from this repo so i this
>> /etc/yum.repos.d/at.repo :
>> [main]
>> includepkgs=mplayer,w32codec
>
> You should not have a [main] section in any .repo file, just one
> [main] in /etc/yum.conf (AFAIK). The includepkgs option should
> be in the section for the appropriate server.
>
>> [at-stable]
>> name=Fedora Core $releasever at-stable
>>baseurl=ftp://mirrors.ftp.sciences.univ-nantes.fr/mirrors/atrpms.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-stable/
>>
>> [at-good]
>> name=Fedora Core $releasever at-good
>>baseurl=ftp://mirrors.ftp.sciences.univ-nantes.fr/mirrors/atrpms.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-good/
>> enabled=0
>> gpgcheck=1
>>
>> But it seems i have to problem or misunderstood :
>> enabled is 0
>
> Just for at-good, it doesn't apply to at-stable.
>
>> and includepkgs=mplayer,w32codec
>
> I guess this gets ignored because it's in the wrong section.
>
Ok thank you it works fine now for update. But i have another question :
how it is possible to bypass these includepkgs lists to install something.
I explain : to update only the packages from at i put these lines to
restrict the packages list : includepkgs=pkg1,pkg2,... but when i want to
install a new package yum need to access the entire package list to
satisfy dependencies so i need to disable this feature. How it is possible
to do that ?
Thanks
Eric




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

  Powered by Linux