Unsatisfied dependency when installing vlc on ubuntu 14.04

Spent about 4 hours now still can not understand what the problem is.

Here is the terminal dump:

machine@machine :~$ 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 (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed Depends: libavcodec55 (>= 6:9.1-1) but it is not installable or libavcodec-extra-55 (>= 6:10~~git20131218.b3189af~ubuntu14.04.1) but it is not installable Depends: libavutil53 (>= 6:9.1-1) but it is not installable Recommends: vlc-plugin-notify (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed Recommends: vlc-plugin-samba (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. machine@machine :~$ sudo apt-get install libavcodec55 Reading package lists... Done Building dependency tree Reading state information... Done Package libavcodec55 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libavcodec55' has no installation candidate machine@machine :~$ sudo apt-get install libavutil53 Reading package lists... Done Building dependency tree Reading state information... Done Package libavutil53 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libavutil53' has no installation candidate machine@machine :~$ 

I am using ubuntu 14.04 (trusty) and I have tried almost everything but cannot solve these dependencies

The problem is that the dependency is shown for libraries that are not available. PLEASE HELP in resolving this. Thanks!

PS: My askubuntu account does not work for incorrect account mismatch, which is why I asked SO

This is NightMare: \

+5
source share
5 answers

Apparently, a third-party PPA was installed, I decided to use the below command commands in the terminal:

remove third-party PPAs

 sudo rm /etc/apt/sources.list.d/mc3man-trusty-media-trusty* 

then remove the PPA added for VLC (if any)

 sudo rm /etc/apt/sources.list.d/videolan-master-daily* 

Update

 sudo apt-get update 

install VLC:

 sudo apt-get install vlc 

Link: Link


then I came across another problem, VLCSub (built-in subtitle loader utility for VLC) did not work in this version of VLC, so I deleted all the installed things above:

 sudo apt-get purge vlc 

and then executed these commands for a VLCSub-compatible VLC ( this is deprecated, see below) ).

sudo add-apt-repository ppa: djcj / vlc-stable update sudo apt-get sudo apt-get install vlc

Strike>

Link: Link


EDIT (Updated July 7, 2015)

so djcj/vlc-stable is doomed, this is how I updated my latest ubuntu installation for 14.04:

for version 2.2.1

 sudo apt-get remove vlc vlc-plugin-* #remove any vlc data / plugin sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update sudo apt-get install vlc vlc-plugin-* 

Link: Link

..... don't forget to add VLSub for a nice subtitle loading experience :)

+10
source

I used ppa: djcj / vlc-stable , but it seems to have disappeared. The last few software updates have complained that they could not find the files.

I uninstalled this PPA and tried a few other PPAs that I found using a Google search but nothing worked. I kept getting the same / similar errors as above.

Finally, I tried the following command:

 sudo apt-get purge vlc-* # include the hyphen 

He successfully uninstalled vlc-data strong>. After that, I was able to install and run VLC with the following commands:

 sudo add-apt-repository ppa:videolan/stable-daily sudo apt-get update sudo apt-get install vlc 

Hope this helps.

+7
source

This worked very well for me:

 sudo apt-get update sudo apt-get install aptitude sudo aptitude update sudo aptitude install vlc 
+2
source

I was able to install using the following set of commands

  sudo apt-get install libglapi-mesa sudo apt-get install libgles1-mesa sudo apt-get install libgles2-mesa sudo apt-get install vlc 
+1
source

I am not a professional, but this error sounds like a problem with which alredy seemed to me

1) Try updating your apt?

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

2) Can you install other packages?

-Try viewing / reset the list of your sources, then run apt-get update before checking again.

A list of package sources is located in /etc/apt/./var/lib/apt/lists which contains lists of known packages received from all configured sources during the last apt-get update. This can help remove this in some rare cases and does not have important side effects, but usually apt-get update is enough. https://askubuntu.com/questions/436366/i-am-not-able-to-install-any-packages-via-apt-get-why

-O: "E: Unable to fix problems, you had broken packages"

see: http://www.linuxquestions.org/questions/linux-desktop-74/unable-to-correct-problems-you-have-held-broken-packages-4175510237/

0
source

Source: https://habr.com/ru/post/1206975/


All Articles