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

Michael Schwendt mschwendt at gmail.com
Mon Apr 9 10:02:28 UTC 2007


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.




More information about the fedora-list mailing list