** Description changed:

+ 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/sources.list:
+ 
+   deb http://archive.ubuntu.com/ubuntu/ hardy-proposed universe
+ 
+ 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)

-- 
The package cannot be removed if the daemon fails to start
https://bugs.launchpad.net/bugs/242635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to