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

Hans-Peter Jansen hpj at urpla.net
Sat Feb 9 00:09:09 UTC 2008


Am Freitag, 8. Februar 2008 schrieb seth vidal:
> On Fri, 2008-02-08 at 21:15 +0100, Hans-Peter Jansen wrote:
> > Hi Seth,
> >
> > Am Freitag, 8. Februar 2008 schrieb seth vidal:
> > > On Fri, 2008-02-08 at 10:42 +0100, Hans-Peter Jansen wrote:
> > > > With pleasure from my side, but probably not from yours, since
> > > > they're a mess... Attached.
> > >
> > > okay, I see the exclude containing kernel-* in update.repo.
> > >
> > > Can you try a couple of things for me:
> >
> > With pleasure.
> >
> > > 1. make the line that was the exclude read:
> > >   exclude=opal* pwlib* wine python-qt* samba-vscan kernel*
> > >
> > >  so that is removing the - following kernel
> >
> > I should have mentioned, that I had it like this primary, similar to
> > the other ex. The version containing the dash was the second try
> > already. Tried it again, with no behavioral changes.
> >
> > > 2. if that doesn't work - take off the *. I want to figure out which
> > > piece is failing in the matching routine.
> >
> > Now I made it read like this:
> > exclude=opal* pwlib* wine python-qt* samba-vscan kernel-bigsmp
> > kernel-source kernel-syms
> >
> > I.e. with the exact matches, but again, no behavioral change.
> >
> > Now I excluded a package ready to update from a different repo, that
> > matched as expected, even with wildcards.
> >
> > Looks like one of the exactarchlist, installonlypkgs or kernelpkgnames
> > options is responsible for this issue.
> >
> > While my SUSE package contains a patch from Christoph Thiel, I reverted
> > it temporarily to be sure, it's not the culprit:
>
> rpm shouldn't have anything to do with this. rpm's pattern matching
> isn't at play when we are excluding packages. We exclude from the
> available repos, not from the rpmdb.
>
> I just tested this on 3.2.11 with excludes of:
>
> exclude=kernel*
>
> in my updates and fedora repo files - no problem on either.

Did you added your kernel package names to exactarchlist, installonlypkgs 
and kernelpkgnames? 
[BTW, allowing wildcards in those would definitely rock, as you can see in 
my config!]

> could you post a yum -d 5 output of this:
>
> yum -d 5 list available kern\*

Sure, here we go (update repo restored to the kernel* exclude, other config 
is as posted):

Yum Version: 3.2.10
COMMAND: yum -d 5 list available kern* 
Installroot: /
Ext Commands:

   available
   kern*
Reading Local RPMDB
Setting up Package Sacks
Excluding Packages from Guru's Packages
Excluding libmtp-0.1.0-2.guru.suse102.i686
Excluding libmtp-tools-0.1.0-2.guru.suse102.i686
Excluding libmtp-tools-0.1.3-2.guru.suse102.i686
Excluding libmtp-0.2.1-1.guru.suse102.i686
Excluding libmtp-devel-0.1.0-2.guru.suse102.i686
Excluding libmtp-0.1.3-2.guru.suse102.i686
Excluding libmtp-devel-0.2.1-1.guru.suse102.i686
Excluding scribus-1.3.3.7-1.guru.suse102.i686
Excluding libmtp-devel-0.1.3-2.guru.suse102.i686
Excluding libmtp-tools-0.0.17-1.guru.suse102.i686
Excluding libmtp-devel-0.0.17-1.guru.suse102.i686
Excluding libmtp-0.0.17-1.guru.suse102.i686
Excluding libmtp-tools-0.2.1-1.guru.suse102.i686
Finished
Excluding Packages from SuSE 10.2 - Local Packages
Excluding plone-2.5.2-1.noarch
Excluding zope-2.9.6-1.i686
Excluding OpenOffice_org-Quickstarter2-1.0.1-1.i686
Excluding gtk-qt-engine-0.8svn20071009-2.4.i686
Finished
Excluding Packages from openSUSE Devel-Tools
Excluding libqt4-dbus-1-4.3.2-4.1.i586
Excluding libqt4-devel-4.3.2-4.1.i586
Excluding libqt4-4.3.2-4.1.i586
Excluding libqt4-devel-doc-4.3.2-4.1.i586
Excluding libqt4-qt3support-4.3.2-4.1.i586
Excluding libqt4-sql-4.3.2-4.1.i586
Excluding libqt4-x11-4.3.2-4.1.i586
Finished
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
Excluding kernel-source-2.6.18.8-0.1.i586
Excluding kernel-xen-2.6.18.8-0.1.i586
Excluding kernel-bigsmp-2.6.18.8-0.1.i586
Excluding kernel-default-2.6.18.8-0.1.i586
Excluding kernel-default-2.6.18.8-0.5.i586
Excluding kernel-syms-2.6.18.8-0.7.i586
Excluding kernel-kdump-2.6.18.8-0.8.i586
Excluding kernel-xenpae-2.6.18.8-0.5.i586
Excluding kernel-xen-2.6.18.8-0.3.i586
Excluding kernel-xen-2.6.18.8-0.7.i586
Excluding kernel-syms-2.6.18.8-0.1.i586
Excluding kernel-syms-2.6.18.8-0.3.i586
Excluding kernel-xenpae-2.6.18.8-0.3.i586
Excluding kernel-xen-2.6.18.8-0.8.i586
Excluding kernel-default-2.6.18.8-0.3.i586
Excluding kernel-bigsmp-2.6.18.8-0.8.i586
Excluding opal-devel-2.3.1-32.i586
Excluding kernel-bigsmp-2.6.18.8-0.3.i586
Excluding kernel-syms-2.6.18.8-0.8.i586
Excluding kernel-bigsmp-2.6.18.8-0.7.i586
Excluding kernel-syms-2.6.18.8-0.5.i586
Excluding kernel-source-2.6.18.8-0.7.i586
Excluding kernel-bigsmp-2.6.18.8-0.5.i586
Excluding kernel-source-2.6.18.8-0.5.i586
Excluding kernel-default-2.6.18.8-0.7.i586
Excluding kernel-xen-2.6.18.8-0.5.i586
Excluding kernel-xenpae-2.6.18.8-0.8.i586
Excluding opal-2.3.1-32.i586
Excluding kernel-xenpae-2.6.18.8-0.1.i586
Excluding kernel-kdump-2.6.18.8-0.7.i586
Excluding kernel-default-2.6.18.8-0.8.i586
Excluding kernel-source-2.6.18.8-0.3.i586
Excluding kernel-xenpae-2.6.18.8-0.7.i586
Finished
Excluding Packages from SuSE 10.2 - Backported KDE Packages
Excluding kcm_gtk-0.7svn20070827-21.8.i586
Excluding libexiv2-devel-0.15-1.1.i586
Excluding libexiv2-0.15-1.1.i586
Excluding hk_classes-devel-0.8.3-65.1.i586
Excluding hk_classes-0.8.3-65.1.i586
Excluding scribus-1.3.3.11-2.6.i586
Finished
Excluding Packages from SuSE 10.2 - Base
Excluding pwlib-1.11.1-27.i586
Excluding pwlib-plugins-dc-1.11.1-27.i586
Excluding opal-devel-2.3.1-30.i586
Excluding python-qt-3.5.5-29.i586
Excluding opal-2.3.1-30.i586
Excluding pwlib-plugins-avc-1.11.1-27.i586
Excluding pwlib-devel-1.11.1-27.i586
Excluding pwlib-plugins-v4l2-1.11.1-27.i586
Finished
Excluding Packages from SuSE 10.2 - Packman SuSE Packages
Excluding gkrellm-2.3.1-0.pm.1.i586
Excluding kino-debuginfo-1.2.0-1.pm.2.i586
Excluding kino-1.2.0-1.pm.2.i586
Finished
Matching packages for package list to user args
Available Packages
kernel-bigsmp.i586                       2.6.18.8-0.8           update          
kernel-debug.i586                        2.6.18.2-34            base            
kernel-default.i586                      2.6.18.8-0.8           update          
kernel-kdump.i586                        2.6.18.8-0.8           update          
kernel-source.i586                       2.6.18.8-0.8           update          
kernel-syms.i586                         2.6.18.8-0.8           update          
kernel-um.i586                           2.6.18.2-34            base            
kernel-vanilla.i586                      2.6.18.2-34            base            
kernel-xen.i586                          2.6.18.8-0.8           update          
kernel-xenpae.i586                       2.6.18.8-0.8           update          

Pete



More information about the Yum-devel mailing list