Jue*_*gen 9 package-management apt
根据/etc/apt/sources.list“Ubuntu 团队完全不支持” ,如何检查我是否安装了任何 Universe 或 Multiverse 软件包?
我正在寻找的是 Ubuntu 18 LTS 服务器(无 GUI)的命令行,用于按组件列出已安装的软件包,包括不可用的已安装软件包apt-get(不是 中配置的档案的一部分/etc/apt/sources.list)。
aptitude versions '?name(.)'列出可用的包及其安装状态,但不输出它们的源组件,也不输出apt-cache.
N0r*_*ert 15
您可以使用ubuntu-support-status命令
Run Code Online (Sandbox Code Playgroud)$ ubuntu-support-status --help Usage: ubuntu-support-status [options] Options: -h, --help show this help message and exit --show-unsupported Show unsupported packages on this machine --show-supported Show supported packages on this machine --show-all Show all packages with their status --list Show all packages in a list
带有相应的参数--show-unsupported。
以下是我的 16.04.5 LTS 系统的示例:
Run Code Online (Sandbox Code Playgroud)$ ubuntu-support-status --show-unsupported Support status summary of 'hostname': You have 94 packages (1.9%) supported until April 2021 (Community - 5y) You have 2668 packages (54.0%) supported until April 2021 (Canonical - 5y) You have 647 packages (13.1%) supported until April 2019 (Community - 3y) You have 79 packages (1.6%) that can not/no-longer be downloaded You have 1456 packages (29.4%) that are unsupported No longer downloadable: acroread acroread-bin:i386 cpp-4.4 cpp-4.5 cpp-4.6 ... Unsupported: abiword-plugin-grammar adequate aglfn alien android android-tools-adb android-tools-fastboot ant ant-optional antiword apt-file ... y-ppa-manager yad zenmap
(我添加了...限制行数)。
| 归档时间: |
|
| 查看次数: |
2170 次 |
| 最近记录: |