Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
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
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
add comment

2 Answers

First you shold try this commands:

sudo apt-get update
sudo apt-get upgrade

End after sudo apt-get -f install.

share|improve this answer
error while trying "sudo apt-get update" W: Failed to fetch ppa.launchpad.net/hydr0g3n/ppa/ubuntu/dists/precise/main/source/… 404 Not Found W: Failed to fetch ppa.launchpad.net/hydr0g3n/ppa/ubuntu/dists/precise/main/… 404 Not Found W: Failed to fetch ppa.launchpad.net/hydr0g3n/ppa/ubuntu/dists/precise/main/… 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. –  Mrigankar Shaw Apr 20 '13 at 18:44
Open your Terminal and type sudo nautilus /etc/apt/sources.list.d/. Delete all files that have in their names hydr0g3n. –  Radu Rădeanu Apr 20 '13 at 19:00
add comment

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
add comment

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.