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

This question already has an answer here:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libsdl-ttf2.0-0 libunistring0:i386 python-numpy python-pygame deluge-gtk
  libsdl-mixer1.2 libgomp1:i386 liblapack3gf deluge-common libmikmod2
  libcroco3:i386 libgettextpo0:i386 libblas3gf libgfortran3 libsmpeg0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 212 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,722 B of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (=; however:
  Version of linux-image-generic on system is
 linux-generic depends on linux-headers-generic (=; however:
  Version of linux-headers-generic on system is
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question

marked as duplicate by Radu Rădeanu, Eric Carvalho, BuZZ-dEE, psusi, nux May 21 '14 at 10:13

This question was marked as an exact duplicate of an existing question.

Please, try with some of the methods mentioned in this post‌​. If you find a solution (or not), tell us! – Lucio Apr 20 '13 at 18:24

This can happen when the repo mirror is out-of-sync. Change mirrors or wait a day and see if your mirror caught up.

If you want to change mirrors try the tutorials in the answers to these questions:

share|improve this answer

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