![是否有可用的 API 调用来检查 LTS 的支持周期](https://linux22.com/image/946841/%E6%98%AF%E5%90%A6%E6%9C%89%E5%8F%AF%E7%94%A8%E7%9A%84%20API%20%E8%B0%83%E7%94%A8%E6%9D%A5%E6%A3%80%E6%9F%A5%20LTS%20%E7%9A%84%E6%94%AF%E6%8C%81%E5%91%A8%E6%9C%9F.png)
ubuntu 是否有任何可用的 API 调用来检查 LTS 支持周期?比如,我们为每个版本提供到哪一年的支持。我知道以下链接提供了详细信息,Ubuntu 发布周期,好奇我们有一个 api,我们可以用它来检查特定版本的结束日期。
答案1
有ubuntu-security-status
:
~$ ubuntu-security-status
1819 packages installed, of which:
1510 receive package updates with LTS until 4/2025
2 packages are from third parties
Packages from third parties are not provided by the official Ubuntu
archive, for example packages from Personal Package Archives in
Launchpad.
For more information on the packages, run 'ubuntu-security-status
--thirdparty'.