Я хотел установить VLC на Ubuntu, он не работал, обновленная система, чем обновленный это, но тем не менее он не работает.
Я использовал и Центр программного обеспечения Ubuntu и Терминал для этого.
В терминале я ввел команду 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
На самом деле я решил эту проблему тот же день, проблема была с самым близким archive.ubuntu.com (Сервер архивирования Ubuntu), я изменил все его экземпляры (13 случаев в моем случае) на us.archive.ubuntu.com, и это работало. Конфигурационный файл, где я изменил эти настройки, был/etc/apt/sources.list.
Редактирование : Недавно я нашел другой вопрос на askubuntu, принятый ответ на этот вопрос является также хорошим решением этой проблемы, если Вы не хотите изменять адрес archive.ubuntu.
Вот тот вопрос.
Выполните следующие команды
sudo apt-get -f install
sudo dpkg --configure -a
, Это должно установить все недостающие зависимости и настроить dpkg.
Это произошло со мной после обновления от Ubuntu 14.04 до 14,10.
я нашел этот Решение , которое помогло мне.
необходимо добавить xorg-edgers, новый X трещин Репозиторий с этим Кодом в Терминале:
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
При помощи aptitude
я могу решить эту проблему.
моя тема в сообществе UBUNTU.ir
Решение
sudo apt install aptitude
sudo aptitude install vlc
теперь необходимо выбрать: n
Затем терминал произведет
Downgrade the following packages:
1) libgl1-mesa-glx [12.0.6-0ubuntu0.16.04.1 (now) -> 11.2.0-1ubuntu2 (xenial
2) libglapi-mesa [12.0.6-0ubuntu0.16.04.1 (now) -> 11.2.0-1ubuntu2 (xenial)]
Accept this solution? [Y/n/q/?] y
Теперь снижения способности, зависящие пакеты и установка vlc.