[Yum-devel] yum exclude seems broken in 3.2.10 under certain conditions

James Antill james.antill at redhat.com
Sat Feb 9 05:20:29 UTC 2008


On Sat, 2008-02-09 at 01:09 +0100, Hans-Peter Jansen wrote:
[...]
> Excluding Packages from SuSE 10.2 - Updates
> Excluding samba-vscan-0.3.6b-98.8.i586
> Excluding samba-vscan-0.3.6b-98.10.i586
> Excluding samba-vscan-0.3.6b-98.5.i586
> Excluding kernel-source-2.6.18.8-0.8.i586
[...]
> kernel-source.i586                       2.6.18.8-0.8           update          

 Ok, this is very weird, from the primary MD there should be only one
kernel-source-2.6.18.8-0.8.i586 in that repo. ... there's no output
suggesting you have plugins, so I assume you don't have any enabled?

 If you are up for some more debugging, could you re-run the above after
doing the following.

Can you change:

( in /usr/lib/python2.?/site-packages )
yum/__init__.py:excludePackages

            self.verbose_logger.debug('Excluding %s', po)

...into:

            self.verbose_logger.debug('Excluding %s %s %s %s', po, po.pkgKey, po.pkgId, hex(id(po)))


...and add:

( in /usr/share/yum-cli )
output.py:simpleList

            self.verbose_logger.debug('PKG %s %s %s %s', pkg, pkg.pkgKey, pkg.pkgId, hex(id(pkg)))

...that might give me a clue as to what is happening.

-- 
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080209/e013d420/attachment.pgp 


More information about the Yum-devel mailing list