Home » Topic » ERROR “vlc : Depends: vlc-nox (= 2.2.0~rc1-1ppa2~trusty) or following packages have unmet dependencies” while installing vlc media player on Ubuntu 14.4

ERROR “vlc : Depends: vlc-nox (= 2.2.0~rc1-1ppa2~trusty) or following packages have unmet dependencies” while installing vlc media player on Ubuntu 14.4

This tutorial will help you if you are facing packages broken and unmet dependencies issues on ubuntu desktop system while using APT package mananer.
APT is a package management system for Debian and Ubuntu Linux distributions. For the most part, APT is easy to use for installing, removing, and updating packages. In rare instances, often when you are mixing in third-party dependencies, there is a chance that apt-get may end up giving you an error as below.

root@linuxpcfix [~] 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 (= 2.2.0~rc1-1ppa2~trusty) but it is not going to be installed

Solutions:
It is always a good idea to back up configuration files like /etc/apt/sources.list, so you can revert the changes if needed.

1. first off all backup of your source.list in safe place then open the software and update center using following steps.
a. Press CTRL+F2 type “software-properties-gtk” and PRESS Enter.
System Settings >> System >> Software and Updates
b. Under Ubuntu Software tab, select and enable all the repositories.

Then run the following command.

root@linuxpcfix [~] apt-get clean
root@linuxpcfix [~] apt-get autoclean

apt-get clean command clears out the local repository and retrived package
Then run the following command to fix the broken pacakges.

root@linuxpcfix [~] apt-get -f install

After that perform the following command.

root@linuxpcfix [~] dpkg –configure -a
root@linuxpcfix [~] apt-get -f install

If the output is similiar as below that means it failed

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

2. Next Solution is as below.

root@linuxpcfix [~] apt-get -u dist-upgrade
root@linuxpcfix [~] apt-get -o Debug::pkgProblemResolver=yes dist-upgrade

If it not fix the conflicts, then output will as below.

0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Then remove the confilct package as below.

root@linuxpcfix [~] apt-get remove –dry-run package-name

If the problem still persist then follow the below final step.
3. Remove/Disable PPA repository.
To disable and remove the PPA repository follow the below steps.
a. Press CTRL+F2 type “software-properties-gtk” and PRESS Enter.
OR
System Settings >> System >> Software and Updates
b. Under Other Software tab, Uncheck PPA lines to disable.
Then run the following command to purge PPA repository.

root@linuxpcfix [~] apt-get install ppa-purge
root@linuxpcfix [~] ppa-purge ppa:someppa/ppa

Then run the follwoing command to install require package.

root@linuxpcfix [~] apt-get install vlc
root@linuxpcfix [~] apt-get install package-name

Now your package problem should be resolved.

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud