Description of problem: Script fails to remove nfs-utils-1.0.10-7.fc6 after update. Version-Release number of selected component (if applicable): nfs-utils-1.0.10-10.fc6 How reproducible: Every time. Steps to Reproduce: 1. Use yum or smart to update nfs-utils 2. 3. Actual results: Get error message: Fetching packages... -> http://download.fedora.redhat.com/pub/.../nfs-utils-1.0.10-10.fc6.x86_64.rpm nfs-utils-1.0.10-10.fc6.x86_6.. ######################################## [100%] Committing transaction... Preparing... ######################################## [ 0%] 1:Installing nfs-utils ######################################## [ 50%] 2:Cleaning nfs-utils ######################################## [100%] error: %postun(nfs-utils-1.0.10-7.fc6.x86_64) scriptlet failed, exit status 1 Expected results: Additional info:
Source of the problem seems to be the fact, that /etc/init.d/nfs condrestart returns 1, when nfs is not runnning. Test '[ -f /var/lock/subsys/nfs ]' (line 158) is the last command executed and it's return value (1) is than return by 'exit $?' (line 168). Workaround to get rid of old nfs-utils version: rpm -e --noscripts nfs-utils-<old-version>
This report is duplicate of #240225, which seems to contain all relevant information provided by bug submitter.
*** This bug has been marked as a duplicate of 240225 ***