[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with linux-image-2.6.15-1-486



I tried upgrading my kernel this morning and ran into some problems. I had
previously been running -2bpo1. The kernel upgrade failed. As a result I'm
leery to reboot as I'm not sure the box will come back up. Below are the
results of the initial aptitude upgrade and a subsequent dpkg configure. Any
ideas?

==========

# aptitude upgrade
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be upgraded:
  gnupg initramfs-tools ipsec-tools linux-image-2.6-486
  linux-image-2.6.15-1-486 udev
6 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/18.5MB of archives. After unpacking 475kB will be freed.
Do you want to continue? [Y/n/?] y
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Preconfiguring packages ...
(Reading database ... 29231 files and directories currently installed.)
Preparing to replace gnupg 1.4.1-1 (using .../gnupg_1.4.1-1sarge1_i386.deb)
...
Unpacking replacement gnupg ...
Preparing to replace udev 0.081-0bpo1 (using .../udev_0.084-2bpo1_i386.deb)
...
Unpacking replacement udev ...
Preparing to replace initramfs-tools 0.49bpo1 (using
.../initramfs-tools_0.50bpo1_all.deb) ...
Unpacking replacement initramfs-tools ...
Preparing to replace linux-image-2.6-486 2.6.15-2bpo1 (using
.../linux-image-2.6-486_2.6.15-5bpo1_i386.deb) ...
Unpacking replacement linux-image-2.6-486 ...
Preparing to replace linux-image-2.6.15-1-486 2.6.15-2bpo1 (using
.../linux-image-2.6.15-1-486_2.6.15-5bpo1_i386.deb) ...
The directory /lib/modules/2.6.15-1-486 still exists. Continuing as
directed.
Done.
Unpacking replacement linux-image-2.6.15-1-486 ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub .
dpkg: warning - old post-removal script returned error exit status 128
dpkg - trying script from the new package instead ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub .
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.15-1-486_2.6.15-5bpo1_i386.deb
(--unpack):
 subprocess new post-removal script returned error exit status 128
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub .
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 128
Preparing to replace ipsec-tools 1:0.5.2-1 (using
.../ipsec-tools_1%3a0.5.2-1sarge1_i386.deb) ...
Unpacking replacement ipsec-tools ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.15-1-486_2.6.15-5bpo1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up gnupg (1.4.1-1sarge1) ...
dpkg: dependency problems prevent configuration of linux-image-2.6-486:
 linux-image-2.6-486 depends on linux-image-2.6.15-1-486 (= 2.6.15-5bpo1);
however:
  Package linux-image-2.6.15-1-486 is not installed.
dpkg: error processing linux-image-2.6-486 (--configure):
 dependency problems - leaving unconfigured
Setting up ipsec-tools (0.5.2-1sarge1) ...

Setting up udev (0.084-2bpo1) ...
Installing new version of config file /etc/udev/cd-aliases.rules ...
Installing new version of config file /etc/udev/hotplug.rules ...
Installing new version of config file /etc/udev/hotplugd.rules ...
Installing new version of config file /etc/udev/permissions.rules ...
Installing new version of config file /etc/udev/persistent.rules ...
Installing new version of config file /etc/init.d/udev ...
sha1sum: write error: Broken pipe
/boot/initrd.img-2.6.15-1-486 was been altered.  Cannot update.

Setting up initramfs-tools (0.50bpo1) ...
sha1sum: write error: Broken pipe
/boot/initrd.img-2.6.15-1-486 was been altered.  Cannot update.

Errors were encountered while processing:
 linux-image-2.6-486
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done


===============

# dpkg --pending --configure
Setting up linux-image-2.6.15-1-486 (2.6.15-5bpo1) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs to build the ramdisk.
Running postinst hook /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub .
dpkg: error processing linux-image-2.6.15-1-486 (--configure):
 subprocess post-installation script returned error exit status 128
dpkg: dependency problems prevent configuration of linux-image-2.6-486:
 linux-image-2.6-486 depends on linux-image-2.6.15-1-486 (= 2.6.15-5bpo1);
however:
  Package linux-image-2.6.15-1-486 is not configured yet.
dpkg: error processing linux-image-2.6-486 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.15-1-486
 linux-image-2.6-486

----------------
Thanks
Jefferson Cowart
Jeff@cowart.net  



Reply to: