Jan 21, 2014

In the last yum updates on Fedora 20 the PRE scriptlets of same packages fail

During the last update of the Fedora 20 packages with yum the
following error occured:

Running transaction
error: %pre(initscripts-9.51-1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package initscripts-9.51-1.fc20.x86_64
error: initscripts-9.51-1.fc20.x86_64: install failed
error: %pre(pcp-3.8.10-1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package pcp-3.8.10-1.fc20.x86_64
error: pcp-3.8.10-1.fc20.x86_64: install failed
error: %pre(selinux-policy-targeted-3.12.1-117.fc20.noarch) scriptlet failed, ex
it status 127
Error in PREIN scriptlet in rpm package selinux-policy-targeted-3.12.1-117.fc20.
noarch
error: selinux-policy-targeted-3.12.1-117.fc20.noarch: install failed
error: %pre(nfs-utils-1:1.2.9-2.1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package 1:nfs-utils-1.2.9-2.1.fc20.x86_64
Warning: scriptlet or other non-fatal errors occurred during transaction.


There was a problem in the previous selinux-policy package.

Look here for Details.

There is also the solution for the problem, which also fixed my problem

# setenforce 0
# yum clean expire-cache
# yum update selinux-policy\*
# setenforce 1

After this my system got uptodate again:

 Loaded plugins: langpacks, refresh-packagekit
No packages marked for update