FYI: Workaround for today's FC5 baseurl/mirrorlist problems

Tony Nelson tonynelson at georgeanelson.com
Wed Oct 25 20:40:39 UTC 2006


At 12:27 PM -0500 10/25/06, Les Mikesell wrote:
>On Wed, 2006-10-25 at 22:13 +0530, Rahul Sundaram wrote:
 ...
>> Yum doesnt connect to the repository everytime. Only if the metadata
>> expires which is a configurable setting. If you want to run from cache
>> you can also use yum -C <operation>. You might want to try out Yum 3.0
>> in FC6.
>
>Sorry - I have trouble keeping up with programs whose options change
>wildly from version to version.

Fortunately, yum is not one of them.

>I'd need a cheat sheet to know which
>machine does/doesn't work that way.  Here's a fairly up to date FC5:
># yum -C update
>Loading "downloadonly" plugin
>Loading "installonlyn" plugin
>Setting up Update Process
>Setting up repositories
>core
>[1/6]
>Cannot find a valid baseurl for repo: core
>Error: Cannot find a valid baseurl for repo: core

This is from a strange flaw in yum, which I haven't tried to track down,
that it always hits the servers even when the cache is up-to-date and will
be used.  Since you are bothered by it, you may file a bug.  In the
meantime, several workarounds are available, including just changing the
repo files to use the baseurl instead of the mirrorlist.
-- 
____________________________________________________________________
TonyN.:'    The Great Writ     <mailto:tonynelson at georgeanelson.com>
      '      is no more.             <http://www.georgeanelson.com/>




More information about the users mailing list