Ask Your Question
0

Restore fedora 25 repos

asked 2017-02-12 05:03:12 -0500

lynob gravatar image

Rawhide was causing troubles, so I decided to remove it, I backed up my original repo list names. The original repo list looked like that

fedora-cisco-openh264.repo   rpmfusion-free.repo
fedora-rawhide.repo          rpmfusion-free-updates.repo
fedora.repo                  rpmfusion-free-updates-testing.repo
fedora-spotify.repo          rpmfusion-nonfree-rawhide.repo
fedora-updates.repo          rpmfusion-nonfree.repo
fedora-updates-testing.repo  rpmfusion-nonfree-updates.repo
google-chrome.repo           rpmfusion-nonfree-updates-testing.repo
rpmfusion-free-rawhide.repo

I removed few of them, thinking that by removing rawhide and testing repos, my system would only search for stable packages. By removing, I mean that I did rm /etc/yum.repos.d/repo and then dnf clean all, no other commands. My new repo list is:

fedora-cisco-openh264.repo  rpmfusion-free-updates.repo
fedora.repo                 rpmfusion-free-updates-testing.repo
fedora-spotify.repo         rpmfusion-nonfree-rawhide.repo
fedora-updates.repo         rpmfusion-nonfree.repo
google-chrome.repo          rpmfusion-nonfree-updates.repo
rpmfusion-free.repo         rpmfusion-nonfree-updates-testing.repo

Now, I can't do sudo dnf update, nor sudo dnf reinstall fedora-release. I get this error Error: Failed to synchronize cache for repo 'fedora'kB/s | 491 kB 41:01 ETA

My questions are:

  • Which repo I need to restore and how to restore it?
  • Are there any testing repos I can safely remove?
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-12 17:01:46 -0500

alh54 gravatar image

Download this package and install it manually.

rpm -Uvh fedora-repos-25-1.noarch.rpm
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-02-12 05:03:12 -0500

Seen: 720 times

Last updated: Feb 12 '17