Cannot update Ubuntu Server 12.04.2

Asked by Joe

I have attempted the majority of this article:
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

I believe it was originally a space issue on /boot so I ran sudo dpkg --purge on old versions. However, the issue still persists

The main error I receive is:
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Package linux-image-generic-pae is not configured yet.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured.

Here is some terminal output(I skipped proxy stuff because I know it is not an issue with the proxy):

username@servername:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"

username@servername:~$ uname -a
Linux servername 3.2.0-51-generic-pae #77-Ubuntu SMP Wed Jul 24 20:40:32 UTC 2013 i686 i686 i386 GNU/Linux

username@servername:~$ sudo apt-get clean
username@servername:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done

username@servername:~$ sudo apt-get --purge autoremove
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-headers-generic-pae (= 3.2.0.48.58) but 3.2.0.51.61 is installed
 linux-image-generic-pae : Depends: linux-image-3.2.0-48-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.

username@servername:~$ sudo apt-get --fix-missing update
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise Release
Get:3 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:4 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Get:5 http://security.ubuntu.com precise-security/main Sources [83.4 kB]
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:6 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:7 http://us.archive.ubuntu.com precise-updates/main Sources [410 kB]
Get:8 http://security.ubuntu.com precise-security/universe Sources [27.6 kB]
Get:9 http://security.ubuntu.com precise-security/multiverse Sources [1,383 B]
Get:10 http://security.ubuntu.com precise-security/main i386 Packages [316 kB]
Get:11 http://us.archive.ubuntu.com precise-updates/restricted Sources [5,467 B]
Get:12 http://us.archive.ubuntu.com precise-updates/universe Sources [93.4 kB]
Get:13 http://us.archive.ubuntu.com precise-updates/multiverse Sources [6,582 B]
Get:14 http://us.archive.ubuntu.com precise-updates/main i386 Packages [688 kB]
Get:15 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:16 http://security.ubuntu.com precise-security/universe i386 Packages [83.0 kB]
Get:17 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [10.0 kB]
Get:18 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [214 kB]
Get:19 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,371 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Get:20 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [13.8 kB]
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Fetched 2,062 kB in 4s (473 kB/s)
Reading package lists... Done

username@servername:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
 linux-image-generic-pae depends on linux-image-3.2.0-48-generic-pae; however:
  Package linux-image-3.2.0-48-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Package linux-image-generic-pae is not configured yet.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-generic-pae
 linux-generic-pae

username@servername:~$ sudo dpkg --clear-avail
username@servername:~$ 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:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-38 linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic-pae
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-generic-pae linux-image-generic-pae
The following packages will be upgraded:
  linux-generic-pae linux-image-generic-pae
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 4,078 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-generic-pae i386 3.2.0.51.61 [1,724 B]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic-pae i386 3.2.0.51.61 [2,354 B]
Fetched 4,078 B in 0s (19.2 kB/s)
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
 linux-image-generic-pae depends on linux-image-3.2.0-48-generic-pae; however:
  Package linux-image-3.2.0-48-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Package linux-image-generic-pae is not configured yet.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
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:
 linux-image-generic-pae
 linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)

username@servername:~$ sudo apt-get --fix-missing install
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-headers-generic-pae (= 3.2.0.48.58) but 3.2.0.51.61 is installed
 linux-image-generic-pae : Depends: linux-image-3.2.0-48-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.

username@servername:~$ sudo apt-get update
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Reading package lists... Done

username@servername:~$ sudo apt-get upgrade
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-headers-generic-pae (= 3.2.0.48.58) but 3.2.0.51.61 is installed
 linux-image-generic-pae : Depends: linux-image-3.2.0-48-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.

username@servername:~$ sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be upgraded:
  linux-generic-pae linux-image-generic-pae
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/4,078 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-image-generic-pae:
 linux-image-generic-pae depends on linux-image-3.2.0-48-generic-pae; however:
  Package linux-image-3.2.0-48-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Package linux-image-generic-pae is not configured yet.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-image-generic-pae
 linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help would be greatly appreciated.

Thank you!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you tried installing the required deb from http://packages.ubuntu.com

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Please provide the full output of the following commands:

apt-cache policy linux-headers-generic-pae linux-generic-pae linux-image-generic-pae linux-image-3.2.0-48-generic-pae

sudo apt-get install -f linux-image-3.2.0-48-generic-pae

Revision history for this message
Joe (jvigil1) said :
#3

I did download and try to install linux-headers-generic-pae_3.2.0.48.58_i386.deb and linux-image-generic-pae_3.2.0.48.58_i386.deb, but linux-image-generic-pae_3.2.0.48.58_i386.deb would not install.

Here is the output:

username@servername:~$ apt-cache policy linux-headers-generic-pae linux-generic-pae linux-image-generic-pae linux-image-3.2.0-48-generic-pae
linux-headers-generic-pae:
  Installed: 3.2.0.51.61
  Candidate: 3.2.0.51.61
  Version table:
 *** 3.2.0.51.61 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
        100 /var/lib/dpkg/status
     3.2.0.23.25 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
linux-generic-pae:
  Installed: 3.2.0.48.58
  Candidate: 3.2.0.51.61
  Version table:
     3.2.0.51.61 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
 *** 3.2.0.48.58 0
        100 /var/lib/dpkg/status
     3.2.0.23.25 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
linux-image-generic-pae:
  Installed: 3.2.0.48.58
  Candidate: 3.2.0.51.61
  Version table:
     3.2.0.51.61 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
 *** 3.2.0.48.58 0
        100 /var/lib/dpkg/status
     3.2.0.23.25 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
linux-image-3.2.0-48-generic-pae:
  Installed: (none)
  Candidate: 3.2.0-48.74
  Version table:
     3.2.0-48.74 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
username@servername:~$ sudo apt-get install -f linux-image-3.2.0-48-generic-pae
[sudo] password for username:
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-headers-generic-pae (= 3.2.0.48.58) but 3.2.0.51.61 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
username@servername:~$ 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:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-38 linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic-pae
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-generic-pae linux-image-generic-pae
The following packages will be upgraded:
  linux-generic-pae linux-image-generic-pae
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/4,078 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-image-generic-pae:
 linux-image-generic-pae depends on linux-image-3.2.0-48-generic-pae; however:
  Package linux-image-3.2.0-48-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Package linux-image-generic-pae is not configured yet.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
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:
 linux-image-generic-pae
 linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Try the terminal command

sudo apt-get install --reinstall -f linux-image-3.2.0-48-generic-pae linux-generic-pae linux-headers-generic-pae linux-image-generic-pae

and copy/paste the output as done before

Revision history for this message
Joe (jvigil1) said :
#5

Here is the output:

username@servername:~$ sudo apt-get install --reinstall -f linux-image-3.2.0-48-generic-pae linux-generic-pae linux-headers-generic-pae linux-image-generic-pae
[sudo] password for username:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-38 linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic-pae
Use 'apt-get autoremove' to remove them.
Suggested packages:
  fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following NEW packages will be installed:
  linux-image-3.2.0-48-generic-pae
The following packages will be upgraded:
  linux-generic-pae linux-image-generic-pae
2 upgraded, 1 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 38.3 MB/38.3 MB of archives.
After this operation, 113 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.2.0-48-generic-pae i386 3.2.0-48.74 [38.3 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-generic-pae i386 3.2.0.51.61 [2,348 B]
Fetched 38.3 MB in 57s (667 kB/s)
(Reading database ... 177525 files and directories currently installed.)
Unpacking linux-image-3.2.0-48-generic-pae (from .../linux-image-3.2.0-48-generic-pae_3.2.0-48.74_i386.deb) ...
Done.
Preparing to replace linux-headers-generic-pae 3.2.0.51.61 (using .../linux-headers-generic-pae_3.2.0.51.61_i386.deb) ...
Unpacking replacement linux-headers-generic-pae ...
Setting up linux-headers-generic-pae (3.2.0.51.61) ...
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
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.
                                                                                                          Setting up linux-image-3.2.0-48-generic-pae (3.2.0-48.74) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-48-generic-pae /boot/vmlinuz-3.2.0-48-generic-pae
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-48-generic-pae /boot/vmlinuz-3.2.0-48-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-48-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-48-generic-pae /boot/vmlinuz-3.2.0-48-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-48-generic-pae /boot/vmlinuz-3.2.0-48-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-51-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-51-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-48-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-48-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-40-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-40-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-39-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-39-generic-pae
Found memtest86+ image: /memtest86+.bin
done
Setting up linux-image-generic-pae (3.2.0.48.58) ...
Errors were encountered while processing:
 linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

ok, one done one to go:

try

sudo apt-get install --reinstall -f linux-generic-pae

Revision history for this message
Joe (jvigil1) said :
#7

=(

username@servername:~$ sudo apt-get install --reinstall -f linux-generic-pae
[sudo] password for username:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-40 linux-headers-3.2.0-38 linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic-pae linux-headers-3.2.0-40-generic-pae
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  linux-generic-pae
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,724 B of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Version of linux-image-generic-pae on system is 3.2.0.51.61.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
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:
 linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

I guess we are close to the target.

try again with

sudo apt-get install --reinstall -f linux-generic-pae linux-image-generic-pae

Revision history for this message
Joe (jvigil1) said :
#9

username@servername:~$ sudo apt-get install --reinstall -f linux-generic-pae linux-image-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-40 linux-headers-3.2.0-38 linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic-pae linux-headers-3.2.0-40-generic-pae
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  linux-generic-pae
1 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/4,078 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 181906 files and directories currently installed.)
Preparing to replace linux-image-generic-pae 3.2.0.51.61 (using .../linux-image-generic-pae_3.2.0.51.61_i386.deb) ...
Unpacking replacement linux-image-generic-pae ...
Setting up linux-image-generic-pae (3.2.0.51.61) ...
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Version of linux-image-generic-pae on system is 3.2.0.51.61.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

linux-generic-pae is not updating to the right version. For checking the reason please provide the output os the following commands:

apt-cache policy linux-generic-pae
sudo dpkg --audit
ls -l /var/cache/apt/archives/linux-generic-pae*

Revision history for this message
Joe (jvigil1) said :
#11

username@servername:~$ apt-cache policy linux-generic-pae
linux-generic-pae:
  Installed: 3.2.0.48.58
  Candidate: 3.2.0.51.61
  Version table:
     3.2.0.51.61 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
 *** 3.2.0.48.58 0
        100 /var/lib/dpkg/status
     3.2.0.23.25 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
username@servername:~$ sudo dpkg --audit
[sudo] password for username:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-generic-pae Complete Generic Linux kernel

username@servername:~$ ls -l /var/cache/apt/archives/linux-generic-pae*
-rw-r--r-- 1 root root 1724 Jul 25 09:38 /var/cache/apt/archives/linux-generic-pae_3.2.0.51.61_i386.deb

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#12

Try

sudo dpkg -i /var/cache/apt/archives/linux-generic-pae_3.2.0.51.61_i386.deb
sudo dpkg --configure -a

Revision history for this message
Joe (jvigil1) said :
#13

Just tried this based on the previous error, but no dice:

:~$ sudo dpkg --configure linux-generic-pae
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
  Version of linux-image-generic-pae on system is 3.2.0.51.61.
 linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
  Version of linux-headers-generic-pae on system is 3.2.0.51.61.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-generic-pae

But you are a genius!!! That did the trick!

:~$ sudo dpkg -i /var/cache/apt/archives/linux-generic-pae_3.2.0.51.61_i386.deb
(Reading database ... 181906 files and directories currently installed.)
Preparing to replace linux-generic-pae 3.2.0.48.58 (using .../linux-generic-pae_3.2.0.51.61_i386.deb) ...
Unpacking replacement linux-generic-pae ...
Setting up linux-generic-pae (3.2.0.51.61) ...
username@servername:~$ sudo dpkg --configure -a
username@servername:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-40 linux-headers-3.2.0-38 linux-headers-3.2.0-39 linux-headers-3.2.0-39-generic-pae linux-headers-3.2.0-40-generic-pae
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
Joe (jvigil1) said :
#14

Thanks Manfred Hampl, that solved my question.