Dependencies unfulfilled

How to resolve unfulfilled package dependencies in Ubuntu and derivatives

Do you have problems with unfulfilled dependencies? You are not the only one.

I bring you a topic that is given to us by a reader's problem, he has used our Contact section to send us his problem, a fairly common problem in Ubuntu and Debian that has a partial solution, I mean resolve the dependencies of a package to install. The query read like this:

hello, I have problems installing flash on my lubuntu 13.10, I have a sony vcpm120al netbook, with 2gb of ram and about 250gb of hard disk, when I try to install the plugin either by download or by the lubuntu software center it throws me to An error, it did not come installed by default as I think it should have come
when I try to install the package it tells me this Package dependencies cannot be resolved

This error could be due to additional software packages that are missing or not installable. It could also be a conflict between software packages that cannot be installed together, and in details The following packages have unmet dependencies:

flashplugin-installer: Depends: libnspr4-0d but it will not be installed

thank you in advance, I add that I just left windows and I don't really know how to use lubuntu.

What are unfulfilled "dependencies"?

When we want to install a package or a program in Ubuntu and in Gnu / Linux we not only need the package but we also need complementary files and packages, on which the program we want to install depends. Many times these packages are not found in our system so it gives us this error. To solve this we usually have to install the packages on which the program depends, but as it happens here, sometimes the system insists on giving an error or we are not doing the installation correctly. Most of the time it is not due to this but that we have a broken package from some other installation and that is why it gives us the dependency error.

Solution to the error of unfulfilled dependencies

To solve this, the most practical thing is to open the terminal and write the following

sudo apt-get autoremove

sudo apt-get autoclean

sudo apt-get update

sudo apt-get -f install

The first commands cause the system to clean the memory of packages and installation, both effective and clean the system of orphaned packages, that is, of packages that at one time were used by an application and are no longer used by any program. The third command updates the Apt system. And the last command resolves any broken dependencies that exist on the system.

After this, the installation can be done correctly. In this specific case, I would recommend opening the terminal and typing the following

sudo apt-get install lubuntu-restricted-extras

This will install a series of programs that are classified as necessary extras for novice users. Among them would be the parcel to have flash in our system. If this does not work either to have flash, the most direct and safe thing is to write in the terminal

sudo apt-get install flashplugin-installer

With this, if the installation of Lubuntu is correct, it will be enough to solve the problem of Lukas, the reader who has written to us. Finally, remind you that if you have any questions or requests, do not hesitate to contact us. If it is in our power, we will solve it.

More information - Installing DEB packages quickly and easily, Synaptic, a Debianite manager in Ubuntu,