LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2004, 08:21 AM   #1
nandish
LQ Newbie
 
Registered: May 2004
Distribution: Fedora core 2
Posts: 14

Rep: Reputation: 0
configure yum to use fedora.us


again sorry if this is a dumb question...

I am trying to configure yum for use with fedora.us

I know that i need to edit the configuration file /etc/yum.conf
but i'm not sure how

this is what I have at the moment:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http ://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http ://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
and i want to add this:
Code:
[fedora-us-2]
  name=Fedora Core 2 -- Fedora US mirror
  baseurl=http ://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora/2/i386/RPMS.os
  [fedora-us-2-updates]
  name=Fedora Core 2 updates -- Fedora US mirror
  baseurl=http ://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora/2/i386/RPMS.updates
  [fedora-us-2-stable]
  name=Fedora Linux (stable) for Fedora Core 2 -- Fedora US mirror
  baseurl=http ://sunsite.informatik.rwth-aachen.de/ftp/pub/Linuxfedora/fedora/2/i386/RPMS.stable
Thanks in advance

Nandish
 
Old 05-21-2004, 09:35 AM   #2
kosh42
LQ Newbie
 
Registered: May 2004
Location: Hampshire, UK
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
Smile Solution...

Well, I opened a terminal window on my desktop, and did:

Code:
su
password
nano -w /etc/yum.conf
Then I copied the text from the Fedora US website (highlight and right click), selected the terminal window and then right click and paste. Ctrl + X to exit, Y to write and then enter...

Worked for me...

Tim
 
Old 05-21-2004, 10:46 PM   #3
nandish
LQ Newbie
 
Registered: May 2004
Distribution: Fedora core 2
Posts: 14

Original Poster
Rep: Reputation: 0
im really not sure what is wrong, could you post your yum.conf file
 
Old 05-23-2004, 10:24 AM   #4
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15
What is the difference between fedora and fedora us?

I was looking at the fedora us site as i wanted to learn how to update the yum config and they explain but i dont know whether those instructions are good for fedora. I chickened out.
I dont know whether upgrading the yum conf file is important anyway. i would like to see a template that i could copy paste
 
Old 05-23-2004, 03:18 PM   #5
kosh42
LQ Newbie
 
Registered: May 2004
Location: Hampshire, UK
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
yum

My yum file goes:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://zeniiia.linux.org.uk/pub/distributions/fedora/linux/core/1/i386/os/
gpgcheck=1 

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://zeniiia.linux.org.uk/pub/distributions/fedora/linux/core/updates/1/i386/ 

[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms

[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
And the Fedora US site is just a load of packages for Fedora that are not the standard Redhat mirrors, such as Totem or XMMS-MP3... Well worth the effort...

Tim
 
Old 05-23-2004, 09:46 PM   #6
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15
ok
so if i replace my yum file with that then it will probably help the situation, right?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Does yum update from Fedora 3 to Fedora 4? Feenix566 Linux - Newbie 1 12-02-2005 11:52 AM
Yum.conf configure help MbowerARA Fedora 2 01-30-2005 09:57 AM
can't get yum or up2date to work. Am accessing via proxy. Tried to configure. pmprichard Linux - Networking 1 01-16-2005 01:09 PM
How do I configure yum for local mirrors yeehi Fedora - Installation 3 11-13-2004 09:45 PM
how to configure yum for more up to date repositories jax8 Linux - Newbie 3 07-30-2004 01:25 AM


All times are GMT -5. The time now is 01:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration