ubuntu-touch:未在 libertine 容器中配置软件包

ubuntu-touch:未在 libertine 容器中配置软件包

情况

我已经在 libertine 容器中安装了许多程序 - 一些是通过 libertine 命令安装的,一些是通过进入容器后的“apt get”安装的。

看起来其中许多都没有正确配置 - 或者依赖项没有配置。

症状

如果我尝试使用 apt-get 在容器中安装某些东西,就会看到以下内容:

After this operation, 0 B of additional disk space will be used.
Setting up x11-common (1:7.7+7ubuntu4) ...
open: No such file or directory
dpkg: error processing package x11-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libice6:armhf:
 libice6:armhf depends on x11-common; however:
  Package x11-common is not configured yet.

dpkg: error processing package libice6:armhf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsm6:armhf:
 libsm6:armhf depends on libice6 (>= 1:1.0.0); however:
  Package libice6:armhf is not configured yet.

dpkg: error processing package libsm6:armhf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxt6:armhf:
 libxt6:armhf depends on libice6 (>= 1:1.0.0); however:
  Package libice6:armhf is not configured yet.
 libxt6:armhf depends on libsm6; however:
  Package libsm6:armhf is not configured yet.

dpkg: error processing package libxt6:armhf (--configure):
 dependency problems - leaving unconfigured
Setting up isc-dhcp-client (4.3.1-5ubuntu2.3) ...
mktemp: failed to create file via template ‘/run/user/32011/confined/com.ubuntu.terminal/tmp.XXXXXXXXXX’: No such file or directory
dpkg: error processing package isc-dhcp-client (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up ca-certificates (20141019ubuntu0.15.04.1) ...
Setting up dictionaries-common (1.23.17) ...
dpkg: dependency problems prevent configuration of ghostscript-x:
 ghostscript-x depends on libxt6; however:
  Package libxt6:armhf is not configured yet.

dpkg: error processing package ghostscript-x (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of transfig:
 transfig depends on x11-common; however:
  Package x11-common is not configured yet.

dpkg: error processing package transfig (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xournal:
 xournal depends on ghostscript-x; however:
  Package ghostscript-x is not configured yet.

dpkg: error processing package xournal (--configure):
 dependency problems - leaving unconfigured
Processing triggers for ca-certificates (20141019ubuntu0.15.04.1) ...
mktemp: failed to create file via template ‘/run/user/32011/confined/com.ubuntu.terminal/ca-certificates.crt.tmp.XXXXXX’: No such file or directory
dpkg: error processing package ca-certificates (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for dictionaries-common (1.23.17) ...
mktemp: failed to create directory via template ‘/run/user/32011/confined/com.ubuntu.terminal/ispell-auto.XXXXXXXXXX’: No such file or directory
ispell-autobuildhash: Cannot make temporary directory under "/run/user/32011/confined/com.ubuntu.terminal". Aborting ...
update-default-ispell: Error running ispell-autobuildhash
dpkg: error processing package dictionaries-common (--configure):
 subprocess installed post-installation script returned error exit status 25
Errors were encountered while processing:
 x11-common
 libice6:armhf
 libsm6:armhf
 libxt6:armhf
 isc-dhcp-client
 ghostscript-x
 transfig
 xournal
 ca-certificates
 dictionaries-common

完整输出在这里:https://paste.ubuntu.com/17474260/

我不确定输出是否总是重要的。Xournal 被标记为未正确安装,但它确实有效。

问题

有人能解释一下吗?这是可以纠正的吗?

答案1

如果您尝试从终端应用程序设置 Libertine 容器,这是一个反复出现的问题,是由终端应用程序的限制引起的。

请使用完全不受限制的ssh或会话重试。adb shell

针对该问题的更好的长期解决方案正在开发中,但不太可能在 OTA-13 之前交付。

相关内容