Ubuntu 16.04 - tpm-инструменты и ошибка брюк во время установки

насколько я знаю, мне будут нужны эти два пакета, установленные для общения с tpm модулем.

Когда я установил эти два пакета, я встретился со следующей ошибкой:

sudo apt-get install tpm-tools trousers
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  tpm-tools trousers
0 upgraded, 2 newly installed, 0 to remove and 382 not upgraded.
Need to get 0 B/250 kB of archives.
After this operation, 3506 kB of additional disk space will be used.
Selecting previously unselected package trousers.
(Reading database ... 176907 files and directories currently installed.)
Preparing to unpack .../trousers_0.3.13-4_amd64.deb ...
Unpacking trousers (0.3.13-4) ...
Selecting previously unselected package tpm-tools.
Preparing to unpack .../tpm-tools_1.3.8-2_amd64.deb ...
Unpacking tpm-tools (1.3.8-2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up trousers (0.3.13-4) ...
Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
invoke-rc.d: initscript trousers, action "start" failed.
dpkg: error processing package trousers (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tpm-tools:
 tpm-tools depends on trousers; however:
  Package trousers is not configured yet.

dpkg: error processing package tpm-tools (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 trousers
 tpm-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get install trousers
Reading package lists... Done
Building dependency tree       
Reading state information... Done
trousers is already the newest version (0.3.13-4).
0 upgraded, 0 newly installed, 0 to remove and 382 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up trousers (0.3.13-4) ...
Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
invoke-rc.d: initscript trousers, action "start" failed.
dpkg: error processing package trousers (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tpm-tools:
 tpm-tools depends on trousers; however:
  Package trousers is not configured yet.

dpkg: error processing package tpm-tools (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 trousers
 tpm-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Путем ввода systemctl status trousers.service

● trousers.service - LSB: starts tcsd
   Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since 四 2017-03-23 14:47:27 CST; 14min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 9814 ExecStart=/etc/init.d/trousers start (code=exited, status=30)

 三  23 14:47:27 tank-Super-Server systemd[1]: Starting LSB: starts tcsd...
 三  23 14:47:27 tank-Super-Server trousers[9814]:  * Starting Trusted Computing daemon tcsd
 三  23 14:47:27 tank-Super-Server tcsd[9820]: TCSD TDDL[9820]: TrouSerS ioctl: (25) Inappropriate ioctl for device
 三  23 14:47:27 tank-Super-Server tcsd[9820]: TCSD TDDL[9820]: TrouSerS Falling back to Read/Write device support.
 三  23 14:47:27 tank-Super-Server trousers[9814]:    ...fail!
 三  23 14:47:27 tank-Super-Server systemd[1]: trousers.service: Control process exited, code=exited status=30
 三  23 14:47:27 tank-Super-Server systemd[1]: Failed to start LSB: starts tcsd.
 三  23 14:47:27 tank-Super-Server systemd[1]: trousers.service: Unit entered failed state.
 三  23 14:47:27 tank-Super-Server systemd[1]: trousers.service: Failed with result 'exit-code'. 

Результат для journalctl -xe вставляется здесь, это включает несколько ошибок, один из них:

三 23 gpu-менеджер по Супер Серверу корпуса 14:22:54 [3628]: Ошибка: не может открыться/lib/modules/4.4.0-31-generic/updates/dkms

Как я могу решить его?

0
задан 23 March 2017 в 00:56

1 ответ

Это означает, что у вас не установлен TPM 1.2 cip [, но у вас есть микросхема TPM 2.0.

Вы не можете установить брюки, потому что для работы требуется TPM 1.2.

Проверьте версию TPM, используя:

user@ubuntu:~$ sudo dmesg | grep -i tpm  
[    0.001234] ACPI: TPM2 0x00000000A1234567 000012 (v03 ABCDEF A B C 00000001 ABC  00000000)
[    0.123456] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1A, rev-id 16)

Вы должны установить tpm2-tools

1
ответ дан 18 November 2019 в 19:27

Другие вопросы по тегам:

Похожие вопросы: