无法将 VLC 安装到 Debian 无头服务器上,与 VLC:i386 依赖项冲突

无法将 VLC 安装到 Debian 无头服务器上,与 VLC:i386 依赖项冲突

我正在尝试将 VLC 安装到我的 Debian 服务器上,但它与某些内容发生冲突。

下面是我用来尝试调试问题所在的一些命令,但我完全不知道下一步该去哪里。任何指点都会很棒,因为我完全陷入困境。如果您需要更多信息,请询问。

谢谢



$ sudo apt-get install vlc
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:
 vlc : Depends: vlc-nox (= 2.2.1-1~deb8u1) but it is not going to be installed
   Recommends: vlc-plugin-notify (= 2.2.1-1~deb8u1) but it is not going to be installed
   Recommends: vlc-plugin-samba (= 2.2.1-1~deb8u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ aptitude why-not vlc
i   winetricks                        Recommends zenity | kdebase-bin
p   zenity:i386                       Provides   zenity
p   zenity:i386                       Depends    libnotify4:i386 (>= 0.7.0)
p   libnotify4:i386                   Recommends notification-daemon:i386
p   plasma-widgets-workspace:i386     Provides   notification-daemon:i386
p   plasma-widgets-workspace:i386     Depends    plasma-dataengines-workspace:i386 (= 4:4.11.13-2)
p   plasma-dataengines-workspace:i386 Depends    libakonadi-calendar4:i386 (>= 4:4.11.1)
p   libakonadi-calendar4:i386         Depends    libakonadi-contact4:i386 (= 4:4.14.2-2+b1)
p   libakonadi-contact4:i386          Depends    phonon:i386
p   phonon:i386                       Depends    phonon-backend-vlc:i386 | phonon-backend:i386
p   phonon-backend-vlc:i386           Recommends vlc:i386
p   vlc:i386                          Conflicts  vlc

答案1

这可能是一个回归事件superuser.com 上的旧问题

正如原始答案所示,运行

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install build-essential

首先,然后

sudo apt-get install vlc

相关内容