软件更新无法正常完成,并因错误而中止,并且不报告问题,单击详细信息返回空白。KDE 的 UI 没有提供在更新进行时查看详细信息的选项(在模拟终端环境中)。检查以下命令似乎更新已保存,但为什么有效版本号低于下载的软件包?
$ uname -r
4.4.0-21-generic
$ sudo apt-get install linux-generic
[sudo] password for hamid:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-generic is already the newest version (4.4.0.53.56).
The following packages were automatically installed and are no longer required:
libboost-program-options1.58.0 libboost-serialization1.58.0 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-34
linux-headers-4.4.0-34-generic linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-headers-4.4.0-38 linux-headers-4.4.0-38-generic
linux-headers-4.4.0-42 linux-headers-4.4.0-42-generic linux-headers-4.4.0-45 linux-headers-4.4.0-45-generic linux-headers-4.4.0-47
linux-headers-4.4.0-47-generic linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic linux-image-4.4.0-36-generic linux-image-4.4.0-38-generic
linux-image-4.4.0-42-generic linux-image-4.4.0-45-generic linux-image-4.4.0-47-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic
linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38-generic linux-image-extra-4.4.0-42-generic linux-image-extra-4.4.0-45-generic
linux-image-extra-4.4.0-47-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
答案1
问题出在 grub 设置上。使用GRUB 定制器我将其设置为加载最新内核,一切运行正常。当然,可以通过 apt 命令检查更新,但问题是软件更新中的错误发生在 GUI 中,之后在命令提示符中检查没有显示任何痕迹 - 陷入困境!