[Yum] One problem solved, another cropped up
Fred
fredn1 at gmx.de
Mon Nov 22 18:02:41 UTC 2004
Hi Kevin,
> Well as I thought, I managed to make a big mistake, and screwed up
> Yum's config file. Any ideas on how to get it back to the normal way?
> I tried to download and install a version of Yum, ...
1. rpm -ev yum
2. remove or rename /etc/yum.conf,
and, for yum 2.1.x, the directory /etc/yum-conf.d
3. rpm -ivh <path to mounted fedora install cd>/Fedora/RPMS/yum\*.rpm
4. edit the reinstalled config file(s) to suit your needs.
if you don't have a CD just download the appropriate rpm manually
(for Fedora Core 2, I think you said) from, for example:
http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/2/yum/yum-2.0.7-3.1.fc.fr.noarch.rpm
Or you could just recreate the config file(s) - see for example:
http://svn.rpmforge.net/svn/trunk/rpms/yum/yum-fd.conf
The Official version for Fedora Core 2 is yum.2.0.7,
or if you're feeling more confident, try the 2.1.x Branch, which is
nearly feature complete - thanks again seth!
http://www.linux.duke.edu/projects/yum/download.ptml
But please do RRTFM (see rpm -q -d yum):
man yum
man yum.conf
Fred.
More information about the Yum
mailing list