transmission-2.77-1.fc17.x86_64 uses the %systemd_post macro (see bug 850345), which was introduced in Fedora 18. This macro is unexpanded on Fedora 17, resulting in shell errors when the shell mistakes it for a job control command. Non-fatal POSTIN scriptlet failure in rpm package transmission-2.77-1.fc17.x86_64 /var/tmp/rpm-tmp.4dbqCN: line 1: fg: no job control warning: %post(transmission-2.77-1.fc17.x86_64) scriptlet failed, exit status 1
ouch. I will fix this now.
transmission-2.77-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/transmission-2.77-2.fc17
Package transmission-2.77-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 transmission-2.77-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-4825/transmission-2.77-2.fc17 then log in and leave karma (feedback).
This needs some kind of workaround to clean up after the previous release’s broken %preun. Running Transaction Updating : transmission-2.77-2.fc17.x86_64 1/2 Error in PREUN scriptlet in rpm package transmission-2.77-1.fc17.x86_64 /var/tmp/rpm-tmp.GvYgwZ: line 1: fg: no job control error: %preun(transmission-2.77-1.fc17.x86_64) scriptlet failed, exit status 1 Verifying : transmission-2.77-2.fc17.x86_64 1/2 Verifying : transmission-2.77-1.fc17.x86_64 2/2 Updated: transmission.x86_64 0:2.77-2.fc17 Failed: transmission.x86_64 0:2.77-1.fc17 Complete! [root@scripts-f17-dev ~]# rpm -q transmission transmission-2.77-1.fc17.x86_64 transmission-2.77-2.fc17.x86_64
Ok. Let me workout what needs to be done.
there doesn't appear to be a way to fix this automatically unfortunately since you have already installed the broken package and the preun of that is going to run when it gets uninstalled. You can however workaround this manually using rpm -e --noscripts on the older package and then installing the newer one.
transmission-2.77-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
PSA Upgrade transmission: 1. sudo yum update transmission 2. Check "rpm -q transmission", should show $ rpm -q transmission transmission-2.77-1.fc17.x86_64 transmission-2.77-2.fc17.x86_64 3. Do rpm -e --noscripts transmission-2.77-1.fc17.x86_64
Thanks, Arun. Really, thousands of people have to manually clean up from this packaging error? I'm skeptical that there's NO way to handle this with yum and the packaging system. Perhaps no trivial way, but that's part of maintaining a distro.
I was just pinged by this too (and the "--noscripts" worked). Couldn't you use a "pre-script" in the fixed/upgraded version to forcibly uninstall the broken version? A total hack I admit, but otherwise people will not be able to move on without fairly specific knowledge Jason
*** Bug 981506 has been marked as a duplicate of this bug. ***
I played around with a bit a while back and didn't find a feasible solution. If one wants to submit a spec file patch (a hack is fine), I would be happy to take it.