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

Bug #1054289 reported by Delmir
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Regular update via GUI got hung for a while and computer was manually (unplugged) powered off.

Bug still persists and update will not finish. At least it doesn't hang anymore.

I'm ready to dump Ubuntu.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-31-generic 3.2.0-31.50
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: delmir 1954 F.... pulseaudio
 /dev/snd/controlC0: delmir 1954 F.... pulseaudio
 /dev/snd/controlC1: delmir 1954 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xdeef8000 irq 23'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,1043837f,00100101'
   Controls : 31
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x809'/'USB Device 0x46d:0x809 at usb-0000:00:02.1-3, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0809'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 17
   Mono: Capture 5 [29%] [13.35dB] [on]
Card2.Amixer.info:
 Card hw:2 'NVidia_1'/'HDA NVidia at 0xdef7c000 irq 19'
   Mixer name : 'Nvidia GPU 0a HDMI/DP'
   Components : 'HDA:10de000a,10de0101,00100100'
   Controls : 24
   Simple ctrls : 4
Date: Fri Sep 21 16:01:52 2012
DpkgHistoryLog:
 Start-Date: 2012-09-21 16:01:45
 Commandline: apt-get install -f
 Upgrade: gir1.2-rb-3.0:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), rhythmbox-data:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), rhythmbox:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), rhythmbox-plugin-magnatune:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), librhythmbox-core5:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), rhythmbox-mozilla:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), rhythmbox-plugin-cdrecorder:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2), rhythmbox-plugins:amd64 (2.96-0ubuntu4.1, 2.96-0ubuntu4.2)
DuplicateSignature:
 Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
 Internal Error: Could not find image (/boot/vmlinuz-3.2.0-31-generic)
 dpkg: error processing linux-image-3.2.0-31-generic (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=UUID=4a576b90-daaf-441c-ba79-685898a9c234
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 046d:0809 Logitech, Inc. Webcam Pro 9000
 Bus 001 Device 004: ID 05e3:0760 Genesys Logic, Inc. USB 2.0 Card Reader/Writer
 Bus 002 Device 002: ID 03f0:1204 Hewlett-Packard DeskJet 930c
MachineType: System manufacturer System Product Name
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-30-generic root=UUID=63a3b8c8-a426-4b71-979d-18813eb8ebff ro splash elevator=noop vt.handoff=7
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.1
RfKill:

SourcePackage: linux
Title: package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/22/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1002
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M2N68-AM SE2
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1002:bd09/22/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2N68-AMSE2:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Delmir (delmir) wrote :
tags: removed: need-duplicate-check
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
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
Delmir (delmir) wrote :

I'm sorry, but I should have mentioned that I had already tried "install -f, clean, etc" to no avail:

delmir@delcasa:~$ sudo apt-get install -f
[sudo] password for delmir:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
Internal Error: Could not find image (/boot/vmlinuz-3.2.0-31-generic)
dpkg: error processing linux-image-3.2.0-31-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-3.2.0-31-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

delmir@delcasa:~$ sudo apt-get clean

delmir@delcasa:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
Internal Error: Could not find image (/boot/vmlinuz-3.2.0-31-generic)
dpkg: error processing linux-image-3.2.0-31-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-3.2.0-31-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
delmir@delcasa:~$

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Delmir (delmir) wrote :
Download full text (4.6 KiB)

Extra info from "auto update":

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 ... 253558 files and directories currently installed.)
Preparing to replace linux-generic 3.2.0.30.32 (using .../linux-generic_3.2.0.31.34_amd64.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 3.2.0.30.32 (using .../linux-image-generic_3.2.0.31.34_amd64.deb) ...
Unpacking replacement linux-image-generic ...
Selecting previously unselected package linux-headers-3.2.0-31.
Unpacking linux-headers-3.2.0-31 (from .../linux-headers-3.2.0-31_3.2.0-31.50_all.deb) ...
Selecting previously unselected package linux-headers-3.2.0-31-generic.
Unpacking linux-headers-3.2.0-31-generic (from .../linux-headers-3.2.0-31-generic_3.2.0-31.50_amd64.deb) ...
Preparing to replace linux-headers-generic 3.2.0.30.32 (using .../linux-headers-generic_3.2.0.31.34_amd64.deb) ...
Unpacking replacement linux-headers-generic ...
Preparing to replace linux-libc-dev 3.2.0-30.48 (using .../linux-libc-dev_3.2.0-31.50_amd64.deb) ...
Unpacking replacement linux-libc-dev ...
Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
Internal Error: Could not find image (/boot/vmlinuz-3.2.0-31-generic)
dpkg: error processing linux-image-3.2.0-31-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.2.0-31-generic; however:
  Package linux-image-3.2.0-31-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.2.0.31.34); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-3.2.0-31 (3.2.0-31.50) ...
Setting up linux-headers-3.2.0-31-generic (3.2.0-31.50) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic
Error! Problems with depmod detected. Automatically uninstalling this module.
DKMS: Install Failed (depmod problems). Module rolled back to built state.
Setting up linux-headers-generic (3.2.0.31.34) ...
Setting up linux-libc-dev...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.