-1

После обновления всей системы до Sid у меня возникли некоторые проблемы с драйверами NVidia, которые мне пришлось переустановить. Но я заметил, что некоторые зависимости VLC теряются вместе с процессом удаления NVidia. И конечно же, VLC там больше не было. Я не могу установить VLC из Sid, из Stable и из собственного PPA Videolan.

Теперь каждый раз, когда я пытаюсь переустановить VLC, я получаю такой вывод:

The following packages have unmet dependencies:
 vlc : Depends: vlc-l10n (= 3.0.0~rc4-2) but it is not going to be installed
       Depends: vlc-plugin-base (= 3.0.0~rc4-2) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 3.0.0~rc4-2) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 3.0.0~rc4-2) but it is not going to be installed
       Recommends: vlc-plugin-skins2 (= 3.0.0~rc4-2) but it is not going to be installed
       Recommends: vlc-plugin-video-splitter (= 3.0.0~rc4-2) but it is not going to be installed
       Recommends: vlc-plugin-visualization (= 3.0.0~rc4-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

А также:

$ sudo apt install vlc=2.2.7-1~deb9u1
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-bin (= 2.2.7-1~deb9u1) but 3.0.0~rc4-2 is to be installed
       Depends: vlc-plugin-base (= 2.2.7-1~deb9u1) but it is not going to be installed
       Depends: vlc-plugin-qt (= 2.2.7-1~deb9u1) but 3.0.0~rc4-2 is to be installed
       Depends: vlc-plugin-video-output (= 2.2.7-1~deb9u1) but 3.0.0~rc4-2 is to be installed
       Recommends: vlc-plugin-notify (= 2.2.7-1~deb9u1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.7-1~deb9u1) but it is not going to be installed
       Recommends: vlc-plugin-skins2 (= 2.2.7-1~deb9u1) but it is not going to be installed
       Recommends: vlc-plugin-video-splitter (= 2.2.7-1~deb9u1) but it is not going to be installed
       Recommends: vlc-plugin-visualization (= 2.2.7-1~deb9u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Если я попытаюсь установить одну за другой рекурсивно, то наступит момент, когда конкретная версия пакета нигде не будет найдена.

В настоящее время моя политика кэширования выглядит следующим образом:

vlc:
  Installed: (none)
  Candidate: 3.0.0~rc4-2
  Version table:
     3.0.0~rc4-2 500
        500 http://ftp.us.debian.org/debian sid/main amd64 Packages
     2.2.7-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     2.2.2+git20170721+r59033+56~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/videolan/stable-daily/ubuntu xenial/main amd64 Packages

Это мой sources.list:

# deb cdrom:[Official Debian GNU/Linux Live 9.3.0 xfce 2017-12-09T13:26]/ sid main

deb http://ftp.us.debian.org/debian/ sid main non-free contrib
deb-src http://ftp.us.debian.org/debian/ sid main non-free contrib

deb http://ftp.us.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

Также на sources.list.d:

deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu xenial main
deb-src http://ppa.launchpad.net/videolan/stable-daily/ubuntu xenial main

И если я попытаюсь установить версию PPA:

$ sudo apt install vlc=2.2.2+git20170721+r59033+56~ubuntu16.04.1
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.2+git20170721+r59033+56~ubuntu16.04.1) but it is not going to be installed
       Depends: libavcodec-ffmpeg56 (>= 7:2.4) but it is not installable or
                libavcodec-ffmpeg-extra56 (>= 7:2.4) but it is not installable
       Depends: libavutil-ffmpeg54 (>= 7:2.4) but it is not installable
       Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
                libgles1
       Depends: libvlccore8 (>= 2.2.0) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.2.2+git20170721+r59033+56~ubuntu16.04.1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.2+git20170721+r59033+56~ubuntu16.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Тогда я тоже попробовал:

$ sudo apt install vlc-nox=2.2.2+git20170721+r59033+56~ubuntu16.04.1
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-nox : Depends: libavcodec-ffmpeg56 (>= 7:2.4) but it is not installable or
                    libavcodec-ffmpeg-extra56 (>= 7:2.4) but it is not installable
           Depends: libavformat-ffmpeg56 (>= 7:2.4) but it is not installable
           Depends: libavutil-ffmpeg54 (>= 7:2.4) but it is not installable
           Depends: libchromaprint0 (>= 0.2) but it is not installable
           Depends: libjpeg8 (>= 8c) but it is not installable
           Depends: liblivemedia50 but it is not installable
           Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
           Depends: libpostproc-ffmpeg53 (>= 7:2.4) but it is not installable
           Depends: libschroedinger-1.0-0 (>= 1.0.10) but it is not installable
           Depends: libsidplay2v5 but it is not installable
           Depends: libswscale-ffmpeg3 (>= 7:2.4) but it is not installable
           Depends: libvlccore8 (>= 2.2.0) but it is not going to be installed
           Depends: libx265-79 (>= 1.9) but it is not installable
E: Unable to correct problems, you have held broken packages.

И я конечно попробовал:

sudo apt update
sudo apt upgrade
sudo apt clean
sudo apt autoclean
sudo apt autoremove

Много, много раз.

1 ответ1

0

Я решил свою проблему, полностью удалив драйверы NVidia, установив VLC, а затем переустановив NVidia. Не уверен, как эти две вещи связаны.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .