ubuntu-core-launcher 已自动安装,不再需要

ubuntu-core-launcher 已自动安装,不再需要

更新 Ubuntu 16.04 中的所有软件包后出现此问题。

All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  ubuntu-core-launcher
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

使用 删除 ubuntu-core-launcher 是否安全apt-get autoremove

答案1

ubuntu-core-launcher 包用于新的活泼软件包安装程序仍在制作中。现在正在运行sudo dpkg -s ubuntu-core-launcher将显示在优先信息它是可选的,这意味着您可以将其删除。

现在的问题是脆弱性就像声明的那样这里影响Ubuntu 16.04 lts并需要升级到版本 1.0.27 或更高版本最新版本这里

但放回去也很容易:

sudo apt update && sudo apt-get install ubuntu-core-launcher

删除它也很容易:

sudo apt-get purge --auto-remove ubuntu-core-launcher

所以跑步sudo apt autoremove就可以达到这个效果。

答案2

ubuntu-core-launcher 是 snapd 的依赖项,snapd 是 snap 打包格式的后端,是默认映像的一部分。但是,ubuntu-core-launcher 不久前成为 snap-confine 的过渡包。从 snapd v2.17.1ubuntu1 开始,snapd 显然直接依赖于 snap-confine 而不是 ubuntu-core-launcher,这使得 ubuntu-core-launcher 不再是系统上的必需品,也未明确安装,因此使其成为自动删除的候选。由于它的唯一目的是引入 snap-confine,因此您可以放心地使用 将其删除sudo apt autoremove

相关内容