我已经在 debootstrap chroot 中安装了 64 位 Ubuntu 14.04,这样我就可以在此 chroot 中安装 RuneScape NXT Client,如果幸运的话,这可以用于在 Ubuntu 14.04 以外的平台上运行 RuneScape。但是当我apt-get install -y runescape-launcher
在此 chroot 中运行时,我收到错误:
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Setting up aspell-en (7.1-0-1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Processing triggers for ca-certificates (20160104ubuntu0.14.04.1) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for dictionaries-common (1.20.5) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Errors were encountered while processing:
udev
initramfs-tools
dmsetup
libdevmapper1.02.1:amd64
mountall
plymouth
libcryptsetup4
systemd
systemd-services
libpam-systemd:amd64
plymouth-theme-ubuntu-text
upstart
dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试过这个答案对于此处的先前问题,即编辑/var/lib/dpkg/lock
替换unpacked
为installed
,然后运行:
dpkg --configure --pending
apt-get install --reinstall udev initramfs-tools dmsetup libdevmapper1.02.1:amd64 mountall plymouth libcryptsetup4 systemd systemd-services libpam-systemd:amd64 plymouth-theme-ubuntu-text upstart dbus
但失败了,第一个命令返回:
Setting up udev (204-5ubuntu20.20) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
runlevel:/var/run/utmp: No such file or directory
* udev requires hotplug support, not started
...fail!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
udev