Package: trousers
Version: 0.3.1-6
Severity: normal
Usertags: origin-ubuntu hardy

Hi,

trousers fails to remove if the daemon is not running [0]:

Removing trousers ...
 Stopping Trusted Computing daemon: invoke-rc.d: initscript trousers, 
action "stop" failed.
 dpkg: error processing trousers (--remove):
  subprocess pre-removal script returned error exit status 1
 Starting Trusted Computing daemon: device driver not loaded, aborting.
 Errors were encountered while processing:
  trousers
 E: Sub-process /usr/bin/dpkg returned an error code (1)
https://bugs.launchpad.net/ubuntu/hardy/+source/tagtool/+bug/160152

This leaves an unconfigured/unremovable package in the system.

You can simply solve it by re-adding the --oknodo option to the 
start-stop-daemon stop action call.

Another possibility would be to check if the daemon is running before stopping 
it, or just checking if /dev/tpm* exists (like you do before you attempt to 
start it).

Many thanks,

Cesare

Ref: [0]https://bugs.launchpad.net/ubuntu/hardy/+source/trousers/+bug/242635



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to