在命令行上是否仍支持Ubuntu版本?


14

无论如何,从命令行可以知道何时不再支持Ubuntu版本?我正在寻找类似的东西(不使用Google或Wikipedia),

apt-release-support xenial

或者,即使它只是告诉我是否支持我的发行版。

Answers:


26

运行ubuntu-support-status将告诉您所安装的所有产品的支持能持续多长时间,以下是我的输出示例:

Support status summary of 'ivory':

You have 1904 packages (75.7%) supported until April 2021 (5y)
You have 14 packages (0.6%) supported until January 2022 (5y)
You have 83 packages (3.3%) supported until April 2019 (3y)
You have 237 packages (9.4%) supported until January 2017 (9m)

You have 80 packages (3.2%) that can not/no-longer be downloaded
You have 197 packages (7.8%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details

1
真好!ubuntu-support-status --show-all实际查看您所有的应用程序以及支持它们直到或不再被支持的时间,这是很酷的。+1
Terrance

2
又如何从该软件包列表中轻松得出Ubuntu发行支持状态?
字节指挥官

2

运行hwe-support-status以获得简单的结果。使用--verbose选项,否则如果系统未使用LTS启用堆栈,则用户将看不到任何内容。

使用现有内核的14.04版本中的示例结果:

$ hwe-support-status
$ hwe-support-status --verbose
You are not running a system with a Hardware Enablement Stack. \
Your system is supported until April 2019.

上面的命令由Ubuntu上的update-manager-core软件包提供,该软件包与提供ubuntu-support-status命令的软件包相同。

$ dpkg --search support-status
update-manager-core: /usr/bin/hwe-support-status
update-manager-core: /usr/bin/ubuntu-support-status

最终用户将只需要以下命令: hwe-support-status --verbose

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.