[Spacewalk-list] eva-direct-errata-sync.pl setup & example usage

Franky Van Liedekerke liedekef at telenet.be
Wed Nov 21 20:26:17 UTC 2012


On Wed, 21 Nov 2012 19:58:29 +0000
"Snyder, Chris" <Chris_Snyder at sra.com> wrote:

> For the un-initiated, what does 'cross contaminates the channels when
> two channels have a package with the same name'  mean?
> 
> Thx
> Gopher.

A redhat channel and a centos channel might (and in fact have) many
package names in common, but they are different (even if only different
by the GPG signing key).
If a errata publish script doesn't take this into account, it uses the
wrong package (from e.g. redhat) with the centos errata. But publishing
an errata in a channel automatically copies the linked packages in the
channel as well, even if they are from different distro's. So you might
end up with redhat packages in a centos channel (or visa versa),
resulting in failed installations or updates later on.
Most of the python scripts suffer from this, since they use the
packages.findByNvrea call (search for package based on name,version,
release and arch) and if more than one result is returned (e.g. when
redhat and centos packages are both present in spacewalk) they use only
the first one. Stupid ...

Franky




More information about the Spacewalk-list mailing list