安装软件包时出现错误

安装软件包时出现错误

无论我尝试安装哪个包,似乎都会出现以下错误

installArchives() failed: Preconfiguring packages ... Preconfiguring
packages ... Preconfiguring packages ... Preconfiguring packages ...
Selecting previously unselected package libphonon4. (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 ...
286403 files and directories currently installed.) Unpacking
libphonon4 (from
.../libphonon4_4%3a4.7.0really4.6.0-0ubuntu1_amd64.deb) ... Selecting
previously unselected package phonon-backend-gstreamer. Unpacking
phonon-backend-gstreamer (from
.../phonon-backend-gstreamer_4%3a4.7.0really4.6.2-0ubuntu0.1_amd64.deb)
... Selecting previously unselected package gstreamer0.10-ffmpeg.
Unpacking gstreamer0.10-ffmpeg (from
.../gstreamer0.10-ffmpeg_0.10.13-1_amd64.deb) ... Selecting previously
unselected package phonon. Unpacking phonon (from
.../phonon_4%3a4.7.0really4.6.0-0ubuntu1_amd64.deb) ... Selecting
previously unselected package minitube. Unpacking minitube (from
.../minitube_1.6-1_amd64.deb) ... Processing triggers for
hicolor-icon-theme ... Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index... Processing triggers
for desktop-file-utils ... Processing triggers for gnome-menus ...
Processing triggers for man-db ... Setting up icaclient (12.1.0) ...
dpkg: error processing icaclient (--configure):  subprocess installed
post-installation script returned error exit status 2 Setting up
libphonon4 (4:4.7.0really4.6.0-0ubuntu1) ... No apport report written
because MaxReports is reached already Setting up
phonon-backend-gstreamer (4:4.7.0really4.6.2-0ubuntu0.1) ... Setting
up gstreamer0.10-ffmpeg (0.10.13-1) ... Setting up phonon
(4:4.7.0really4.6.0-0ubuntu1) ... Setting up minitube (1.6-1) ...
Processing triggers for libc-bin ... ldconfig deferred processing now
taking place Errors were encountered while processing:  icaclient
Error in function:  SystemError: E:Sub-process /usr/bin/dpkg returned
an error code (1) Setting up icaclient (12.1.0) ... dpkg: error
processing icaclient (--configure):  subprocess installed
post-installation script returned error exit status 2

请帮忙....

答案1

打开终端 ( ++ Ctrl) ,然后输入以下内容:AltT

  1. sudo apt-get clean
  2. sudo apt-get -f install
  3. sudo dpkg --configure -a

检查您正在安装的内容(我猜是 Citrix 客户端)是否已成功安装。如果没有,请尝试以下操作:

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo apt-get --reinstall install icaclient

答案2

您可以尝试 sudo apt-get remove icaclient 如果您仍在尝试安装 icaclient 然后看一下:http://crazymadeagle.blogspot.com/2013/07/howto-install-citrix-client-on-ubuntu.html

其中描述了您遇到的问题以及他如何解决问题以及他如何安装 icaclient。

相关内容