我在 LXD 上启动了 Ubuntu 21.04 容器,并尝试通过 tasksel install ubuntu-desktop
和 apt install ubuntu-desktop
(分别)安装 Ubuntu Desktop。
任务失败:Tasksel: apt-get failed (100)
apt 给出了多个错误,第一个是在设置 acpi-support (0.143) 时:
Failed to restart acpid.service: Transport endpoint is not connected
See system logs and 'systemctl status acpid.service' for details.
Failed to get properties: Transport endpoint is not connected
dpkg: error processing package acpi-support (--configure):
installed acpi-support package post-installation script subprocess returned error exit status 1
安装 apt 时多次发生“传输端点未连接”。
容器在安装后重新启动,然后当我运行 systemctl
命令时得到“传输端点未连接”。此外,“apt update”卡住了。
如何解决问题?