Description of problem: > Updating : policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 > Non-fatal POSTIN scriptlet failure in rpm package policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 > /var/tmp/rpm-tmp.M2qaDs: line 1: fg: no job control > warning: %post(policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64) scriptlet failed, exit status 1 Version-Release number of selected component (if applicable): policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64
policycoreutils.spec is using macroized systemd scriptlets in Fedora 17 by mistake. They are only available since F18 (mainly because the macro for %post depends on the "preset" feature for which we do not ship the necessary preset files in F17). See: https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
So how do I get rid of this package or error? #rpm -qa | grep policycoreutilspolicycoreutils-python-2.1.13-55.fc18.x86_64 ... policycoreutils-restorecond-2.1.13-55.fc18.x86_64 policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 ... and `sudo yum remove $package` gives off this: ... Error in PREUN scriptlet in rpm package policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 Verifying : policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 1/1 Failed: policycoreutils-restorecond.x86_64 0:2.1.13-27.1.fc17
rpm -e --noscripts policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64
Fixed in policycoreutils-2.1.12-27.2
policycoreutils-2.1.13-27.2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-27.2.fc17
Package policycoreutils-2.1.13-27.2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-27.2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1544/policycoreutils-2.1.13-27.2.fc17 then log in and leave karma (feedback).
OK, thanks Michal Schmidt for the tip, that did it. Now the funny thing is, I have 2 machines upgraded from the latest updated Fedora 17 to F18. But only one machine gave off this error! Anyway, now it's fixed, I deleted the old version using --noscripts option to rpm: rpm -e --noscripts policycoreutils-restorecond-2.1.13-27.1.fc17.x86_64 Thanks to everyone.
policycoreutils-2.1.13-27.3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-27.3.fc17
policycoreutils-2.1.13-27.3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.