Kernel Update on Lucid server fails

Bug #769116 reported by Tony Mugan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I performed a routine apt-get upgrade but there seems to be a dependency problem or corruption with linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb

This lucid server has been running for months now without a hitch until yesterday.
I update it regularly.

Now if I try to install the offending package directly I get this...

me@mypc:~$ sudo dpkg -i /var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb
(Reading database ... 150846 files and directories currently installed.)
Unpacking linux-image-2.6.32-31-generic-pae (from .../linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb) ...
Done.
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb (--install):
 short read in buffer_copy (backend dpkg-deb during `./lib/modules/2.6.32-31-generic-pae/kernel/drivers/gpu/drm/drm.ko')
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
linux-image-2.6.32-31-generic-paeFound linux image: /boot/vmlinuz-2.6.32-30-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-30-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-29-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-29-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-28-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-28-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-27-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-27-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-26-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-26-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-25-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-25-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-24-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-24-generic-pae
Found memtest86+ image: /memtest86+.bin
done
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-31-generic-pae (not installed)
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D2p', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
Date: Sat Apr 23 03:56:52 2011
HibernationDevice: RESUME=UUID=28501c29-59d2-4344-a6d1-d85fdfff8d22
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.2)
IwConfig:
 lo no wireless extensions.

 eth2 no wireless extensions.

 eth1 no wireless extensions.
Lsusb:
 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
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-30-generic-pae root=/dev/mapper/hostname-root ro quiet
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.7
RfKill:

SourcePackage: linux
dmi.bios.date: 12/23/2004
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FK
dmi.board.name: nVidia-nForce2
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFK:bd12/23/2004:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnnVidia-nForce2:rvr:cvn:ct3:cvr:

Revision history for this message
Tony Mugan (tmugan) wrote :
Revision history for this message
Tony Mugan (tmugan) wrote :

This is what I get if I try the recommended

me@mypc:~$ 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-image-generic-pae: Depends: linux-image-2.6.32-31-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
me@mypc:~$ sudo apt-get install -f
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-2.6.32-28-generic-pae linux-headers-2.6.32-28
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-image-2.6.32-31-generic-pae
Suggested packages:
  fdutils linux-doc-2.6.32 linux-source-2.6.32 linux-tools
The following NEW packages will be installed:
  linux-image-2.6.32-31-generic-pae
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/31.6MB of archives.
After this operation, 99.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 150846 files and directories currently installed.)
Unpacking linux-image-2.6.32-31-generic-pae (from .../linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb) ...
Done.
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb (--unpack):
 short read in buffer_copy (backend dpkg-deb during `./boot/System.map-2.6.32-31-generic-pae')
No apport report written because the error message indicates a dpkg I/O error
                                                                             Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-30-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-30-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-29-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-29-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-28-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-28-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-27-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-27-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-26-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-26-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-25-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-25-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-24-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-24-generic-pae
Found memtest86+ image: /memtest86+.bin
done
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Blaine LaFreniere (brlafreniere) wrote :

I have been having the same problem. I have found this bug via http://ubuntuforums.org/showthread.php?p=10813471#post10813471

My problem differs a little bit, I'm seeing a message that says:
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

Here is my full output:

root@ubuntu:/# sudo apt-get install -f
sudo: unable to resolve host ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-image-2.6.32-31-generic (2.6.32-31.61) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-31-generic
Running postinst hook script /usr/sbin/update-grub.
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.32-31-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-image-2.6.32-31-generic-pae (2.6.32-31.61) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-31-generic-pae
Running postinst hook script /usr/sbin/update-grub.
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.32-31-generic-pae (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.32-31-generic; however:
  Package linux-image-2.6.32-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 (= 2.6.32.31.37); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because MaxReports is reached already
        Errors were encountered while processing:
 linux-image-2.6.32-31-generic
 linux-image-2.6.32-31-generic-pae
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

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.