dpkg: error while apt-get upgrade

dave selby dave6502 at googlemail.com
Sat Nov 1 08:18:13 UTC 2008


Hi all,

I was about to do an upgrade from 8.04 to 8.10, I did an update and it
failed. I dropped to the command line and this is what I am getting.


dave at main-system:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  linux-image-2.6.24-21-generic
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/18.4MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 144395 files and directories currently installed.)
Preparing to replace linux-image-2.6.24-21-generic 2.6.24-21.42 (using
.../linux-image-2.6.24-21-generic_2.6.24-21.43_i386.deb) ...
Done.
Unpacking replacement linux-image-2.6.24-21-generic ...
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.24-21-generic_2.6.24-21.43_i386.deb
(--unpack):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.24-21-generic
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.24-21-generic_2.6.24-21.43_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dave at main-system:~$

I want to fix this before I do an upgrade to 8.10 since it might cause
problems. Any idea how I fix this ?

Cheers

Dave


-- 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




More information about the ubuntu-users mailing list