升级到 12.04 后,不仅图腾已在违背我的意愿和未通知我的情况下卸载,但我无法安装它。
当我尝试通过命令行安装它时,我得到以下输出:
$ sudo apt-get install totem
[sudo] password for <user>:
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:
totem : Depends: totem-common (= 3.0.1-0ubuntu21) but 3.2.2-0ubuntu1~oneiric1 is to be installed
Recommends: totem-plugins but it is not going to be installed
Recommends: totem-mozilla but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我该如何修复此问题?据我所知,升级过程中没有出现任何错误。
评论建议
请将您的建议作为答案发布,以便我可以单独进行跟进。
哈里西布拉欣克
$ sudo apt-get install -f
[sudo] password for <user>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aking1012
sudo apt-get update
获取所有数据并且不给出任何错误。
$ sudo apt-get upgrade
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 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.
重复上述 3 个命令不会产生不同的结果。
$ dpkg-query -W totem-common totem-common3.0.1-0ubuntu21
totem-common 3.2.2-0ubuntu1~oneiric1
No packages found matching totem-common3.0.1-0ubuntu21.
答案1
嗯,您使用的是 GNOME3 Team,它有更高版本的 totem,而 precise 中则没有。假设您不想继续在 precise 中使用该 ppa,(还假设 ppa 不再启用,您应该检查软件源 > 其他软件
单个命令,复制并粘贴全部
sudo apt-get purge totem-common && \
sudo apt-get update && \
sudo apt-get install totem
否则,请重新添加 ppa 以获取精确的源,进行更新。使用该 ppa 的风险由您自行承担,并且您有责任跟踪正在安装的内容等
答案2
我认为图腾已经安装好了,你只需要编解码器尝试运行视频,它会自动安装编解码器
答案3
这对我有用:
sudo apt-get update && \
sudo apt-get purge totem && \
sudo apt-get build-dep totem && \
sudo apt-get install -f totem
一次性复制并粘贴。