我有一个 Ubuntu(Arm一个arch64) 系统从 21.10 升级到 22.04(开发版),现在终于升级到 22.04(发布版)。该命令的输出ubuntu-security-status
如下所示:
1910 packages installed, of which:
0 receive package updates with LTS until 4/2027
1906 packages are from third parties
4 packages are no longer available for download
[...]
我还有一个同样升级(但英特尔x86_64) 系统中相同的命令显示如下内容:
2201 packages installed, of which:
1900 receive package updates with LTS until 4/2027
1 package is from a third party
3 packages are no longer available for download
[...]
我期望ubuntu-security-status
Arm 系统上的命令能够receive package updates with LTS until 4/2027
像在 Intel 系统上一样将这 1900 多个软件包显示到“ ”。为什么该ubuntu-security-status
命令会给出这个意外的输出?
注意:两个系统均已完全更新,并且apt
( update
, upgrade
, ...) 命令在两个系统上均可按预期工作:两个系统均能够正常安装操作系统补丁。
Arm系统是安装了“Ubuntu Desktop”软件的Oracle云服务器,命令输出grep -v -e '^#' -e '^ *$' /etc/apt/sources.list
为:
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy main restricted
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy universe
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy-updates universe
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy multiverse
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy-updates multiverse
deb http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports jammy-security universe
deb http://ports.ubuntu.com/ubuntu-ports jammy-security multiverse
答案1
根据我在安全团队的联系人,它arm64
位于 ports.ubuntu.com 存储库中。不幸的是,该工具不知道如何处理它(相对于标准存储库中的ubuntu-security-status
标准 x86_64 aka )。amd64
因此,这是“ports.ubuntu.com
存储库中任何体系结构的工具的标准行为”,因为该工具不知道如何处理 arm64 的 ubuntu 端口存储库 - 这是该工具已知的当前限制。
答案2
此命令已被替换pro security-status
为Ubuntu 22.10。在我的 ARM 系统中运行示例会产生如下输出:
$ pro security-status
2036 packages installed:
1866 packages from Ubuntu Main/Restricted repository
167 packages from Ubuntu Universe/Multiverse repository
3 packages no longer available for download
To get more information about the packages, run
pro security-status --help
for a list of available options.
Main/Restricted packages receive updates until 7/2023.