无法在 ubuntu 中安装安全更新

无法在 ubuntu 中安装安全更新

这些安全更新对我的电脑来说是否必要?我的系统可以下载所有其他安全更新,但无法下载这些更新。

我该如何安装它?

在此处输入图片描述

使用后sudo apt-get update,也sudo apt-get dist-upgrade 更新失败

在此处输入图片描述

答案1

这些是内核和内核头更新,是系统的主要安全更新。因此,它们在安全方面是必需的。您可以通过终端中的命令安装它们:

通过组合键 ++ 打开终端CTRL并输入以下命令:ALTT

sudo apt-get update
sudo apt-get upgrade

然后重新启动系统使它们生效。

答案2

你有内核头文件,所以你应该运行

sudo apt-get update

sudo apt-get dist-upgrade

来自 apt-get

 dist-upgrade
   dist-upgrade in addition to performing the function of upgrade,
   also intelligently handles changing dependencies with new versions
   of packages; apt-get has a "smart" conflict resolution system, and
   it will attempt to upgrade the most important packages at the
   expense of less important ones if necessary. So, dist-upgrade
   command may remove some packages. The /etc/apt/sources.list file
   contains a list of locations from which to retrieve desired package
   files. See also apt_preferences(5) for a mechanism for overriding
   the general settings for individual packages

如果你收到通知,你应该删除一些较旧的依赖项运行

sudo apt-get autoclear && sudo apt-get autoremove 

这里有完整的 apt-get 指南

相关内容