[Bug 1315119] Re: package trousers 0.3.11.2-1 failed to install/upgrade

Rich Evans 1315119 at bugs.launchpad.net
Wed Oct 8 15:14:35 UTC 2014


I can see the issue on Ubuntu 14.04.  This is being cause by incorrect
udev rules for the /dev/tpm0 node.  Trousers init should change
ownership to tss:tss of /dev/tpm0 but is failing to do so.  Worked
around by:

Attempt to install trousers and it fails:
sudo apt-get install trousers
Reading package lists... Done
Building dependency tree       
Reading state information... Done
trousers is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up trousers (0.3.11.2-1) ...
 * Starting Trusted Computing daemon tcsd                                [fail] 
invoke-rc.d: initscript trousers, action "start" failed.
dpkg: error processing package trousers (--configure):
 subprocess installed post-installation script returned error exit status 137
Errors were encountered while processing:
 trousers
E: Sub-process /usr/bin/dpkg returned an error code (1)

Manually take ownership of /dev/tpm0:
sudo chown tss /dev/tpm0
sudo chgrp tss /dev/tpm0

Force reinstallation of trousers and it succeeds:
sudo apt-get install -f trousers
Reading package lists... Done
Building dependency tree       
Reading state information... Done
trousers is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up trousers (0.3.11.2-1) ...
 * Starting Trusted Computing daemon tcsd                                [ OK ]

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to trousers in Ubuntu.
https://bugs.launchpad.net/bugs/1315119

Title:
  package trousers 0.3.11.2-1 failed to install/upgrade

Status in “trousers” package in Ubuntu:
  Confirmed

Bug description:
  From update manager. Don't have any futher explanation.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: trousers 0.3.11.2-1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  Date: Thu May  1 15:09:22 2014
  DuplicateSignature: package:trousers:0.3.11.2-1:
  ErrorMessage:
   
  InstallationDate: Installed on 2014-04-26 (5 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: trousers
  Title: package trousers 0.3.11.2-1 failed to install/upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/1315119/+subscriptions



More information about the foundations-bugs mailing list