我正在安装 Ubuntu 12.04.1 x64
我需要登录到我的工作场所 citrix,因此安装了 icaclient。不幸的是,我在 citrix 下载页面上第一次意外点击了 i386 文件,而不是 AMD64 版本。软件管理器无论如何都尝试安装它。失败后它没有显示为已安装,所以我继续进行 AMD64 安装。
在安装结束时,我得到了与下面类似的错误输出。我关闭它并继续查看它是否已安装。一切正常 - 登录到 citrix 服务器没有问题。
问题是,所有使用软件管理器进行的后续安装都会产生与以下相同的错误。最后一个是在安装 HPLIP Toolbox 之后。
但到目前为止安装的所有应用程序都可以正常工作,所以问题不会太严重,只是非常烦人和令人费解。
有人能告诉我问题出在哪里以及如何修复它吗?我是否应该通过软件管理器完全卸载 icaclient 并重新启动,或者这会遗漏错误的 i386 软件包?有没有办法清除 i386 内容而不影响 AMD64 软件包?
新安装不能完美运行,真是遗憾 :-(
installArchives() failed: Selecting previously unselected package libqt4-designer.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 173813 files and directories currently installed.)
Unpacking libqt4-designer (from .../libqt4-designer_4%3a4.8.1-0ubuntu4.3_amd64.deb) ...
Selecting previously unselected package libqt4-help.
Unpacking libqt4-help (from .../libqt4-help_4%3a4.8.1-0ubuntu4.3_amd64.deb) ...
Selecting previously unselected package libqt4-scripttools.
Unpacking libqt4-scripttools (from .../libqt4-scripttools_4%3a4.8.1-0ubuntu4.3_amd64.deb) ...
Selecting previously unselected package libqt4-test.
Unpacking libqt4-test (from .../libqt4-test_4%3a4.8.1-0ubuntu4.3_amd64.deb) ...
Selecting previously unselected package libqtassistantclient4.
Unpacking libqtassistantclient4 (from .../libqtassistantclient4_4.6.3-3ubuntu2_amd64.deb) ...
Selecting previously unselected package libqtwebkit4.
Unpacking libqtwebkit4 (from .../libqtwebkit4_2.2.1-1ubuntu4_amd64.deb) ...
Selecting previously unselected package python-sip.
Unpacking python-sip (from .../python-sip_4.13.2-1_amd64.deb) ...
Selecting previously unselected package python-qt4.
Unpacking python-qt4 (from .../python-qt4_4.9.1-2ubuntu1_amd64.deb) ...
Selecting previously unselected package python-qt4-dbus.
Unpacking python-qt4-dbus (from .../python-qt4-dbus_4.9.1-2ubuntu1_amd64.deb) ...
Selecting previously unselected package hplip-gui.
Unpacking hplip-gui (from .../hplip-gui_3.12.2-1ubuntu3.1_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Setting up icaclient:i386 (12.1.0) ...
dpkg: error processing icaclient:i386 (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up libqt4-designer (4:4.8.1-0ubuntu4.3) ...
Setting up libqt4-help (4:4.8.1-0ubuntu4.3) ...
Setting up libqt4-scripttools (4:4.8.1-0ubuntu4.3) ...
Setting up libqt4-test (4:4.8.1-0ubuntu4.3) ...
Setting up libqtassistantclient4 (4.6.3-3ubuntu2) ...
Setting up libqtwebkit4 (2.2.1-1ubuntu4) ...
Setting up python-sip (4.13.2-1) ...
Setting up python-qt4 (4.9.1-2ubuntu1) ...
Setting up python-qt4-dbus (4.9.1-2ubuntu1) ...
Setting up hplip-gui (3.12.2-1ubuntu3.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
icaclient:i386
Error in function:
Setting up icaclient:i386 (12.1.0) ...
dpkg: error processing icaclient:i386 (--configure):
subprocess installed post-installation script returned error exit status 2
答案1
是的,您需要先删除 icaclient,您可以使用来执行此操作,sudo apt-get remove icaclient
或者您可能需要使用来手动删除它dpkg
。
完成后,您可以继续升级/安装,然后安装正确的软件包。然后按照以下说明删除 i386 软件包:
答案2
现在这个问题已经解决了。这个问题其实是两个问题。我解决了 icaclient 问题,尽管这个问题最初被第二个问题所阻碍,即未通过 apt-get 安装完成 playonlinux。我还没有弄清楚如何在终端中接受 MS ttf EULA。具体方法是使用 tab 键选择,然后按空格键执行。