尝试覆盖 '*',它也位于 faenza-icon-theme 0.8 包中

尝试覆盖 '*',它也位于 faenza-icon-theme 0.8 包中

我在 Ubuntu 10.10 64 位上安装了 Docky,最近升级后发现“Helpers”不再可用。经过一番研究,我发现 Dockmanager 也不再安装。

我无法通过软件中心或通过终端使用 apt-get 安装它,返回以下错误;

mark@Sonata:~$ sudo apt-get install dockmanager
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  dockmanager
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/94.4kB of archives.
After this operation, 430kB of additional disk space will be used.
(Reading database ... 162015 files and directories currently installed.)
Unpacking dockmanager (from .../dockmanager_0.1.0~bzr83-0ubuntu1~10.10~dockers1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/dockmanager_0.1.0~bzr83-0ubuntu1~10.10~dockers1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/dockmanager/data/skype_invisible.svg', which is also in package faenza-icon-theme 0.8
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/dockmanager_0.1.0~bzr83-0ubuntu1~10.10~dockers1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
mark@Sonata:~$ 

有人能建议如何解决这个问题吗?

答案1

发生的情况是,当您更新时,它尝试安装 dockmanager 的更新,但是您之前安装的主题包做了一些不正常的事情并替换了 dockmanager 的一个文件。

要修复您需要执行以下操作:

sudo apt-get purge faenza-icon-theme

然后尝试重新安装 dockmanager,您还需要向维护人员报告faenza-icon-theme他制作了一个损坏的软件包,他应该尽快修复它。基本上,他需要让它不替换其他软件包中的文件。

答案2

最简单的方法是:

sudo apt-get remove dockmanager
sudo apt-get purge faenza-icon-theme
sudo apt-get install dockmanager faenza-icon-theme

相关内容