Fedora Linux Support Community & Resources Center
  #1  
Old 19th February 2004, 09:44 PM
rtcary Offline
Registered User
 
Join Date: Feb 2004
Posts: 30
Setting up yum for FC 2

I am relatively new to UNIX/Linux, so yum.conf is not something I fully understand. Is there a sample of how I should setup yum.conf for FC 2?

Todd
  #2  
Old 20th February 2004, 03:18 AM
nbecker Offline
Registered User
 
Join Date: Feb 2004
Posts: 79
Here you go
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
#exactarch=1
exactarch=0

#[fedora-us-1]
#name=Fedora Core 1 -- Fedora US mirror
#baseurl=http://download.fedora.redhat.com/fedora/fedora/1/i386/yum/os

#[fedora-us-1-updates]
#name=Fedora Core 1 updates -- Fedora US mirror
#baseurl=http://download.fedora.redhat.com/fedora/fedora/1/i386/yum/updates

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/os

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/updates

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/updates-testing

#[2.6testkernels]
#name=Test Linux 2.6-test prerelease kernels for RHL9/rawhide
#baseurl=http://people.redhat.com/arjanv/2.5/

[stable]
name=fedora stable
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/stable


#[livna-stable]
#name=Fedora Compatible Packages (livna-stable)
#baseurl=
# http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
#[livna-unstable]
#name=Fedora Compatible Packages (livna-unstable)
#baseurl=
# http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable
#[livna-testing]
#name=Fedora Compatible Packages (livna-testing)
#baseurl=
# http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing
  #3  
Old 20th February 2004, 03:25 AM
Bana Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Austin, Texas
Age: 27
Posts: 581
Argh hehe, you beat me too it.
__________________
http://coolhands.blogspot.com/
binarybana AT gmail.com
  #4  
Old 20th February 2004, 10:16 AM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
is it the same to update from /fedora/1.90/i386/yum/updates/ and /development/i386/ ?

i'm asking cause i found some very fast mirrors for the latter, but all the mirrors for the former i tried are slow
  #5  
Old 20th February 2004, 11:57 AM
nbecker Offline
Registered User
 
Join Date: Feb 2004
Posts: 79
I don't think so
  #6  
Old 20th February 2004, 01:10 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
Re: Setting up yum for FC 2

Quote:
Originally posted by rtcary I am relatively new to UNIX/Linux, so yum.conf is not something I fully understand. Is there a sample of how I should setup yum.conf for FC 2?
Todd
Try these tutorials:
http://fedoranews.org/tchung/howto/2...um-intro.shtml
http://fedoranews.org/tchung/howto/2...um-speed.shtml
http://fedora.artoo.net/faq/#InstallSoftware

Quote:
Originally posted by redhat71
is it the same to update from /fedora/1.90/i386/yum/updates/ and /development/i386/ ?

i'm asking cause i found some very fast mirrors for the latter, but all the mirrors for the former i tried are slow
/development/i386/ is known as "rawhide". It is where all the very latest development packages go before they make it to updates testing then finally updates.

The fedora/1.90 branch is specifically for the test1 releases. It's a devel snapshot at freeze date of rawhide.
  #7  
Old 20th February 2004, 02:21 PM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
Re: Re: Setting up yum for FC 2

Quote:
Originally posted by mhelios
The fedora/1.90 branch is specifically for the test1 releases. It's a devel snapshot at freeze date of rawhide.
i am talking about /fedora/1.90/i386/yum/updates/
UPDATES for 1.90, not 1.90 itself
  #8  
Old 20th February 2004, 02:59 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
redhat71,
Could you post a link to this location you r refer to? I'm unable to find anything like that. There's a test1 directory but that is all I can see:
http://download.fedora.redhat.com/pu...est/1.90/i386/
  #9  
Old 20th February 2004, 06:18 PM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
http://mirrors.kernel.org/fedora.us/...1.90/i386/yum/
  #10  
Old 21st February 2004, 04:08 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
redhat71,
I am quite positive that the packages in:
<mirror>/fedora/1.90/i386/yum/updates
are specifically related to test1 updates and those in:
<mirror>/fedora/development/i386/Fedora/
are for rawhide.

Comparing the two lists showed many packages in /1.90/i386/yum/updates not in /development.
So, they're not interchangeable package repos.
HTH.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
  #11  
Old 21st February 2004, 06:27 AM
rtcary Offline
Registered User
 
Join Date: Feb 2004
Posts: 30
Unresolved packages

I have yum working now (many thanks), but so far there have been two packages with dependencies: gimp-perl & db4-jave. I used the # yum remove gimp-perl, but is this normal? Should there be unresolved dependencies?

Todd
  #12  
Old 21st February 2004, 10:05 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
Yes, it's not uncommon because this is not an end-release channel. The best you can do is remove the conflicting packages (as long as they're not important) and try again. Also, limit the number of repos you add to your yum.conf.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
  #13  
Old 21st February 2004, 10:49 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
Apologies redhat71,
After closer analysis, the <mirror>/fedora.us/fedora/1.90/i386/yum/updates and <mirror>/fedora/development/i386/Fedora/ are actually one and the same.

The fedora.us 1.90 updates are just under different paths than the standard /development location. Probably so people know it's specifically for test1.

So, using either of these repos will produce the same updates, and if you change it back to one of the fast mirrors you found for /development branch, you should be better off.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
  #14  
Old 21st February 2004, 03:17 PM
rtcary Offline
Registered User
 
Join Date: Feb 2004
Posts: 30
<<< Also, limit the number of repos you add to your yum.conf. >>>

Could you give some more details about this? Probably I install too many options for Fedora because it is 8 hours later and yum is still working. Of course my play computer is an old one (I think a 133).

Thansk
  #15  
Old 21st February 2004, 04:43 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
Well, I currently only have fedora.us and Livna.org repos in my yum.conf. I have been able to happily use more, but I feel that restricting (extra) rep's to only those that hold the packages you can't find in core/updates/devel is more robust.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
 

Tags
setting, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Users can still connect to internet without setting up the proxy setting wshamroukh Servers & Networking 1 3rd May 2007 09:54 PM
Help on setting up DNS antoni_NT Servers & Networking 18 11th February 2007 01:57 PM
Setting up VPN complete-noobie Servers & Networking 4 22nd June 2006 04:56 AM


Current GMT-time: 01:48 (Saturday, 19-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat