Ask Your Question
1

FC15 yum fedora repo recovery

asked 2014-02-24 14:55:58 -0500

dataglut gravatar image

updated 2014-05-11 13:54:20 -0500

mether gravatar image

I have lost all files under /etc/yum.repos.d/ and need a source or quick method for recovery.

kernel version : 2.6.43.8-1.fc15.i686 / Fedora 15 Lovelock yum version : yum-3.2.29-9.fc15.noarch

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-02-25 03:44:06 -0500

Glenn gravatar image

Try this if possible ...

wget https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/15/Fedorai386/os/Packages/fedora-release-15-1.noarch.rpm

rpm --force -Uvh fedora-release-15.1.noarch.rpm

This should restore all of the original repository files under /etc/yum.repos.d/

edit flag offensive delete link more

Comments

That seemed to do it; apparently I was just referencing the wrong installing package, and the only problem I encountered was with the posted URL missing trailing slash after 15/Fedora and a dependency error which was resolved with --nodeps options.

I appreciate everyone's help on this issue

dataglut gravatar imagedataglut ( 2014-02-25 12:16:15 -0500 )edit

encountered a few more issues:

[root@Beelzebub etc]# yum check
Configuration file /etc/yum/pluginconf.d/blacklist.conf not found
Unable to find configuration file for plugin blacklist
Configuration file /etc/yum/pluginconf.d/refresh-packagekit.conf not found
Unable to find configuration file for plugin refresh-packagekit
Configuration file /etc/yum/pluginconf.d/whiteout.conf not found
Unable to find configuration file for plugin whiteout
Loaded plugins: langpacks, presto
fedora-release-15-1.noarch has missing requires of fedora-release-rawhide = ('0', '15', '1')
yum-3.2.29-9.fc15.noarch is a duplicate with yum-3.2.29-4.fc15.noarch
yum-langpacks-0.2.4-2.fc15.noarch is a duplicate with yum-langpacks-0.2.2-1.fc15.noarch
yum-utils-1.1.31-2.fc15.noarch is a duplicate with yum-utils-1.1.30-2.fc15.noarch
Error: check all

update : reinstalled rawhide successfully

rpm -iUvh https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/15/Fedora/i386/os/Packages/fedora-release-rawhide-15-1.noarch.rpm

update : anaconda-yum-plugins contains all ...(more)

dataglut gravatar imagedataglut ( 2014-02-25 12:26:51 -0500 )edit
0

answered 2014-02-24 16:15:28 -0500

slm gravatar image

updated 2014-02-24 16:15:52 -0500

All the releases that have ever been are available here off of the Fedora Project's website:

Fedora 15 is here:

edit flag offensive delete link more

Comments

I've tried to install yum from one of the packages provide on Fedora Project's archive. What I find is that an rpm does nothing to re-build the original yum files/paths. If I try to run yum I get the following :

CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf
dataglut gravatar imagedataglut ( 2014-02-24 17:34:50 -0500 )edit

Accidental deletion of /etc/yum.conf and /etc/yum.repos.d/ folders. I have since been able to install yum.repos.d/ by forcing rpm install with no dependency check, but still need a way to load the default repos under etc/yum.repos.d/ and yum.conf.

dataglut gravatar imagedataglut ( 2014-02-24 18:15:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-02-24 14:55:58 -0500

Seen: 2,196 times

Last updated: Feb 25 '14