Problem while installing vlc player

I can't install vlc player on my Ubuntu (14.04). I have read this and try to run the commands, but while I run this command:

sudo apt-get install vlc

I got something like this:

    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.1.4+git20150226+r54594+19+11~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed
       Recommends: vlc-plugin-notify (= 2.1.4+git20150226+r54594+19+11~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed
       Recommends: vlc-plugin-pulse (= 2.1.4+git20150226+r54594+19+11~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

What is the problem? Have you any Idea to solve this or Could you please tell я the right procedure by which I хан install vlc средний показатель player?


Update:

After removing the PPA, this is the output of apt-cache policy vlc:

vlc: 
  Installed:  (none) 
  Candidate:  2.1.2-2build2 
    Version table: 
      2.1.6-0ubuntu14.04.1 0 
        100 /var/lib/dpkg/status 
      2.1.2-2build2 0 
        500 archive.ubuntu.com/ubuntu trusty/universe i386 Packages 
      2.0.1-4 0 
        500 archive.ubuntu.com/ubuntu precise/universe i386 Packages

And The command:

apt-cache policy vlc-nox vlc-plugin-notify vlc-plugin-pulse

gives я the following results:

vlc-nox:
  Installed: 2.1.6-0ubuntu14.04.1
  Candidate: 2.1.6-0ubuntu14.04.1
  Version table:
 *** 2.1.6-0ubuntu14.04.1 0
        100 /var/lib/dpkg/status
     2.1.2-2build2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
     2.0.1-4 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
vlc-plugin-notify:
  Installed: 2.1.6-0ubuntu14.04.1
  Candidate: 2.1.6-0ubuntu14.04.1
  Version table:
 *** 2.1.6-0ubuntu14.04.1 0
        100 /var/lib/dpkg/status
     2.1.2-2build2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
     2.0.1-4 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
vlc-plugin-pulse:
  Installed: 2.1.6-0ubuntu14.04.1
  Candidate: 2.1.6-0ubuntu14.04.1
  Version table:
 *** 2.1.6-0ubuntu14.04.1 0
        100 /var/lib/dpkg/status
     2.1.2-2build2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
     2.0.1-4 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
2
задан 20 November 2015 в 15:06

1 ответ

Не используйте PPA, установку vlc из репозиториев Ubuntu.

  1. Удалите PPA, который Вы установили:

    sudo add-apt-repository --remove ppa:videolan/stable-daily
    
  2. Освободите кэш пакета:

    sudo apt-get clean
    
  3. Обновите свои списки пакета:

    sudo apt-get update
    
  4. Понизьте/установите все vlc пакеты до версии репозитория:

    sudo apt-get install --reinstall vlc=2.1.2-2build2 vlc-data=2.1.2-2build2 vlc-nox=2.1.2-2build2 vlc-plugin-notify=2.1.2-2build2 vlc-plugin-pulse=2.1.2-2build2
    

В зависимости от Вашей версии Ubuntu Вы могли бы в настоящее время (20 ноября 2015) получать версию VLC до 2.2.1-3 на Коварном (15.10). Более старые версии Ubuntu могли бы иметь более старые версии VLC в своих репозиториях.

Вы проверяете версии, доступные для Вас с командой:

apt-cache policy vlc

Вывод в качестве примера в моих 15,10 системах на 64 бита был бы:

vlc:
  Installed: (none)
  Candidate: 2.2.1-3
  Version table:
     2.2.1-3 0
        500 http://[YOUR REPOSITORY SERVER URL]/ wily/universe amd64 Packages
2
ответ дан 2 December 2019 в 03:50

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

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