无法升级到 linux-image-3.0.0-26-generic

无法升级到 linux-image-3.0.0-26-generic

当我尝试升级时linux-image-3.0.0-26-generic遇到以下问题:

dpkg-deb (subprocess): data: internal bzip2 read error: 'DATA_ERROR'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/linux-image-3.0.0-26-generic_3.0.0-26.42_amd64.deb (--unpack):
 short read on buffer copy for backend dpkg-deb during `./lib/modules/3.0.0-26-generic/kernel/drivers/scsi/fnic/fnic.ko'
No apport report written because MaxReports is reached already
                                                              Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-26-generic /boot/vmlinuz-3.0.0-26-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-26-generic /boot/vmlinuz-3.0.0-26-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.0.0-26-generic_3.0.0-26.42_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.0.0-26-generic; however:
  Package linux-image-3.0.0-26-generic is not installed.

我不知道为什么这会发生在我身上;以前的升级总是顺利进行。

有人知道如何解决这个问题吗?

答案1

我认为 .deb 软件包已损坏,请参阅本文以获得进一步的解释。

解决方案:

apt-get clean # clears out the local repository of retrieved package files

答案2

尝试这个 sudo apt-get install linux-image-TABTAB

它将显示所有可能支持你的系统的内核映像

相关内容