[Yum] Major bug in yum 2.4.1
seth vidal
skvidal at phy.duke.edu
Thu Dec 15 02:47:54 UTC 2005
On Wed, 2005-12-14 at 18:07 -0500, Joshua Jensen wrote:
> I and my team have found what we consider to be a major bug in yum
> 2.4.1. Essentially all you have to do to trigger it is a "yum clean
> metadata", then something like install or even just check-update:
>
> $ sudo yum check-update
> Setting up repositories
> (works fine)
>
> $ sudo yum clean metadata
> Cleaning up xml metadata
> 14 metadata files removed
>
> $ sudo yum -d 10 check-update
> Yum Version: 2.4.1
> COMMAND: yum -d 10
> Installroot: /
> Setting up repositories
> Baseurl(s) for repo: ['http://server/yum/5.00/emergency-install/i386']
> Cannot open/read repomd.xml file for repository: emergency-install
> Cannot find repomd.xml file for emergency-install
> Error: Cannot find repomd.xml file for emergency-install
>
yes - it's a known, reported and fixed-in-cvs bug.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174715
see the attached patch.
but for a more sensible fix for your environment just add this to the
emergency repo config:
metadata_cache=0
thanks,
-sv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache-fix.patch
Type: text/x-patch
Size: 3574 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20051214/2c422562/attachment-0001.bin
More information about the Yum
mailing list