我正在尝试从Webupd8 PPA。主nemo
包安装失败,出现以下错误:
$ sudo apt-get install nemo
[sudo] password for lads:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nemo : Depends: nemo-data (= 1.8.4-1.1) but it is not going to be installed
Recommends: nemo-fileroller but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
但是,该nemo-data
包已安装并匹配所需的版本:
$ apt-cache show nemo-data
Package: nemo-data
Source: nemo
Priority: optional
Section: gnome
Installed-Size: 309
Maintainer: Jacob Zimmermann <[email protected]>
Architecture: all
Version: 2.8.4-1~webupd8~trusty01
Replaces: nemo (<< 2.3)
Suggests: nemo
Depends: dconf-gsettings-backend | gsettings-backend, python2.7
Breaks: nemo (<< 2.3)
Filename: pool/main/n/nemo/nemo-data_2.8.4-1~webupd8~trusty01_all.deb
Size: 63218
MD5sum: d1bc65a62f2a8b6ce40d1a1bc572a92b
SHA1: 33dcbd960711b9ec114855812601fb8cd02cb058
SHA256: 252e8f09408d65a3fa1dd12dd4831af7cf81bef81425386d6e0c850ee792a54f
Description-en: File manager and graphical shell for Unity (data files)
Nemo is the official file manager for the Cinnamon desktop. It allows
to browse directories, preview files and launch applications associated
with them. It is also responsible for handling the icons on the Cinnamon
desktop. It works on local and remote filesystems.
.
This package contains pictures, localization files and other data
needed by nemo.
Description-md5: 02a390092aabc879823f7e943d7aad23
Original-Maintainer: Linux Mint <[email protected]>
Package: nemo-data
Priority: optional
Section: universe/misc
Installed-Size: 3741
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Nicolas Bourdaud <[email protected]>
Architecture: all
Source: nemo
Version: 1.8.4-1.1
Depends: dconf-gsettings-backend | gsettings-backend, python:any (>= 2.7.1-0ubuntu2)
Suggests: nemo
Filename: pool/universe/n/nemo/nemo-data_1.8.4-1.1_all.deb
Size: 479372
MD5sum: 214953fff1daac66e2e0eaf82c77944a
SHA1: 38e4f4407892416a263ceef1fbddc15252b39e5b
SHA256: f3c845a37e82583a7dec5e47d8fd76bb94a9ec84802de3ae30fdffc9226b54f8
Description-en: File manager and graphical shell for Cinnamon (data files)
Nemo is the official file manager for the Cinnamon desktop. It allows
to browse directories, preview files and launch applications associated
with them. It is also responsible for handling the icons on the Cinnamon
desktop. It works on local and remote filesystems.
.
This package contains pictures, localization files and other data
needed by nemo.
Description-md5: 9d6fd03be1bc86aa86ee0d95ef77a087
Homepage: http://www.github.com/linuxmint/nemo/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
我尝试了基本的技巧,但系统没有报告任何损坏的包或其他可能最终阻止nemo
安装的明显问题:
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
这里出了什么问题?有任何提示可以说明原因或如何识别吗?
更新: 输出由 Thomas W. 要求。:
$ apt-cache policy nemo nemo-data
nemo:
Installed: (none)
Candidate: 1.8.4-1.1
Version table:
1.8.4-1.1 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe armhf Packages
nemo-data:
Installed: 2.8.4-1~webupd8~trusty01
Candidate: 2.8.4-1~webupd8~trusty01
Version table:
*** 2.8.4-1~webupd8~trusty01 0
500 http://ppa.launchpad.net/webupd8team/nemo/ubuntu/ trusty/main armhf Packages
100 /var/lib/dpkg/status
1.8.4-1.1 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe armhf Packages
答案1
正如您在错误消息中看到的那样
nemo : Depends: nemo-data (= 1.8.4-1.1)
apt-cache policy nemo-data
但节目的输出
nemo 数据: 已安装:2.8.4-1~webupd8~trusty01 候选:2.8.4-1~webupd8~trusty01 版本表: *** 2.8.4-1~webupd8~trusty01 0 500 http://ppa.launchpad.net/webupd8team/nemo/ubuntu/ trusty/main armhf 软件包 100 /var/lib/dpkg/状态 1.8.4-1.1 0 500 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe armhf 软件包
意思是,包管理器不能自动安装正确的版本(aptitude
可以做到这一点;))。
跑步
sudo apt-get install nemo-data=1.8.4-1.1
安装所需的版本。
原因何在?Webupd8 PPA 包含nemo-data
的软件包armhf
,但目前没有 的匹配nemo
软件包armhf
。