Package duplication, can't remove old selinux-policy-stict

Naoki naoki at valuecommerce.com
Mon Apr 9 10:17:43 UTC 2007


On Mon, 2007-04-09 at 12:02 +0200, Michael Schwendt wrote:

> On 09/04/07, Naoki wrote:
> >
> >  Hi all,
> >
> >  Bit of a cosmetic problem here.
> >
> >  # rpm -qa selinux-policy-strict
> >  selinux-policy-strict-2.4.6-49.fc6
> >  selinux-policy-strict-2.2.34-3.fc5
> >
> >
> >  # rpm -qf /usr/share/selinux/strict/usbmodules.pp
> >  selinux-policy-strict-2.4.6-49.fc6
> >  selinux-policy-strict-2.2.34-3.fc5
> >
> >
> >  # rpm -e selinux-policy-strict-2.2.34-3.fc5
> >  libsemanage.semanage_direct_remove: Module dpkg was not
> > found.
> >  semodule:  Failed on dpkg!
> >  error: %trigger(selinux-policy-strict-2.4.6-49.fc6.noarch)
> > scriptlet failed, exit status 1
> >
> >
> >  Any idea what is going on there?  rpm --rebuilddb didn't help, next option
> > is a force but I never like those.
> 
> rpm -e --notriggers --noscripts  selinux-policy-strict-2.2.34-3.fc5
> 
> might suffice.


You are correct sir!

# rpm -qa selinux-policy-strict
selinux-policy-strict-2.4.6-49.fc6
selinux-policy-strict-2.2.34-3.fc5
# rpm -e --notriggers --noscripts  selinux-policy-strict-2.2.34-3.fc5
# rpm -qa selinux-policy-strict
selinux-policy-strict-2.4.6-49.fc6

Now the question is, how did it get itself into that state?  I guess the
yum update from FC5->FC6 failed to remove the old package because of the
scripts error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070409/e403d365/attachment-0001.htm>


More information about the fedora-list mailing list