Bugzilla – Bug 461734
Package nfs-client is not removable
Last modified: 2009-02-19 11:41:00 UTC
Package: nfs-client-1.1.3-14.1@i586 # rpm -e nfs-client ..unused error: %preun(nfs-client-1.1.3-14.1.i586) scriptlet failed, exit status 6
When removed with the --noscripts option, the file /lib/mkinitrd/setup/81-nfs.sh is not removed and causes mkinitrd to fail.
%preun -n nfs-client %stop_on_removal nfs stop script return error code 6, but this should not really be a problem?
*** Bug 450940 has been marked as a duplicate of this bug. ***
This bug has been fixed since the 11.1 release I suspect it is worth releasing an update for 11.1. Anja: Does this seem appropriate for an update? If so, can I have a tracking number please?
Created attachment 270660 [details] New /etc/init.d/nfs script.
I have submitted an update for openSUSE 11.1. It replaces the /etc/init.d/nfs script with the one above. If you copy that in place you will be able to remove 'nfs-client'. Thanks.
Update released for: nfs-client, nfs-doc, nfs-kernel-server, nfs-utils Products: openSUSE 11.1 (debug, i586, ppc, x86_64)
*** Bug 467189 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > I have submitted an update for openSUSE 11.1. > It replaces the /etc/init.d/nfs script with the one above. > If you copy that in place you will be able to remove 'nfs-client'. > > Thanks. This workaround didn't work for me. I suggest to do it this way: 1.Remove the old package (from openSUSE Goldmaster): rpm -e --noscripts nfs-client 2.Install the new package (from openSUSE Update repo): zypper in nfs-client 3.Remove the new nfs-client package again: rpm -e nfs-client
(In reply to comment #1) > When removed with the --noscripts option, the file > /lib/mkinitrd/setup/81-nfs.sh is not removed and causes mkinitrd to fail. See comment #11.