yum in FC3 configuration file
Paul Howarth
paul at city-fan.org
Thu Nov 11 16:11:30 UTC 2004
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.
More information about the fedora-list
mailing list