Questions about re-adding main repositories and -newkey
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Questions about re-adding main repositories and -newkey
First, I understand that the procedure to add a repository is..
Code:
rpm -hiv <repo_rpm>
rpm --import <repo_keys>
Where can I get the fedora and fedora-updates repository rpms (<repo_rpm>)? What do they contain? Pure metadata about the repository? Also, what is the correct way to remove a repository (not just disabling it in /etc/yum.repos.d/).
Second, what's up with -newkey? This is the first time in two years of using Fedora this has 'popped up'. Logically thinking, the repo keys have changed. Should I remove the old repository from yum and download the right keys for the new (-newkey) repo? If so, where?
Distribution: Fedora mainly, but I am open to others.
Posts: 273
Rep:
All a repo is is a text file pointing where to download files from. Check out /etc/yum.repos.d The Fedora and Fedora-updates repos should be there by default and you can add extra repos like Livna later.
The 'new key' is because, recently, Red Hat systems were hacked into and they changed to the key just as a precautionary measure.
See if they are on the DVD you installed from (look for *.repo). Otherwise, ask someone to post the contents for you and you can copy and paste the contents. I'm not at a Fedora box right now so I can't past them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.