package linux-image-3.2.0-29-generic 3.2.0-29.46 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2

Bug #1082894 reported by SEAN FARLEY
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Original fault cased by Ubuntu-Tweak cleaning up old system packages

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-29-generic 3.2.0-29.46
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: sean 2519 F.... pulseaudio
 /dev/snd/controlC0: sean 2519 F.... pulseaudio
 /dev/snd/controlC1: sean 2519 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfbff8000 irq 51'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,1458a002,00100001'
   Controls : 45
   Simple ctrls : 20
Card1.Amixer.info:
 Card hw:1 'LX3000'/'Microsoft LifeChat LX-3000 at usb-0000:00:1d.2-2.3, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB045e:070f'
   Controls : 7
   Simple ctrls : 3
Card2.Amixer.info:
 Card hw:2 'NVidia'/'HDA NVidia at 0xf9ffc000 irq 17'
   Mixer name : 'Nvidia GPU 12 HDMI/DP'
   Components : 'HDA:10de0012,10de0101,00100100'
   Controls : 24
   Simple ctrls : 4
Date: Sun Nov 25 14:06:23 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=UUID=cef6dddd-89c2-4179-9671-eb75916a4250
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MachineType: Gigabyte Technology Co., Ltd. P55-USB3
MarkForUpload: True
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-34-generic root=UUID=0a34603e-aee9-44d1-8982-a5a5a38c3e4d ro quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc 1.99-21ubuntu3.5
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Title: package linux-image-3.2.0-29-generic 3.2.0-29.46 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/11/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F10g
dmi.board.name: P55-USB3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF10g:bd02/11/2011:svnGigabyteTechnologyCo.,Ltd.:pnP55-USB3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP55-USB3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P55-USB3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
SEAN FARLEY (seanfarley1964) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : BOT: Examined VarLogDistupgradeApttermlog.gz

   Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-29-generic.postinst line 1010.
   dpkg: error processing linux-image-3.2.0-29-generic (--configure):
    subprocess installed post-installation script returned error exit status 2

tags: added: varlogdistupgradeapttermlog-examined
Revision history for this message
SEAN FARLEY (seanfarley1964) wrote :
Download full text (23.0 KiB)

Additional output on installation of Unsettings package:

sean@sean-P55-USB3:~$ sudo add-apt-repository ppa:diesch/testing
[sudo] password for sean:
You are about to add the following PPA to your system:
 This PPA contains the most recent alpha/beta releases for
 * Arronax http://www.florian-diesch.de/software/arronax/
 * ClassicMenu Indicator http://www.florian-diesch.de/software/classicmenu-indicator/
 * RunLens http://www.florian-diesch.de/software/runlens/
 * Unsettings http://www.florian-diesch.de/software/unsettings/
 * UUdeLens http://www.florian-diesch.de/software/uudelens
 More info: https://launchpad.net/~diesch/+archive/testing
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpSajrjP/secring.gpg' created
gpg: keyring `/tmp/tmpSajrjP/pubring.gpg' created
gpg: requesting key 0FEB6DD9 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpSajrjP/trustdb.gpg: trustdb created
gpg: key 0FEB6DD9: public key "Launchpad PPA for Florian Diesch" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
sean@sean-P55-USB3:~$ sudo apt-get update
Ign http://gb.archive.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise-updates InRelease
Ign http://gb.archive.ubuntu.com precise-backports InRelease
Ign http://gb.archive.ubuntu.com precise-proposed InRelease
Hit http://gb.archive.ubuntu.com precise Release.gpg
Hit http://gb.archive.ubuntu.com precise-updates Release.gpg
Hit http://gb.archive.ubuntu.com precise-backports Release.gpg
Hit http://packages.medibuntu.org precise InRelease
Ign http://archive.canonical.com precise InRelease
Get:1 http://gb.archive.ubuntu.com precise-proposed Release.gpg [198 B]
Hit http://deb.playonlinux.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Hit http://archive.canonical.com precise Release.gpg
Ign http://security.ubuntu.com precise-security InRelease
Hit http://gb.archive.ubuntu.com precise Release
Hit http://gb.archive.ubuntu.com precise-updates Release
Hit http://archive.canonical.com precise Release
Hit http://deb.playonlinux.com precise/main amd64 Packages
Hit http://gb.archive.ubuntu.com precise-backports Release
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://extras.ubuntu.com precise Release.gpg
Get:2 http://gb.archive.ubuntu.com precise-proposed Release [49.6 kB]
Hit http://archive.canonical.com precise/partner Sources
Hit http://deb.playonlinux.com precise/main i386 Packages
Hit http://security.ubuntu.com precise...

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

You may need to run the following:

sudo apt-get install -f
sudo apt-get clean
sudo apt-get update

Then re-install the package.

If that does not resolve your issue, please mark the bug as "Confirmed"

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
SEAN FARLEY (seanfarley1964) wrote :
Download full text (6.9 KiB)

That did not work. I also tried apt-get install the linux headers as per the error messages. keep getting the same dpkg errors. Just ran the updater and installed small security update. got the following output:

installArchives() failed: (Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 221393 files and directories currently installed.)
Preparing to replace libssh-4 0.5.2-1 (using .../libssh-4_0.5.2-1ubuntu0.12.04.1_amd64.deb) ...
Unpacking replacement libssh-4 ...
Setting up linux-image-3.2.0-29-generic (3.2.0-29.46) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-29.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-29.46 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
/usr/sbin/grub-mkconfig: 26: /etc/default/grub: Syntax error: newline unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-29-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-29-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Setting up linux-image-3.2.0-32-generic (3.2.0-32.51) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-32.51 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-32.51 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic
run-parts: ...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
SEAN FARLEY (seanfarley1964) wrote :
Download full text (13.0 KiB)

Getting impatient for a solution to this so tried some other bug reports in the forums:

sean@sean-P55-USB3:~$ sudo dpkg --configure -a
[sudo] password for sean:
Setting up linux-image-3.2.0-29-generic (3.2.0-29.46) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-29.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-29.46 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
/usr/sbin/grub-mkconfig: 26: /etc/default/grub: Syntax error: newline unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-29-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-29-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.2.0-32-generic (3.2.0-32.51) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-32.51 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-32.51 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
/usr/sbin/grub-mkconfig: 26: /etc/default/grub: Syntax error: newline unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-32-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-32-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-3.2.0-29-generic
 linux-image-3.2.0-32-generic
sean@sean-P55-USB3:~$ sudo -i
[sudo] password for sean:
root@sean-P55-USB3:~# cd /var/lib/d...

Revision history for this message
SEAN FARLEY (seanfarley1964) wrote :
Download full text (21.2 KiB)

 SOMEONE PLEASE HELP

before i wipe this install

sean@sean-P55-USB3:~$ sudo apt-get install -f
[sudo] password for sean:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  linux-image-3.2.0-29-generic linux-image-3.2.0-32-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 299 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 213129 files and directories currently installed.)
Removing linux-image-3.2.0-29-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-29-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
/usr/sbin/grub-mkconfig: 26: /etc/default/grub: Syntax error: newline unexpected
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-29-generic.postrm line 328.
dpkg: error processing linux-image-3.2.0-29-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing linux-image-3.2.0-32-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
/usr/sbin/grub-mkconfig: 26: /etc/default/grub: Syntax error: newline unexpected
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-32-generic.postrm line 328.
dpkg: error processing linux-image-3.2.0-32-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.2.0-29-generic
 linux-image-3.2.0-32-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
sean@sean-P55-USB3:~$ sudo apt-get clean
sean@sean-P55-USB3:~$ sudo apt-get update
Ign http://gb.archive.ubuntu.com precise InRelease
Ign http://gb.archive.ubuntu.com precise-updates InRelease
Ign http://gb.archive.ubuntu.com precise-backports InRelease
Ign http://gb.archive.ubuntu.com precise-proposed InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Hit http://packages.medibuntu.org precise InRelease
Hit http://gb.archive.ubuntu.com precise Relea...

Revision history for this message
SEAN FARLEY (seanfarley1964) wrote :
Download full text (4.7 KiB)

tried to play a movie got this:

 The following packages have unmet dependencies:

gstreamer0.10-ffmpeg: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                      Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                      Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                      Depends: libc6 (>= 2.7) but 2.15-0ubuntu10.3 is to be installed
                      Depends: libglib2.0-0 (>= 2.31.2) but 2.32.3-0ubuntu1 is to be installed
                      Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu0.1 is to be installed
                      Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
                      Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
                      Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                      Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
gstreamer0.10-ffmpeg:i386: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                           Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                           Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                           Depends: libc6 (>= 2.7) but 2.15-0ubuntu10.3 is to be installed
                           Depends: libglib2.0-0 (>= 2.31.2) but 2.32.3-0ubuntu1 is to be installed
                           Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu0.1 is to be installed
                           Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
                           Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
                           Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
                           Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.4ubuntu0.12.04.1+medibuntu1 is to be installed
gstreamer0.10-plugins-bad:i386: Depends: libc6 (>= 2.15) but 2.15-0ubuntu10.3 is to be installed
                                Depends: libcairo2 (>= 1.2.4) but 1.10.2-6.1ubuntu3 is to be installed
                                Depends: libcdaudio1 (>= 0.99.12p2) but 0.99.12p2-10build1 is to be installed
                                Depends: libcurl3-gnutls (>= 7.16.2-1) but 7.22.0-3ubuntu4 is to be installed
                                Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed
                                Depends: libglib2.0-0 (>= 2.31.8) but 2.32.3-0ubuntu1 is to be installed
                                Depends: libgsm1 (>= 1.0.13) but 1.0.13-3 is to be installed
                                Depends: libgstreamer-plugins-bad0.10-0 (= 0.10.22.3-2ubuntu2.1) but 0.10.22.3-2ubu...

Read more...

To post a comment you must log in.