[Triumf-linux-managers] Re: Effects of the yum.conf option "obsoletes=1"

Kel Raywood kray@triumf.ca
Mon, 28 Aug 2006 11:10:54 -0700 (PDT)


On Sat, 26 Aug 2006, Konstantin Olchanski wrote:
>Adding "obsoletes=1" to yum.conf has this effect:
>
>1) yum-conf becomes automatically upgraded to
>   version "yum-conf-4x-..." overwriting
>   any custom repository files (those using
>   the triumf mirror revert back to using
>   ftp.scientificlinux.org *without* gpg signature
>   checking).

The problem seems to be because of a change of name between 43 
and 4x.  

For example:
   yum-conf-43-... contains /etc/yum/repos.d/sl.repo
   yum-conf-4x-... contains /etc/yum.repos.d/sl4x.repo

Similarly sl-errata.repo -> sl4x-errata.repo

The repository files are flagged as "config" in the original RPMs so,
customised versions will not be replaced so long as the name relains the
same. Newer versions will be given the extension ".rpmnew".

This is not good packaging by SL.  It looks like you have to sl.repo and 
sl4x.repo customised versions.

> ...
>4) I assume that when SL4.4 comes out, the "4x" symlink
>   will move from "43" to "44" and all machines will
>   self-update to SL4.4.
>
>All of this is reasonable and maybe even good, except for reverting the
>yum repository files away from the triumf mirror and except for disabling
>the gpg signature checking.

I suspect that this problem will not occur again given the "4x" 
naming scheme, but I agree that the SL packaging did not make this clear.

Kel