我尝试在安装 nemo 文件管理器后安装 nemo-seahorse 扩展,如以下网站所述
http://www.webupd8.org/2016/11/nemo-320-with-unity-patches-and-without.html http://www.webupd8.org/2013/10/install-nemo-with-unity-patches-and.html http://www.noobslab.com/2017/01/latest-nemo-file-manager-with.html
但是每次我尝试使用该命令安装 nemo-seahorse 时,sudo apt-get install nemo-seahorse
都会收到类似的错误:
dpkg: error processing archive /var/cache/apt/archives/nemo-seahorse_3.2.0-1~webupd8~xenial0_amd64.deb (--unpack):
trying to overwrite '/usr/bin/seahorse-tool', which is also in package seahorse-nautilus 3.11.92-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nemo-seahorse_3.2.0-1~webupd8~xenial0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
或者
dpkg: error processing archive /var/cache/apt/archives/nemo-seahorse_3.2.0-b~xenial~NoobsLab.com_amd64.deb (--unpack):
trying to overwrite '/usr/bin/seahorse-tool', which is also in package seahorse-nautilus 3.11.92-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nemo-seahorse_3.2.0-b~xenial~NoobsLab.com_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
因此我每次都删除了软件包和 PPA,然后使用 sudo apt-get install nemo(ubuntu 中默认提供的)安装了 nemo,并尝试按照此站点中给出的方式构建扩展: 如何安装 nemo 扩展? 但它仍然不起作用我最后在终端上得到了这个:
gpg: skipped "Clement Lefebvre <[email protected]>": No secret key
gpg: dpkg-sign.2qaQaPF8/nemo-seahorse_3.2.0.dsc: clearsign failed: No secret key
dpkg-buildpackage: error: failed to sign .dsc and .changes file
那么扩展程序没有安装?我该如何安装它?在 nemo 文件管理器的扩展程序列表中,我只能找到已选择的 nemo-fileroller,看不到其他扩展程序。但是,如果我通过构建进行安装,我想我将无法获得扩展程序的更新。如果我犯了一些非常基本的错误,请见谅,感谢您抽出时间。
答案1
如果你不是使用 Nautilus 文件管理器
如果您使用 nautilus,请在此处停止并跳至下一部分。
看起来在您第一次尝试时,ppa 试图覆盖系统上的 nautilus 或 nautilus 插件依赖项。覆盖会很糟糕,因为它可能会破坏 nautilus,因此系统会阻止您。如果您不使用 nautilus,您可以尝试将其完全删除:
sudo apt-get remove nautilus seahorse-nautilus
sudo apt-get autoremove
# 摆脱了闲置的 nautilus 额外内容- 尝试再次从 ppa 安装
sudo apt-get install nemo-seahorse
如果你做使用 nautilus
如果您简单地删除该seahorse-nautilus
包然后执行 autoremove 命令,您可能能够从 ppa 完成安装。
sudo apt-get remove seahorse-nautilus
sudo apt-get autoremove
# 删除多余的未使用的依赖项- 尝试再次从 ppa 安装
sudo apt-get install nemo-seahorse