After this bug is open for nearly 3 years trousers is still uninstallable on certain systems with bullseye. Even with no tpm installed trousers is needed for tpm emulation in qemu.
This is a current Lenovo Thinkpad T14s with TPM enabled. flo@p5:~$ ls -la /dev/tpm* crw-rw---- 1 tss tss 10, 224 Feb 25 09:42 /dev/tpm0 crw-rw---- 1 tss tss 245, 65536 Feb 17 09:13 /dev/tpmrm0 flo@p5:~$ dpkg -l trousers Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-=================-============-======================================= iF trousers 0.3.14+fixed1-1.1 amd64 open-source TCG Software Stack (daemon) Feb 25 09:42:05 p5 systemd[1]: Starting LSB: starts tcsd... Feb 25 09:42:05 p5 trousers[667266]: Starting Trusted Computing daemon: tcsd/etc/init.d/trousers: 32: [: /dev/tpm0: unexpected operator Feb 25 09:42:05 p5 tcsd[667274]: TCSD TDDL[667274]: TrouSerS ioctl: (25) Inappropriate ioctl for device Feb 25 09:42:05 p5 tcsd[667274]: TCSD TDDL[667274]: TrouSerS Falling back to Read/Write device support. Feb 25 09:42:05 p5 tcsd[667274]: TCSD TCS[667274]: TrouSerS ERROR: TCS GetCapability failed with result = 0x1e Feb 25 09:42:05 p5 trousers[667277]: failed! Feb 25 09:42:05 p5 systemd[1]: trousers.service: Control process exited, code=exited, status=30/n/a Feb 25 09:42:05 p5 systemd[1]: trousers.service: Failed with result 'exit-code'. Feb 25 09:42:05 p5 systemd[1]: Failed to start LSB: starts tcsd. dpkg: error processing package trousers (--configure): installed trousers package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of swtpm-tools: swtpm-tools depends on trousers (>= 0.3.9); however: Package trousers is not configured yet. dpkg: error processing package swtpm-tools (--configure): dependency problems - leaving unconfigured Processing triggers for man-db (2.9.4-1) ... Errors were encountered while processing: trousers swtpm-tools -- Florian Lohoff f...@zz.de
signature.asc
Description: PGP signature