Adobe Reader 需要修复或删除(Elementary OS)

Adobe Reader 需要修复或删除(Elementary OS)

我需要卸载 Adob​​e Reader 版本 9.5.5-1。我收到此错误“项目无法卸载或删除...”我已经尝试过 sudo dpkg --purge adobereader-enu 但仍然失败。详细信息如下:


Unpacking acroread-bin:i386 (from .../acroread-bin_9.5.5- 1precise1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/acroread-bin_9.5.5-  1precise1_i386.deb (--unpack):
trying to overwrite  '/opt/Adobe/Reader9/Reader/intellinux/mozilla/prefs.js',   which is also in package  adobereader-enu:i386 9.5.5
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Errors were encountered while processing:
/var/cache/apt/archives/acroread-bin_9.5.5-1precise1_i386.deb
dpkg: dependency problems prevent configuration of acroread:
acroread depends on acroread-bin; however:
Package acroread-bin is not installed.

dpkg: error processing acroread (--configure):
dependency problems - leaving unconfigured

答案1

由于我们测试了注释中的第一个错误,并且没有包,所以让我们尝试第二个:

Errors were encountered while processing:
/var/cache/apt/archives/acroread-bin_9.5.5-1precise1_i386.deb
dpkg: dependency problems prevent configuration of acroread:
acroread depends on acroread-bin; however:
Package acroread-bin is not installed.

让我们跟随Elementary 社区问答的第 2 步,其中指出:

2) 安装重要的附加包和存储库

我总是安装 Synaptic、dconf、gksu、leafpad 和 Gdebi,因为它们不是默认安装的,在某些情况下,synaptic 和 gdebi 等程序提供了比默认软件中心更好的体验。我还安装了替代浏览器,例如 Google Chrome(可以从他们的网站和办公套件下载)。

虽然我倾向于不同意在这里添加 Ubuntu 存储库,但我确实同意添加突触或者格德比因为增加了依赖性检查。

直觉

该文件/opt/Adobe/Reader9/Reader/intellinux/mozilla/prefs.js已由另一个软件包安装,该软件包执行与您所需的 Adob​​e Reader 相同的功能。由于我们无法判断该软件包是什么,因此我们需要使用具有依赖性检查的工具来查看该软件包是什么,然后卸载该软件包,然后安装最新版本的 Adob​​e Reader。


脚步

  1. 打开终端;sudo apt-get install synaptic gdebi
  2. 可选:添加存储库:sudo apt-add-repository ppa:versable/elementary-update
  3. sudo apt-get update
  4. 打开应用程序菜单 > 系统 > Synaptic。
  5. 搜索 Adob​​e。如果安装了类似于阅读器的任何内容,请突出显示该软件包,选择“标记为卸载”。
  6. 在步骤 1 的终端中,sudo gdebi ../acroread-bin_9.5.5- 1precise1_i386.deb

将结果发布在您原来的问题中。

相关内容