Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having dependency problems, whenever I do an apt-get install, I get this error message:

I already tried:

  • apt-get clean, update, upgrade, install -f
  • dpkg --configure -a

What should I do now?

share|improve this question
Can you please try this: sudo apt-get clean && sudo apt-get update && sudo apt-get dist-upgrade (this is all on one line). You have 1337 upgrades including linux kernels, that's why we're using dist-upgrade. – Alaa Ali Aug 24 '13 at 19:52
I've found that this repo was added in the sources.list file sid main and it provides new version for all those 1337 packages. Is that repo stable? I am fine with upgrading if the repo above is well tested and marked as stable, untested packages may introduce more problems while I need to get my system ready asap. – boh Aug 24 '13 at 21:51
I found this person's post fixed my issue easily and completely. I spent 2 days looking for a solution until I came across this! – packerprogrammer Mar 11 '14 at 16:31 sid main is a repository for the Debian OS, not Ubuntu. You should not be using this repository. Here's what you can do:

  1. sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk

    • This is to backup your sources.list file.
  2. Open up /etc/apt/sources.list with your favorite editor, and delete everything, and repopulate it with the proper, default repositories. Here's how you'll get them:

    • Go here:
    • Select your country and release.
    • Select everything in the "Ubuntu Branches" box.
    • Select everything in the "Ubuntu Updates" box except for the "Proposed" options.
    • Select everything in the "Ubuntu Partner Repos" box.
    • Select everything in the "Ubuntu Extras Repos" box.
    • Scroll down to the very bottom and hit Generate List.
    • Copy the output of the first box into your sources.list file and save it.
  3. Run the following commands in order:

    sudo apt-get clean
    sudo apt-get update
    sudo apt-get install -f
    sudo dpkg -a --configure
    sudo apt-get dist-upgrade

    You'll probably get some errors along the way. apt-get install -f should try to fix most issues, but I suspect that it won't fix everything. dpkg will try to further configure the packages, although apt-get install -f should call it by default. The last command is to fully upgrade your system, including the linux kernel, which is what you're having problems with from the logs you posted. I suggest you, again, run these commands after everything is done:

    sudo apt-get install -f
    sudo dpkg -a --configure
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.