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,


61 comments, leave yours

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   15400 said

    Thanks I got that error and with this it disappeared. regards!

    1.    PEDRO said

      thanks it worked very well

      1.    Fabian said

        Thank you very much very helpful.

  2.   jerson said

    good I hope you can help me, desktop user "medium level" I have xubuntu 13.10 32b, I want to know if with these commands 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
    it can clean the repositories of the ones that I no longer use and leave me the system without failures.

  3.   Carlos said

    Well I had ubuntu 13.11 and I solved with this

    sudo apt-get autoclean and then sudo install -f and then reboot scared me when I turned it on everything solved = D
    I hope it serves you salu2

  4.   xinai said

    thank you!

  5.   New Linerobotic said

    Very good partner, here is a script that does everything for you, from a partner it is a system cleaner program that also removes this type of problem only if apt-get install -f persists http://glatelier.org/2009/03/02/limpiando-ubuntu-comandos-y-programas/ highly recommended greetings colleagues 🙂

  6.   hector munoz said

    I want to install a program that is useful for us electronics is called piklab but every time I try I get an error with those things of dependence on deseria help me thank you

    1.    david259 said

      http://ubuntuforums.org/showthread.php?t=123481 you tried this for piklab 🙂 hope it works for you

  7.   pedro said

    I installed openoffice instead of libreoffice, and now I have a problem of unfulfilled dependencies, which won't let me install anything. Any solution?. Thanks

    1.    FenixPlays_YT said

      Oh my friend, the same thing happens to me whenever I want to install something either through the package manager or the store gives me the error of unfulfilled dependencies and tells me that I have 1 broken package and I don't know how to fix it; (

  8.   Jose Carlos RG said

    It is a good explanation for novice users. Greetings.

  9.   Felipe said

    Thanks for the info. Regards

  10.   Dreicomp said

    I still have the same problem, I think it is a dependency that calls itself

  11.   Alvaro said

    Hello, good I had a similar error when installing java on a Ubuntu 14.04 server.
    I followed the following process:

    sudo apt-get install default-jre

    And I got something longer but similar to this, this comes out after the first error when trying again.

    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    You may want to run "apt-get -f install" to correct it:
    The following packages have unmet dependencies:
    ca-certificates-java: Depends: openjdk-7-jre-headless (> = 7 ~ u3-2.1.1 ~ pre1-1) or
    java6-runtime-headless
    default-jre: Depends: default-jre-headless (= 2: 1.7-51)
    Depends: openjdk-7-jre (> = 7 ~ u3-2.1.1)
    libgdk-pixbuf2.0-0: Depends: libtiff5 (> = 4.0.3) but will not install
    E: Dependencies not met. Try "apt-get -f install" without packages (or specify a solution).

    So what I have tried is to follow the indicated steps but when I enter the following instruction I get the following error:

    sudo apt-get autoremove

    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    You may want to run "apt-get -f install" to correct it.
    The following packages have unmet dependencies:
    ca-certificates-java: Depends: openjdk-7-jre-headless (> = 7 ~ u3-2.1.1 ~ pre1-1) or
    java6-runtime-headless
    libgdk-pixbuf2.0-0: Depends: libtiff5 (> = 4.0.3) but not installed
    E: Dependencies not fulfilled. Try again using -f.

    I am quite a newbie to linux, could you help me to know how to solve this?, Thanks

    1.    finger language said

      Hi, I get an error similar to Alvaro's, I don't know if you can help us, I'd really appreciate it

  12.   mateus mateus said

    thanks even in ubuntu 15.04 it works

  13.   Leonardo R. said

    Great! Thanks a lot!

  14.   Mariano said

    Thank you very much it helped me a lot. I wanted to install 4k youtube mp3 by terminal and I couldn't because it gave me an error, then I downloaded it to install it and it gave me dependency on broken packages. Your lines solved the problem for me. It seems that this is very common in ubuntu.

  15.   Luis said

    Greetings colleagues I am trying to install cinnemon on should wheezy and I get an error. The following packages have unfulfilled dependencies and at the end it says .. Could not fix problems, you have retained broken packages.
    I hope and can help me correct this problem

  16.   liriccombene said

    thanks Grosooo we are studying at viedma univ de Comahue Argentina and it was the solution

  17.   Dyango vtz said

    hello, I know that is not relevant at the moment, but I have an error with an application when installing, I already have it working but in the status bar I get this error: «E: The package wps-office: i386 needs to be reinstalled , but the file for it cannot be found. " I already tried to uninstall it to be able to reinstall it properly but it won't let me and I'm out of ideas.

  18.   Gabriel said

    Thank you very much

  19.   diov3rov3r said

    Thanks; D

  20.   racer5 said

    Thanks, it was the perfect solution !!

  21.   Cheerful Angel said

    My mistake is because of the wine

    angel @ alienware: ~ $ sudo apt-get install wine1.7
    [sudo] password for angel:
    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    Do not can instal some pack. This may mean that
    you asked for an impossible situation or, if you are using the distribution
    unstable, that some necessary packages have not been created or have
    been moved out of Incoming.
    The following information can help resolve the situation:

    The following packages have unmet dependencies:
    wine1.7: Depends: wine1.7-i386 (= 1: 1.7.55-0ubuntu1)
    E: Problems could not be corrected, you have retained broken packages.

    1.    Thomas Castelli said

      the same happens to me! I do not know how to solve it if you know how to let me know that I need to solve it

  22.   Juan Pablo Rivera Quinzacara said

    thank you, it helped me a lot, I no longer had the problem.

  23.   Max said

    good i want to update ubuntu 15.10 to 16.04 but i get this error

    An impossible-to-correct problem occurred when the package information was initialized.

    Please report this as a bug in the "update-manager" package and include the following error message:
    E: Error, pkgProblemResolver :: Resolve generated outages, this may be due to held packages.

    if you can help me thanks

  24.   Jorge Rios-Gomez said

    Thank you very much, I could not install hardinfo on my Ubuntu 16 and with your help everything works ok.

    Thank you very much from the heart and greetings.

  25.   Philip D said

    Thanks, it served me wonderfully, I fix many errors

  26.   Ana said

    Hi, I have tried but I keep getting an error with libappindicator1, like this:
    Err http://co.archive.ubuntu.com/ubuntu/ utopic-updates / main libappindicator1 amd64 12.10.1 + 13.10.20130920-0ubuntu4.2
    404 Not Found
    E: Impossible to get http://co.archive.ubuntu.com/ubuntu/pool/main/liba/libappindicator/libappindicator1_12.10.1+13.10.20130920-0ubuntu4.2_amd64.deb 404 Not Found

    E: Could not get some files, maybe I should run "apt-get update" or try again with –fix-missing?

    I try with the options that the terminal gives me and nothing…. Any ideas?
    Thank you!

  27.   Ana said

    Note: it all starts like this:
    The following packages have broken dependencies: google-chrome-stable: Depends: libappindicator1 but not installed

  28.   Mily said

    Hello I have a problem. I want to install Lightworks (Video Editor) I download the deb and when I open it it loads me, but it won't let me install it as it says:

    Error: Cannot satisfy dependency: libc6 (> = 2.17)

    I've already tried doing everything you said and it doesn't work for me.

  29.   allodir said

    Excellent, thank you very much !.

  30.   Sergio Cabral said

    Hi, I have a Ubuntu 14.04 I get many errors when I try to download wine

    The following packages have unmet dependencies:
    wine1.6: Depends: wine1.6-amd64 (= 1: 1.6.2-0ubuntu4)
    Depends: wine1.6-i386 (= 1: 1.6.2-0ubuntu4)
    E: Problems could not be corrected, you have retained broken packages.

    It tells me that if I try to download wine 1.6 that is needed to have wine and it also tells me the same thing when I try to download wine 1.8 through the terminal and I enter the synaptic package manager and I try there and it tells me this

    E: Problems could not be corrected, you have retained broken packages.
    E: Error, pkgProblemResolver :: Resolve generated outages, this may have been caused by held packages
    E: Unable to fix dependencies
    E: Error, pkgProblemResolver :: Resolve generated outages, this may have been caused by held packages
    E: Unable to fix dependencies

    And I have tried 1000 different things. What can I do? help

  31.   Sebastian said

    Hello! How are you? Can I ask you a question?

    I do that and I still have problems installing Qgis, could you help me?

    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    Do not can instal some pack. This may mean that
    you asked for an impossible situation or, if you are using the distribution
    unstable, that some required packages have not yet been created or are
    They have taken from "Incoming."
    The following information can help resolve the situation:

    The following packages have unmet dependencies:
    python-qgis: Depends: python3-psycopg2 but it won't install
    Recommend: liblwgeom-dev but it won't install
    E: Problems could not be corrected, you have retained broken packages.

    Regards!

  32.   Raphael Benito said

    ~ $ sudo apt-get -f install
    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    0 updated, 0 new will be installed, 0 to remove, and 167 not updated

    I get this and it keeps giving me the problem when installing comodo.
    Why? please help

  33.   Carlos said

    Hello good, I am using ubuntu 18.04.02 LTS, the situation is that I am trying to install oracle database 11g express edition, that is to say that when downloading the file, said file is rpm, obviously I want to convert it to .deb, but at the time of installing alien I get some dependency problems in the debhelper and dpkg-dev packages.
    any solution, I will be very grateful.

  34.   Manuel Beltran said

    Perfect, all good over here with Peppermint 10
    Thank you for sharing the solution

  35.   Tunnel69 said

    Good.
    Every time I go to the terminal I get this error when I put sudo, and I don't know what to do.
    E: entry 49 wrongly specified in list file /etc/apt/sources.list (URI parse)
    E: The font lists could not be read.

  36.   Juanan said

    linux is fucking shit. For years I have been resorting to different distributions to supposedly give use to outdated equipment and always the same story, the damn dependencies that do not allow installing practically anything. Then having to hear that Ubuntu, kubuntu, lubuntu ... even my grandmother uses it ... the balls. Whenever I get up, I end up frustrated. Normal that goes better and more logero ... it does not allow to install anything.

  37.   Mariana said

    Hi, I have a problem installing Haguichi, I get the following:

    The following packages have unmet dependencies:
    haguichi: It depends: libglib2.0-0 (> = 2.48) but 2.32.4-0ubuntu1 + 12.04ac5 is going to be installed
    Depends: libglib2.0-bin (> = 2.48)
    Depends: libgtk-3-0 (> = 3.18) but 3.4.2-0ubuntu0.9 is going to be installed
    Depends: libnotify4 (> = 0.7.6) but 0.7.5-1 will be installed
    Recommend: dconf-cli but not installable
    E: Problems could not be corrected, you have retained broken packages.

    I don't know how to solve it, if someone knows please help me, thank you.

  38.   Daniela said

    Thank you very much, at the end I solved it, you are geni @

  39.   hernan said

    Hello I have ubuntu 18.04 and it gives me the following error when trying to install npm, I have nodejs 14.04 installed; I already tried the solution they propose but it keeps giving the same error, thanks!

    sudo apt install npm build-essential
    Reading package list ... Done
    Creating dependency tree
    Reading the status information ... Done
    build-essential is already in its latest version (12.4ubuntu1).
    Do not can instal some pack. This may mean that
    you asked for an impossible situation or, if you are using the distribution
    unstable, that some required packages have not yet been created or are
    They have taken from "Incoming."
    The following information can help resolve the situation:

    The following packages have unmet dependencies:
    npm: Depends: nodejs but it won't install
    Depends: node-abbrev (> = 1.0.4) but it will not install
    Depends: node-ansi (> = 0.3.0-2) but it won't install
    Depends: node-ansi-color-table but it won't install
    Depends: node-archy but it won't install
    Depends: node-block-stream but it won't install
    Depends: node-fstream (> = 0.1.22) but it won't install
    Depends: node-fstream-ignore but it won't install
    Depends: node-github-url-from-git but it won't install
    Depends: node-glob (> = 3.1.21) but it won't install
    Depends: node-graceful-fs (> = 2.0.0) but it won't install
    Depends: node-inherits but it won't install
    Depends: node-ini (> = 1.1.0) but it won't install
    Depends: node-lockfile but it won't install
    Depends: node-lru-cache (> = 2.3.0) but it won't install
    Depends: node-minimatch (> = 0.2.11) but it will not install
    Depends: node-mkdirp (> = 0.3.3) but it won't install
    Depends: node-gyp (> = 0.10.9) but it won't install
    Depends: node-nopt (> = 3.0.1) but it won't install
    Depends: node-npmlog but it won't install
    Depends: node-once but it won't install
    Depends: node-osenv but it won't install
    Depends: node-read but it won't install
    Depends: node-read-package-json (> = 1.1.0) but it won't install
    Depends: node-request (> = 2.25.0) but it won't install
    Depends: node-retry but it won't install
    Depends: node-rimraf (> = 2.2.2) but it won't install
    Depends: node-semver (> = 2.1.0) but it will not install
    Depends: node-sha but it won't install
    Depends: node-slide but it won't install
    Depends: node-tar (> = 0.1.18) but it won't install
    Depends: node-underscore but it won't install
    Depends: node-which but will not install
    E: Problems could not be corrected, you have retained broken packages.

  40.   sergio said

    Thanks a lot! I was months without being able to install a program due to these errors, I got tired of searching forums and today I found this one. Greetings!

  41.   Javier said

    Hello good I am a bit / quite a newbie with Ubuntu and I have the following problem, I do not know if it is the right place but if not, please guide me.
    I have elementary os 5.1.7 installed I have tried in many ways to install wine, following tutorials, installing repositories without success, I tried to delete everything even as you put in this post, and now I try to install it from the application center and it keeps telling me the same thing « unfulfilled dependencies »specifically

    W: GPG error: https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DFA175A75104960E
    E: The repository "https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease" is not signed.
    W: You cannot update from a repository like this safely and therefore it is disabled by default.
    W: See the apt-secure (8) man page for details on creating repositories and configuring users.
    E: https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease is not (yet) available (The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DFA175A75104960E)

    I hope you can help me, thanks in advance.

  42.   George said

    Hello, when installing an editor for Latex (texmaker) it gives me the following error and I cannot eliminate it:
    Unable to satisfy libc6 dependency (> = 2.29)

    Thank you

  43.   January said

    Hi I have an error installing mongodb community server when I shoot:

    "Sudo apt-get install -y mongodb-org"

    and it gives me the following error:

    The following packages have unmet dependencies:
    mongodb-org: Depends: mongodb-org-server but it won't install
    E: Problems could not be corrected, you have retained broken packages.

    but it has not solved anything for me remove deprecated dependencies

  44.   cristian said

    excellent !!

  45.   Miguel Lopez said

    Excellent information and it worked perfectly. Thank you very much

  46.   Federico said

    You can directly go to the /etc/apt/sources.list.dy folders with a ls search for which one gives them an error and then delete it with sudo rm filename and enter ...

  47.   Mario said

    Thanks ! Thanks!

  48.   Alexander cardozo said

    I don't let myself get the same error

  49.   Doctor Strange said

    Very good explanation elsewhere I could not find a solution as simple as yours, congratulations, if I can invite you a coffee, put the link in your publications.

  50.   mary said

    Help I want to install steam in lubuntu
    first I put "sudo apt install steam-installer", then it tells me that I have to put steam, I try and end up with broken packages
    (after trying the above except of course that flash because I have it)
    It jumps to me:
    Do not can instal some pack. This may mean that
    you asked for an impossible situation or, if you are using the distribution
    unstable, that some required packages have not yet been created or are
    They have taken from "Incoming."
    The following information can help resolve the situation:

    The following packages have unmet dependencies:
    steam: i386: Depends: libgl1-mesa-dri: i386 (> = 17.3) but it won't install or
    libtxc-dxtn0: i386 but not installable
    Depends: libgl1-mesa-glx: i386 but it won't install
    Depends: libgpg-error0: i386 (> = 1.10) but it won't install
    Depends: libudev1: i386 but it won't install
    Depends: libxcb-dri3-0: i386 (> = 1.11.1) but it won't install
    Depends: libxinerama1: i386 (> = 2: 1.1.1) but it will not install
    Depends: libc6: i386 (> = 2.15) but it won't install
    Depends: libstdc ++ 6: i386 (> = 4.8) but it won't install
    Depends: libx11-6: i386 but it won't install
    Recommend: libxss1: i386 but will not install
    Recommend: mesa-vulkan-drivers: i386 but will not install
    E: Problems could not be corrected, you have retained broken packages
    What do I do, please?

  51.   Mario Barcenilla said

    Lately I am having many problems with Ubuntu, I deal with them in a video on my SABIASCOMO channel, so when reinstalling Ubuntu 14.04 LTS on a 32-bit PC and then updating it a curiosity occurred to me, because before updating I installed from the Center of Ubuntu software, QtCreator, and I remove it when updating, trying to install it returns an error "Package dependencies cannot be resolved" and in Details the following:
    The following packages have unmet dependencies:

    qtcreator: Depends: libqt5concurrent5 (> = 5.0.2) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libqt5designercomponents5 (> = 5.0.2) but 5.5.1-3build1 ~ ppa1404 + 1 is not installed
    Depends: libqt5help5 (> = 5.0.2) but 5.5.1-3build1 ~ ppa1404 + 1 is not installed
    Depends: libqt5printsupport5 (> = 5.0.2) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libqt5script5 (> = 5.0.2) but 5.2.1 + dfsg-1ubuntu1 is not installed
    Depends: libqt5svg5 (> = 5.0.2) but 5.5.1-2build1 ~ ppa1404 + 1 is not installed
    Depends: libqt5xml5 (> = 5.2.0) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libgcc1 (> = 1: 4.1.1) but 1: 4.9.3-0ubuntu4 is not installed
    Depends: libqt5core5a (> = 5.2.0) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libqt5designer5 (> = 5.0.2) but 5.5.1-3build1 ~ ppa1404 + 1 is not installed
    Depends: libqt5gui5 (> = 5.0.2) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libqt5network5 (> = 5.0.2) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libqt5qml5 (> = 5.2.0 ~ beta1) but 5.5.1-2ubuntu6 ~ ppa1404 + 2 is not installed
    Depends: libqt5quick5 (> = 5.1.0) but 5.5.1-2ubuntu6 ~ ppa1404 + 2 is not installed
    Depends: libqt5sql5 (> = 5.0.2) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libqt5widgets5 (> = 5.2.0) but 5.5.1 + dfsg-16ubuntu7.5 ~ ppa1404 + 1 is not installed
    Depends: libstdc ++ 6 (> = 4.6) but 4.8.4-2ubuntu1 ~ 14.04.4 is not installed
    Depends: qtbase-abi-5-2-1 but it is a virtual package
    Depends: qtdeclarative-abi-5-2-1 but it is a virtual package
    If someone would be so kind as to inform me what I can do, I would be enormously grateful.

  52.   Alex said

    And in the case of debian 11? would it be the same procedure?

  53.   mateo said

    I get a dependency error for this wine package because it is supposedly broken, I already did everything the page told me and I don't know what they recommend me to do
    here is the installation package:
    Do not can instal some pack. This may mean that
    you asked for an impossible situation or, if you are using the distribution
    unstable, that some required packages have not yet been created or are
    They have taken from "Incoming."
    The following information can help resolve the situation:

    The following packages have unmet dependencies:
    winehq-stable: Depends: wine-stable (= 7.0.0.0 ~ bionic-1)
    E: Problems could not be corrected, you have retained broken packages

    I don't know what to do can you help me please

  54.   July said

    Excellent it allowed me to install other programs thanks

  55.   streggonne said

    fantastic contribution