0
sudo apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 mysql-server : Depends: mysql-server-5.7 but it is not going to be installed
 vlc : Depends: vlc-nox (= 2.2.2-5ubuntu0.16.04.4) but it is not going to be installed
       Depends: libqt5x11extras5 (>= 5.1.0) but it is not going to be installed
       Depends: libsdl-image1.2 (>= 1.2.10) but it is not going to be installed
       Depends: libva-drm1 (>= 1.1.0) but it is not going to be installed
       Depends: libva-x11-1 (>= 1.0.3) but it is not going to be installed
       Depends: libvlccore8 (>= 2.2.0) but it is not going to be installed
       Depends: libxcb-composite0 but it is not going to be installed
       Depends: libxcb-xv0 (>= 1.2) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.2.2-5ubuntu0.16.04.4) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.2-5ubuntu0.16.04.4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
mikewhatever
  • 32,638
hbeast
  • 1

1 Answers1

1

Try:

sudo apt-get -f install

-f to fix the broken dependencies. After this do run the following:

sudo dpkg --configure -a

Then again

sudo apt-get -f install

  • I tried this,but the problem remains the same. – hbeast Nov 04 '17 at 13:20
  • i have been facing this problem while installing mongodb and mysql too. – hbeast Nov 04 '17 at 13:24
  • try this link https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa – neferpitou Nov 04 '17 at 13:32
  • @hbeast - You really need to update your question with that information as it was asked in the comments and relevant to your problem. I also wish to examine your repos , see my comment above. – Panther Nov 04 '17 at 14:19
  • @Panther repository ppa:videolan/master-daily this was the repo i used – hbeast Nov 04 '17 at 14:36
  • @hbeast As already commented, that PPA is the source of your problem. –  Nov 04 '17 at 17:33