每次安装或删除现有软件时都会出现以下错误。
isuru@isuru-Inspiron-3420:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.13.0-53-generic (3.13.0-53.88) ...
Internal Error: Could not find image (/boot/vmlinuz-3.13.0-53-generic)
No apport report written because the error message indicates its a followup error from a previous failure.
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
dpkg: error processing package linux-image-3.13.0-53-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-53-generic:
linux-image-extra-3.13.0-53-generic depends on linux-image-3.13.0-53-generic; however:
Package linux-image-3.13.0-53-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.13.0-53-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.13.0-53-generic; however:
Package linux-image-3.13.0-53-generic is not configured yet.
linux-image-generic depends on linux-image-extra-3.13.0-53-generic; however:
Package linux-image-extra-3.13.0-53-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.13.0.53.60); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
E: Sub-process /usr/bin/dpkg returned an error code (1)
我没有刻意升级内核。
这可能是什么原因造成的?如何解决?
答案1
我不确定错误的原因,但如果您在初始加载期间选择高级选项,您应该能够选择要加载的上一个映像。我遇到了同样的问题,并且能够使用最后一个内核映像进行加载而不会出现错误。
我发布此内容作为可能的建议:
http://stephenjkennedy.me/?p=68
希望能帮助到你。
答案2
我遇到了同样的情况,我找到了这篇文章,它提供了解决问题的线索。就我而言,发生的事情是运行升级时,它尝试设置内核 3.13.0-53-generic,并遇到了同样的问题。这不是下载问题,而是配置问题。我的 /boot 分区有一些空间,但不足以让新内核正确配置。在 /boot 中腾出足够的空间并sudo apt-get -f install
再次运行,成功更新了内核。
干杯
答案3
A) 尝试sudo update-grub
,sudo apt-get upgrade
如果没有帮助,则尝试其余步骤。
1)进入 ubuntu 终端,
sudo synaptic
2)左侧窗格,转到“已安装”
3)在顶部,您将看到快速过滤器,输入“3.13.0”(不带引号),您将在那里看到 Linux 映像,可能出现的问题是由于内核下载不完整而无法更新,或者您可能已取消它,好吧,当您找到与出现错误的 Linux 内核(即 3.13.0-53-generic)相对应的剩余软件包和内容时,您可以通过以下方式升级:
sudo apt-get upgrade