package trousers 0.3.11.2-1 failed to install/upgrade

Bug #1315119 reported by Teddy
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
trousers (Ubuntu)
Confirmed
Undecided
Unassigned

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)

Revision history for this message
Teddy (ted-saker-law) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Teddy (ted-saker-law) wrote :

Any progress?

Revision history for this message
Rich Evans (o0rebelious0o) wrote :

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 ]

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in trousers (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.