Hide Forgot
Description of problem: "yum update" gives a shell syntax error in the %post script. Version-Release number of selected component (if applicable): seahorse-3.2.0-1.fc16.x86_64 How reproducible: haven't tried Steps to Reproduce: 1. yum update # from Fedora 16 beta x86_64 DVD to fedora.repo and fedora-updates-testing.repo of Oct.13 (Thurs.) 2. 3. Actual results: ---> Package seahorse.x86_64 0:3.1.91-1.fc16 will be updated ---> Package seahorse.x86_64 0:3.2.0-1.fc16 will be an update seahorse x86_64 3.2.0-1.fc16 fedora 1.5 M (171/196): seahorse-3.2.0-1.fc16.x86_64.rpm | 1.5 MB 00:03 Updating : seahorse-3.2.0-1.fc16.x86_64 361/803 Cleanup : seahorse-3.1.91-1.fc16.x86_64 449/803 /var/tmp/rpm-tmp.1Bxfnx: line 1: [: missing `]' Expected results: no complaint Additional info:
Looking at the output of "rpm -q --scripts seahorse" I see no obvious problems, and "yum reinstall seahorse" shows no errors, so this seems fixed in the current version.
There have been changes to the spec file in 3.1.90-1, moving from GConf to GSettings. But 3.1.91 shouldn't be affected by post-remove script troubles. The %post and %postun sections look sane, no nested scriptet, just simple "if [ $1 -eq 0 ]; then" Is there a chance to look at /var/tmp/rpm-tmp.1Bxfnx (or whatever the directory will be) and try to find the script executed?
I don't see the script now. "find /var -name rpm-tmp\*" shows only two files: /var/tmp/rpm-tmp.RuAwAN /var/tmp/rpm-tmp.L8IRa4 whose contents are: -----/var/tmp/rpm-tmp.RuAwAN set -x getent group chrony > /dev/null || /usr/sbin/groupadd -r chrony getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \ -d /var/lib/chrony -s /sbin/nologin chrony ----- -----/var/tmp/rpm-tmp.L8IRa4 set -x /bin/systemctl daemon-reload &> /dev/null /sbin/install-info /usr/share/info/chrony.info.gz /usr/share/info/dir &> /dev/null -----
The seahorse %post script has definitively no missing ]s