如何在debian sid上安装mplayer?

ppr

尝试在debian sid上安装mplayer时出现以下错误消息:

# apt-get install mplayer
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:
 mplayer : Depends: libdvdnav4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

到目前为止,libdvdnav4已安装:

$  apt-cache policy libdvdnav4
libdvdnav4:
  Installed: 5.0.1-1
  Candidate: 5.0.1-1
  Version table:
 *** 5.0.1-1 0
        500 http://ftp.fr.debian.org/debian/ unstable/main amd64 Packages
        500 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
     4.2.0+20120524-2 0
        500 http://ftp.fr.debian.org/debian/ stable/main amd64 Packages

我确实尝试通过使用非官方的deb-multimedia存储库来解决该问题。即使启用此存储库,也会出现错误。

$  apt-cache policy mplayer
mplayer:
  Installed: (none)
  Candidate: 2:1.0~rc4.dfsg1+svn34540-1+b2
  Version table:
     3:1.1.1+20140928+svn37289-dmo5 0
        100 http://www.deb-multimedia.org/ sid/main amd64 Packages
     2:1.0~rc4.dfsg1+svn34540-1+b2 0
        500 http://ftp.fr.debian.org/debian/ stable/main amd64 Packages
        100 /var/lib/dpkg/status
法希姆·米莎(Faheem Mitha)

mplayer软件包不再存在于sid中,这就是为什么它不起作用的原因。您可以从自己的输出中看到这一点apt-cache policy mplayerSid未列出。一种替代方法是使用mplayer2

通常最好避免使用deb-multimedia,除非您需要的东西不是Debian所固有的,并且您确实非常了解自己在做什么。通常,即使维护者是Debian开发人员,它也不能很好地与Debian配合使用。如果您确实包含deb-multimedia,请将其固定为低优先级,以免干扰系统的其余部分。我有以下内容/etc/apt/preferences

Package: *
Pin: origin www.deb-multimedia.org
Pin-Priority: 1

您可能还想查看方便的前端smplayer

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章