FC5 and FC6 SELinux policies installed simultaneously

André Costa blueser at gmail.com
Sun May 20 14:26:28 UTC 2007


On 5/19/07, Kam Leo <kam.leo at gmail.com> wrote:
> On 5/19/07, Daniel J Walsh <dwalsh at redhat.com> wrote:
> > André Costa wrote:
> > > Hi,
> > >
> > > for some reason, I still have a FC5 SELinux package laying around:
> > >
> > > ~ rpm -qa selinux-policy-strict\*
> > > selinux-policy-strict-2.4.6-62.fc6
> > > selinux-policy-strict-2.2.34-3.fc5
> > >
> > > If I try to remove the stray FC5 package, something goes wrong:
> > >
> > > # rpm -ev 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-62.fc6.noarch) scriptlet
> > > failed, exit status 1
> > >
> > > Any clues? Should I try 'rpm -ev --notriggers
> > > selinux-policy-strict-2.2.34-3.fc5' and then force FC6 package
> > > reinstallation?
> > >
> > > TIA
> > >
> > > Andre
> > >
> > That should work.
>
> How about using "--noscripts"?

I thought about "--notriggers "because error msg shows "error:
%trigger(...)". Would it be safer if I used "--noscripts" instead?

Regards,

Andre




More information about the fedora-list mailing list