Description of problem: When upgrading BackupPC, yum logged the following error: 1 /var/tmp/rpm-tmp.WVd0Xn: line 15: syntax error near unexpected token `fi' 2 /var/tmp/rpm-tmp.WVd0Xn: line 15: `fi' 3 warning: %postun(BackupPC-3.2.1-1.fc14.x86_64) scriptlet failed, exit status 2 Version-Release number of selected component (if applicable): BackupPC-3.2.1-4.fc14.x86_64 Additional info: I believe removing the last if statement, i.e. if [ $1 -ge 1 ]; then # Package upgrade, not uninstall fi solves the problem
Same for BackupPC-3.2.1-1.fc15.x86_64 (changing version to f15)
I think I got the same error during the update System: Fedora 15 (x86_64) Part of yum output: Cleanup : BackupPC-3.2.1-1.fc15.x86_64 80/86 Non-fatal POSTUN scriptlet failure in rpm package BackupPC Cleanup : gtkhtml3-4.0.1-1.fc15.x86_64 81/86 /var/tmp/rpm-tmp.afknv9: line 15: syntax error near unexpected token `fi' /var/tmp/rpm-tmp.afknv9: line 15: `fi' warning: %postun(BackupPC-3.2.1-1.fc15.x86_64) scriptlet failed, exit status 2
Note that since this is a %postun bug, you will see it again with the replacement package upgrade, but no more thereafter.
BackupPC-3.2.1-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-6.fc16
BackupPC-3.2.1-6.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-6.fc15
BackupPC-3.2.1-6.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-6.fc14
BackupPC-3.2.1-6.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-6.el6
BackupPC-3.2.1-6.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-6.el5
Package BackupPC-3.2.1-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing BackupPC-3.2.1-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/BackupPC-3.2.1-6.fc16 then log in and leave karma (feedback).
*** Bug 744218 has been marked as a duplicate of this bug. ***
BackupPC-3.2.1-6.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.2.1-6.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.2.1-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
I just updated to: BackupPC.x86_64 0:3.2.1-6.fc15 and had the same issue: BackupPC-3.2.1-4.fc15.x86_64 Non-fatal POSTUN scriptlet failure in rpm package BackupPC /var/tmp/rpm-tmp.jzEXSd: line 15: syntax error near unexpected token `fi' /var/tmp/rpm-tmp.jzEXSd: line 15: `fi' warning: %postun(BackupPC-3.2.1-4.fc15.x86_64) scriptlet failed, exit status 2
See comment #3.
BackupPC-3.2.1-6.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.2.1-6.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.