Hi Paul:
The answer to your question is yes. Yum can indeed search through
several mirrors at the same time. So if the yum.conf is written
correctly and hopefully my explanation is clear enough, then it is
possible to enjoy the benefit of letting yum do it's thing and you can
sit back and relax. The awesome thing for me is that by utilizing yum
this way it allows yum to maximize or approach it's potential as a
program and the computer can approach it's usefulness as a tool doing
in seconds or minutes (if you have broadband or something faster) what
otherwise would drive a human being nuts.
I may add more urls in the future to yum.conf; I submitted these just
to be an example that others can be added and discuss as clearly as
possible just how to do that.
Also this method of examining the mirrors first allows you to determine
whether the servers are actually up and ready first before you write or
modify your yum.conf in the first place. The servers you choose may go
down or change in the future but then you can comment it out.
By the way, just as an fun exercise there is an error in one of the
lines commented out. Can you identify the error, determine why that
error will cause problems and that would be?
Ok, that's three questions presented as one. Still, this kind of error
happens all the time. Learn it now and you'll pick up others getting
in your way later.
As for tolerant and the others, you are probably aware that they are
acting as variables for which it is defined for yum that it may
investigate those categories exactly just one time.
As to why specifically they exist, I'll have to do a bit more research
and get back to you. They could of course be commented out, but the
speed savings could be negligible.
Best wishes....
On Jun 18, 2006, at 12:48 AM, Paul Higgins wrote:
Hi,
I'm a little confused as to why there are two baseurls in several of
the
categories (base, updates, etc.) of your yum.conf file. I can see that
several are commented out with a # but there seems to clearly be more
than
one baseurl for several things. Does this simply mean that yum looks
in both
these categories at the same time?
I'm also curious about several of the other lines in your yum.conf
(e.g.
"tolerant, exactarch, obsoletes", etc.).
Here's my yum.conf, which is very straightforward:
----------------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
[base]
name=Yellow Dog Linux 4.0 Base
baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/base/
[updates]
name=Yellow Dog Linux 4.0 Updates
baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/update/
[extras]
name=Yellow Dog Linux 4.0 Extras
baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/extras/
[freshrpms]
name=Fresh rpms
baseurl=http://ayo.freshrpms.net/yellowdog/4.0/ppc/freshrpms/
-----------------
Based on your advice, I take it that I should never point yum to rpms
from YDL
4.0 if I'm using 4.1? Are you aware of rpm repos (other than the
obvious YDL
ones, which are currently down) that have been updated for 4.1 yet?
The
repos I currently have bookmarked are still stuck at YDL 4.0.
-PRH
On Saturday 17 June 2006 21:27, Derick Centeno wrote:
Hi Bob:
I have a different approach regarding yum.conf, if you are willing to
consider it.
First, here is my yum.conf file which I use within YDL 4.1. Yes, it
works very well and it is not broken nor does it point to broken
links,
mirrors or other dead ends:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=yellowdog-release
tolerant=1
exactarch=1
obsoletes=1
[base]
name=Yellow Dog Linux 4.1 Base
baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.1/base/
baseurl=http://ydl.osuosl.org/yum/4.1/base/
#baseurl=http://mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/4.1/
base/
[updates]
name=Yellow Dog Linux 4.1 Updates
baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.1/update/
baseurl=http://ydl.osuosl.org/yum/4.1/updates/
#baseurl=http://mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/4.1/
updates/
[extras]
name=Yellow Dog Linux 4.1 Extras
baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.1/extras/
baseurl=http://ydl.osuosl.org/yum/4.1/extras/
#baseurl=http://http:mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/
4.1/extras/
[update]
name=Yellow Dog Linux 4.1 Update
baseurl=http://ydl.osuosl.org/yum/4.1/update/
#baseurl=http://mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/4.1/
update/
_______________________________________________
yellowdog-newbie mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
_______________________________________________
yellowdog-newbie mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie