它似乎仅打印版本:
$ apt list --upgradable
Listing... Done
dpkg/bionic-updates 1.19.0.5ubuntu2.3 amd64 [upgradable from: 1.19.0.5ubuntu2.2]
file-roller/bionic-security 3.28.0-1ubuntu1.1 amd64 [upgradable from: 3.28.0-1ubuntu1]
libdpkg-perl/bionic-updates,bionic-updates 1.19.0.5ubuntu2.3 all [upgradable from: 1.19.0.5ubuntu2.2]
尝试使用“ 1.19.0.5ubuntu2.3
”或仅使用“ ubuntu
”,但无济于事:
$ apt show 1.19.0.5ubuntu2.3
N: Unable to locate package 1.19.0.5ubuntu2.3
N: Couldn't find any package by glob '1.19.0.5ubuntu2.3'
N: Couldn't find any package by regex '1.19.0.5ubuntu2.3'
N: Unable to locate package 1.19.0.5ubuntu2.3
N: Couldn't find any package by glob '1.19.0.5ubuntu2.3'
N: Couldn't find any package by regex '1.19.0.5ubuntu2.3'
E: No packages found
$ apt show ubuntu
N: Unable to locate package ubuntu
N: Unable to locate package ubuntu
E: No packages found
那么,实际的软件包名称在哪里?操作系统版本显示为 Ubuntu 18.04.3 LTS。
答案1
dpkg
、file-roller
和libdpkg-perl
是可以升级的软件包。1.19.0.5ubuntu2.3
、3.28.0-1ubuntu1.1
和1.19.0.5ubuntu2.3
分别是可以升级到的版本。