sudo apt-get update && sudo apt-get install netflix-desktop
给出错误
The following packages have unmet dependencies:
netflix-desktop : Depends: wine-browser-installer but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
但dpkg --get-selections | grep hold
什么也没显示。
我运行的是 12.04 64 位版本。我已按照添加 PPA 后如何解决未满足的依赖关系?:
- 确认主、宇宙、受限和多元宇宙软件源已启用
sudo apt-get clean
sudo apt-get -f install
(返回‘0 已升级、0 已新安装、0 已删除且 0 未升级。’)sudo dpkg --configure -a
sudo apt-get -f install
(再次‘0 升级,0 新安装,0 删除并且 0 未升级。’)sudo apt-get -u dist-upgrade
(升级了 0 个,新安装了 0 个,删除了 0 个,未升级了 0 个。)- 使用 Y PPA Manager 检查重复的 ppa(未发现)
[编辑] 我在其他软件包中也遇到了同样的错误。以下是 Alaa 请求的输出:
sudo apt-get install wine-browser-installer
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:
wine-browser-installer : Depends: wine-compholio (>= 1.5.19~precise1)
E: Unable to correct problems, you have held broken packages.
[编辑 2] 这样做sudo apt-get install wine-compholio
会给出进一步依赖项的列表。我安装了每一个,现在我已完成,sudo apt-get install netflix-desktop
没有错误