0

I'm newbie with Ubuntu -- I use ubuntu 14.04 LTS. I was trying to play some video using ubuntu video player and it required installing some plugins but this error occurred:

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

and here more details:

The following packages have unmet dependencies:    
gstreamer1.0-libav: Depends: libavcodec-extra-54 (>= 6:9.13) but
6:9.18-0ubuntu0.14.04.1 is to be installed    
             Depends: libavformat54 (>= 6:9.1-1) but 6:9.18-0ubuntu0.14.04.1 is to be installed
             Depends: libavutil52 (>= 6:9.1-1) but 6:9.18-0ubuntu0.14.04.1 is to be installed
             Depends: libc6 (>= 2.14) but 2.19-0ubuntu6.6 is to be installed
             Depends: libglib2.0-0 (>= 2.37.3) but 2.40.2-0ubuntu1 is to be installed

I tried also to install VLC player and the package dependencies errors occurred again.

and here more details:

The following packages have unmet dependencies:
vlc: Depends: vlc-nox (= 2.1.6-0ubuntu14.04.1) but
2.1.6-0ubuntu14.04.1 is to be installed
      Depends: libc6 (>= 2.15) but 2.19-0ubuntu6.6 is to be installed
      Depends: libfreetype6 (>= 2.2.1) but 2.5.2-1ubuntu2.4 is to be installed
      Depends: libgcc1 (>= 1:4.1.1) but 1:5.1.0-0ubuntu11~14.04.1 is to be installed
      Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
      Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
      Depends: libstdc++6 (>= 4.6) but 5.1.0-0ubuntu11~14.04.1 is to be installed
      Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be installed

I tried a lot of solutions published on the internet but they didn't work

how can I solve these errors?

UPD: here's the content of the etc/apt/sources.list.d

google-chrome.list google-chrome.list.save

ubuntu-toolchain-r-test-trusty.list

ubuntu-toolchain-r-test-trusty.list.save

webupd8team-sublime-text-2-trusty.list

webupd8team-sublime-text-2-trusty.list.save

sorry of my bad language, English isn't my native..

1 Answers1

0

Try running the following command:

sudo apt-get update && sudo apt-get install -f

This will update your repo cache and then will fix most dependency issues.


If this still fails, please try running the below command and then running the above command immediately after.

sudo apt-get update && sudo apt-get dist-upgrade

This will update all of your software and ensure that you're running on the latest version of Ubuntu.

Kaz Wolfe
  • 34,122
  • 21
  • 114
  • 172