The package cannot be removed if the daemon fails to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trousers (Debian) |
Fix Released
|
Unknown
|
|||
trousers (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
TEST CASE:
A simple test case is defined here:
1. In Hardy, install the trousers (0.3.1-4ubuntu0.1) package with your preferred package manager. The hardy-updates repo must be enabled for you to be able to do this. You can also test this if you have a previous update from hardy-proposed (0.3.1-4ubuntu0.2) already installed.
2. Make sure that the daemon is not running (it won't if you don't have a tpm chip and/or a tpm kernel module loaded).
3. Try to remove the package with your preferred package-manager (for instance with the command: sudo apt-get remove trousers).
This should fail with the following message:
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)
4. Enable the hardy-proposed repository. For instance, you can do this by adding the following line to /etc/apt/
deb http://
Update your local cache and upgrade.
5. Try again to remove the package. This time it should succeed.
6. Disable the hardy-proposed repository.
WARNING: Any user willing to help with testing is more than welcome. Please be aware that there might be some time before the updated packages will be available in your mirror. The sru needs to be approved and the package manually copied by an archive admin, this may take from 1 to several days to be processed.
-------
I tried installing tpm-tools package, but it seems it won't work with my hardware. When I tried to remove this package, this happens:
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)
Changed in trousers: | |
assignee: | nobody → norsetto |
status: | Incomplete → In Progress |
assignee: | nobody → norsetto |
status: | New → In Progress |
Changed in trousers: | |
assignee: | norsetto → nobody |
status: | In Progress → Fix Committed |
Changed in trousers: | |
status: | Unknown → New |
description: | updated |
Changed in trousers: | |
status: | New → Fix Released |
Can you open a terminal and give this command:
apt-cache policy trousers
Please paste the results here.