SELinux RPM scriptlet issue cleanup

Markus Lindholm markus.lindholm at gmail.com
Sat Jan 18 14:25:44 UTC 2014


I got also hit by this nfs-utils/selinux-policy issue.

Tried to do a yum reinstall \* but it didn't go through. It gave the following

--> Finished Dependency Resolution
Error: Package: 32:bind-libs-9.9.4-8.fc20.i686 (fedora)
           Requires: bind-license = 32:9.9.4-8.fc20
           Installed: 32:bind-license-9.9.4-11.P2.fc20.noarch (@updates)
               bind-license = 32:9.9.4-11.P2.fc20
           Available: 32:bind-license-9.9.4-8.fc20.noarch (fedora)
               bind-license = 32:9.9.4-8.fc20
 You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
32:bind-9.9.4-8.fc20.x86_64 has missing requires of bind-libs = ('32',
'9.9.4', '8.fc20')
firefox-26.0-5.fc20.x86_64 is a duplicate with firefox-26.0-3.fc20.x86_64
firewalld-0.3.9.2-1.fc20.noarch is a duplicate with
firewalld-0.3.9-1.fc20.noarch
selinux-policy-targeted-3.12.1-116.fc20.noarch has missing requires of
selinux-policy = ('0', '3.12.1', '116.fc20')
yum-3.4.3-130.fc20.noarch is a duplicate with yum-3.4.3-129.fc20.noarch

I then tried with --skip-broken but got

--> Finished Dependency Resolution
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for firefox which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of firefox of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude firefox.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of firefox installed, but
            yum can only see an upgrade for one of those architectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of firefox installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: firefox-26.0-5.fc20.x86_64 !=
firefox-26.0-3.fc20.x86_64

What to do?

/Markus



On 18 January 2014 05:33, Rahul Sundaram <metherid at gmail.com> wrote:
> Hi
>
>
> On Fri, Jan 17, 2014 at 11:28 PM, Ian Pilcher wrote:
>>
>> On 01/17/2014 11:46 AM, Suvayu Ali wrote:
>> > You should reinstall all the packages that had a scriptlet failure but
>> > were able to install.  I had the same issue, in my case however I was
>> > trying to install a few new packages.  So I simply did yum history undo,
>> > and repeated the original command.
>>
>> Not really realistic with a distro-sync, I'm afraid.
>
>
> Depends on how far you are willing to go
>
> sudo yum reinstall \*
>
> Rahul
>
>
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>


More information about the users mailing list