Re: yum in FC3 configuration file

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

 



Paul Howarth wrote:
Wong Kwok-hon wrote:

Would someone post a yum.conf for me?
Because seem that the yum in FC3 is changed and I don't know how to do
because I am still using FC2's yum.conf.
Is it still work ??


yum configuration has changed for FC3. There is a generic /etc/yum.conf file that you use to set options that will apply to all repositories (like the "main" section in FC2 yum.conf), and then separate files in the /etc/yum.repos.d for each repository. So, to convert from FC2, split your existing yum.conf into separate files for each repository and put the files in directory /etc/yum.repos.d. Then rename /etc/yum.conf.rpmnew to /etc/yum.conf so set up the defaults. Change distroverpkg in the resulting yum.conf from redhat-release to fedora-release. Everything should then work as before.

Paul.


Paul,
A question please,how do you seperate repo's with FC3 yum previously you simply had files called by 'yum -c <file>' to
prevent distro mixing is this still usable.


  Thanks   david


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

  Powered by Linux