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 getting a broken count in synaptic and unable to fix it by running
sudo apt-get -f installlooking out for suggestions.

Following is the extract from the Terminal

sudo apt-get check
Reading package lists... Done
Building dependency tree

Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-generic-pae : Depends: linux-image-generic-pae (= but is installed Depends: linux-headers-generic-pae (= but is installed
N: Ignoring file '50unattended-upgrades.distrib' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Unmet dependencies. Try using -f.

The extract after running sudo apt-get -f install is below

sudo apt-get -f install
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:
openclient-about 3270-common ibm-config-anyconnect
openclient-agnclient-notifications xfonts-x3270-misc libqt4-gui
ibm-3270-emulator x3270 unity-lens-ocdc anyconnect ibm-cck-ff4
ibm-lotus-upgrade-fix ibm-ocdc-documentation ocdc-unity-tweaks
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 181 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,728 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (=; however: Version of linux-image-generic-pae on system is
linux-generic-pae depends on linux-headers-generic-pae (=; however: Version of linux-headers-generic-pae on system is
dpkg: error processing linux-generic-pae (--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:
N: Ignoring file '50unattended-upgrades.distrib' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)

i am stuck and unable to do any further installs .. hoping some response at the early

share|improve this question

I resolved a nearly identical problem (see below) by running dpkg --remove linux-image-server followed by apt-get install linux-image-server. Or in your case:

sudo dpkg --remove linux-generic-pae
sudo apt-get install linux-generic-pae

My problem was with the linux-image-server kernel metapackage rather than the linux-generic-pae metapackage, but the version numbers were the same:

The following packages have unmet dependencies:
 linux-server : Depends: linux-image-server (= but is to be installed
                Depends: linux-headers-server (= but is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
share|improve this answer
Had the same problem but with linux-generic package depending on a specific version of linux-image-generic and linux-headers-generic, but a newer version to be installed caused 'Unmet dependencies' error. Solved it with sudo dpkg --remove linux-generic && sudo apt-get install linux-generic. Thanks! – Simón Sep 28 '14 at 4:07

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.