小编Bob*_*ong的帖子

损坏的内核包阻止安装/更新

首先,我查看了有关此主题的各种其他问题和答案,但它们并没有解决我的问题,所以我不是在没有长时间在 Google 和这里​​停留的情况下就冲进去的。此外,没有单独的引导分区,并且有足够的可用空间。

我在 16.04 上,我认为发生的事情是我的笔记本电脑在运行更新时重新启动或崩溃。当然,当我回到它时它出乎意料地关闭了,现在我无法使用 apt-get 安装任何东西。在我寻求解决方案的过程中,当时唯一的主要变化是我尝试按照某处的建议强制删除 linux-generic,但尽管成功删除了软件包,但它不会重新安装。

目前我已经能够回退到内核 4.8.0-54-generic,它运行得相当好(我现在正在使用笔记本电脑)。

我将从 dpkg --audit 开始:

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-generic-hwe-16.04 Complete Generic Linux kernel and headers
 linux-image-extra-4.8.0-56-generic Linux kernel extra modules for version 4.8.
 linux-image-extra-4.8.0-58-generic Linux kernel extra modules for version 4.8.
 linux-image-generic-hwe-16.04 Generic Linux kernel image

The following packages are only half configured, probably due …
Run Code Online (Sandbox Code Playgroud)

package-management apt dpkg 16.04

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

16.04 ×1

apt ×1

dpkg ×1

package-management ×1