LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-04-2008, 04:00 AM   #1
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
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?

Thanks for any input.
 
Old 10-04-2008, 10:15 PM   #2
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
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.

I use this site when setting up a new Fedora install. It has tons of information: http://www.my-guides.net/en/content/view/103/26/

Last edited by BallsOfSteel; 10-05-2008 at 09:05 AM.
 
Old 10-05-2008, 03:10 AM   #3
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231

Original Poster
Blog Entries: 1

Rep: Reputation: 42
Quote:
The Fedora and Fedora-updates repos should be there by default and you can add extra repos like Livna later.
That's more than clear to me.

But what if they're not there?

The rpm for the livna repo is http://rpm.livna.org/livna-release-9.rpm.
Where can I find the rpm for fedora & fedora-updates?
 
Old 10-05-2008, 03:18 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
Old 10-05-2008, 09:03 AM   #5
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
fedora.repo
Code:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
fedora-updates.repo
Code:
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
fedora-updates-newkey.repo
Code:
[updates-newkey]
name=Fedora $releasever - $basearch - Updates Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch.newkey/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever.newkey&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-$basearch

[updates-newkey-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch.newkey/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-$basearch

[updates-newkey-source]
name=Fedora $releasever - Updates Source Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS.newkey/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-$basearch
 
Old 10-08-2008, 08:17 AM   #6
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231

Original Poster
Blog Entries: 1

Rep: Reputation: 42
Thanks a lot, I appreciate it. And sorry for the late reply.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding repositories to YUM? EnVoy Linux - Newbie 1 06-26-2007 11:45 AM
adding repositories on suse 10.1 noorudin SUSE / openSUSE 2 08-30-2006 05:21 AM
Adding repositories behind a proxy guitarboy1016 Ubuntu 5 12-01-2005 03:13 AM
adding extra repositories? KezzerDrix Mandriva 1 04-27-2005 09:55 AM
Adding Apt4RPM Repositories XavierP Linux - Software 2 04-18-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration