Package: pvm
Version: 3.4.5-12.5
Severity: important

Policy §6.2 reads: “It is necessary for the error recovery procedures that the scripts be idempotent. This means that if it is run successfully, and then it is called again, it doesn't bomb out or cause any harm, but just ensures that everything is the way it ought to be.”

However, pvm prerm script does this:

update-alternatives --remove-all pvm-rsh

This is _not_ idempotent:

# update-alternatives --remove-all pvm-rsh || echo FAILED

# update-alternatives --remove-all pvm-rsh || echo FAILED
update-alternatives: error: no alternatives for pvm-rsh
FAILED

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to