在 Ubuntu 15.10 中安装 Adobe Acroread 时出现以下错误:
xyz@abc:~$ sudo dpkg -i /home/shiva/acroread-bin_9.5.5-1raring1_i386.deb
(Reading database ... 442228 files and directories currently installed.)
Preparing to unpack .../acroread-bin_9.5.5-1raring1_i386.deb ...
Unpacking acroread-bin:i386 (9.5.5-1raring1) over (9.5.5-1raring1) ...
dpkg: dependency problems prevent configuration of acroread-bin:i386:
acroread-bin:i386 depends on libatk1.0-0 (>= 1.12.4).
acroread-bin:i386 depends on libc6 (>= 2.3.6-6~).
acroread-bin:i386 depends on libfontconfig1 (>= 2.9.0).
acroread-bin:i386 depends on libgcc1 (>= 1:4.1.1).
acroread-bin:i386 depends on libgdk-pixbuf2.0-0 (>= 2.22.0).
acroread-bin:i386 depends on libglib2.0-0 (>= 2.12.0).
acroread-bin:i386 depends on libgtk2.0-0 (>= 2.24.0).
acroread-bin:i386 depends on libidn11 (>= 1.13).
acroread-bin:i386 depends on libpango1.0-0 (>= 1.14.0).
acroread-bin:i386 depends on libstdc++6 (>= 4.1.1).
acroread-bin:i386 depends on libx11-6.
acroread-bin:i386 depends on libxext6.
acroread-bin:i386 depends on libxml2 (>= 2.6.27).
acroread-bin:i386 depends on libxt6.
acroread-bin:i386 depends on zlib1g (>= 1:1.1.4).
dpkg: error processing package acroread-bin:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for man-db (2.7.4-1) ...
Errors were encountered while processing:
acroread-bin:i386
有人能帮忙解决这个问题吗?
提前致谢。
答案1
您当然可以执行以下操作:
sudo apt-get -f install
这可能会解决dpkg
错误:
dependency problems - leaving unconfigured
但看起来你正在将 Raring Ringtail 的 Acrobat Reader deb 包安装到你的 Wily Werewolf 安装中。请尝试以下操作,我在 Trusty 上测试过,而不是 Wily。首先是一些必需的文件(64 位系统上需要):
sudo apt-get install libgtk2.0-0:i386 libnss3-1d:i386 libnspr4-0d:i386 lib32nss-mdns* libxml2:i386 libxslt1.1:i386 libstdc++6:i386
以及 gdebi 安装程序:
sudo apt-get install gdebi
然后下载并安装阅读器本身直接地来自 Adobe 网站:
wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb
sudo gdebi AdbeRdr9.5.5-1_i386linux_enu.deb
这在 Trusty Tahr 上测试得很好,我相信在 Wily 上也一定能奏效:
参考: