package linux-image-3.13.0-24-generic 3.13.0-24.46 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2

Bug #1311736 reported by David Christensen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Occurred during upgrade

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-24-generic 3.13.0-24.46
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-12-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D2c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
Date: Wed Apr 23 07:52:36 2014
DuplicateSignature: package:linux-image-3.13.0-24-generic:3.13.0-24.46:ErrorMessage: subprocess installed post-installation script returned error exit status 2
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=UUID=b09eaaa7-6e04-42c7-afc1-c8e140cb0b78
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 p32p1 no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=52e7ef65-997c-47aa-b038-df57b1466899 ro splash quiet vt.handoff=7
RelatedPackageVersions: grub-pc 2.02~beta2-9
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
Title: package linux-image-3.13.0-24-generic 3.13.0-24.46 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to trusty on 2014-04-23 (0 days ago)
dmi.bios.date: 03/24/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd03/24/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
David Christensen (shorawitz) 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

   run-parts: failed to stat component /etc/kernel/postinst.d/update-notifier: Value too large for defined data type
   Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postinst line 1025.
   dpkg: error processing package linux-image-3.13.0-24-generic (--configure):

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

tags: added: varlogdistupgradeapttermlog-examined
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 → Low
status: Confirmed → Incomplete
Revision history for this message
David Christensen (shorawitz) wrote :
Download full text (6.2 KiB)

Still having an issue, but new info:

no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Note, selecting 'linux-image-extra-3.13.0-24-generic' for regex '3.13.0-24-generic'
Note, selecting 'linux-tools-3.13.0-24-generic' for regex '3.13.0-24-generic'
Note, selecting 'linux-headers-3.13.0-24-generic' for regex '3.13.0-24-generic'
Note, selecting 'linux-image-3.13.0-24-generic' for regex '3.13.0-24-generic'
linux-headers-3.13.0-24-generic is already the newest version.
linux-image-3.13.0-24-generic is already the newest version.
linux-image-extra-3.13.0-24-generic is already the newest version.
The following packages were automatically installed and are no longer required:
  liblcms1 liblua5.1-0 linux-headers-3.5.0-25 linux-headers-3.5.0-25-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libdw1 linux-tools-3.13.0-24 linux-tools-3.13.0-24-generic linux-tools-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 758 kB of archives.
After this operation, 2,470 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libdw1 i386 0.158-0ubuntu5 [190 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main linux-tools-common all 3.13.0-24.46 [94.4 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main linux-tools-3.13.0-24 i386 3.13.0-24.46 [472 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main linux-tools-3.13.0-24-generic i386 3.13.0-24.46 [1,824 B]
Fetched 758 kB in 4s (156 kB/s)
Selecting previously unselected package libdw1:i386.
(Reading database ... 198056 files and directories currently installed.)
Preparing to unpack .../libdw1_0.158-0ubuntu5_i386.deb ...
Unpacking libdw1:i386 (0.158-0ubuntu5) ...
Selecting previously unselected package linux-tools-common.
Preparing to unpack .../linux-tools-common_3.13.0-24.46_all.deb ...
Unpacking linux-tools-common (3.13.0-24.46) ...
Selecting previously unselected package linux-tools-3.13.0-24.
Preparing to unpack .../linux-tools-3.13.0-24_3.13.0-24.46_i386.deb ...
Unpacking linux-tools-3.13.0-24 (3.13.0-24.46) ...
Selecting previously unselected package linux-tools-3.13.0-24-generic.
Preparing to unpack .../linux-tools-3.13.0-24-generic_3.13.0-24.46_i386.deb ...
Unpacking linux-tools-3.13.0-24-generic (3.13.0-24.46) ...
Processing triggers for man-db (2.6.7.1-1) ...
/usr/bin/mandb: can't create index cache /mnt/archive/usr_share/man/it/4535: Cannot allocate memory
Setting up linux-image-3.13.0-24-generic (3.13.0-24.46) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.13.0-24-generic
) points to /boot/initrd.img-3.13.0-24-generic
 (/boot/initrd.img-3.13.0-24-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.13.0-24-generic
) points to /boot/vmlinuz-3.13.0-24-generic
 (/boot/vmlinuz-3.13.0-24-generic) -- doing nothing at /var/lib/dpkg/info/lin...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Francesc Vicent (fransex) wrote :

It seems the bug is in the generation of /boot/grub/grub.cfg file, update-grub is returning -1.*

* On my PC
root@EeePC:~ :)$ update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
root@EeePC:~ :($ # <<< Notice the smiley :(

The contents of my /etc/default/grub file, but with the stock one, the same result is achieved:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=4
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Revision history for this message
Francesc Vicent (fransex) wrote :

Just to complement previous comment: just tried with all grub-pc and grub-gfxpayload-lists versions between 12.04.4 and 14.04 but none worked.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Test with newer development kernel (3.13.0-24.46)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

  With the recent release of this Ubuntu release, would like to confirm if this bug is still present. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get dist-upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.13.0-24.46
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.