Проблема установки VLC (установка через терминал)

Я хотел установить VLC на Ubuntu, он не работал, не обновлял систему, а обновлял ее, но все же он не работает.

Я использовал как центр Ubuntu Software, так и терминал для это.

В терминале я набрал команду sudo apt-get install vlc

Терминал сообщения об ошибке дает мне следующее:

arif@arifpc:~$ sudo apt-get install vlc
[sudo] password for arif: 
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.0~rc1-1ppa2~trusty) but it is not going to be installed
       Depends: libavcodec56 (>= 7:2.4~) but it is not going to be installed
       Depends: libgles1-mesa (>= 7.8.1) but it is not installable or
                libgles1 but it is not installable
       Depends: libsdl-image1.2 (>= 1.2.10) but it is not installable
       Depends: libsdl1.2debian (>= 1.2.11) but it is not installable
       Depends: libva-drm1 but it is not installable
       Depends: libva-x11-1 (> 1.3.0~) but it is not installable
       Depends: libva1 (> 1.3.0~) but it is not installable
       Depends: libvlccore8 (>= 2.2.0~pre1) but it is not going to be installed
       Depends: libxcb-composite0 but it is not installable
       Depends: libxcb-xv0 (>= 1.2) but it is not installable
       Recommends: vlc-plugin-notify (= 2.2.0~rc1-1ppa2~trusty) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.0~rc1-1ppa2~trusty) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Примечание: м с использованием Ubuntu 14.04 LTS

1
задан 22 July 2015 в 10:58

2 ответа

Это случилось со мной после обновления с Ubuntu 14.04 до 14.10.

Я нашел это решение, которое помогло мне.

Вам нужно добавить репозиторий Solution с этим кодом в терминале:

sudo add-apt-repository ppa:xorg-edgers/ppa 
apt-cache policy libgl1-mesa-glx libglapi-mesa

Затем перезагрузите компьютер. Затем обновите репозитории со следующими командами и установите VLC:

sudo apt-get update
sudo apt-get install vlc
6
ответ дан 24 May 2018 в 01:45
  • 1
    Или, напротив, работало для меня: sudo apt install ppa-purge, sudo ppa-purge xorg-edgers. – Atcold 31 March 2017 в 15:01

Выполните следующие команды:

sudo apt-get -f install

sudo dpkg --configure -a

Это должно установить все отсутствующие зависимости и настроить dpkg.

0
ответ дан 24 May 2018 в 01:45
  • 1
    Спасибо, Bro, но на самом деле ближайший archieve.ubuntu.com не работал, поэтому, когда я изменил его (внутри /etc/apt/sources.list) на us.archieve.ubuntu.com, он сработал. – Bangash 20 November 2014 в 00:14

Другие вопросы по тегам:

Похожие вопросы: