Linux显示所有可更新的软件清单命令

最后更新于:2022-04-01 07:07:58

Linux显示所有可更新的软件清单命令 ~~~ youhaidong@youhaidong-ThinkPad-Edge-E545:~$ yum check-update 程序“yum”尚未安装。 您可以使用以下命令安装: sudo apt-get install yum youhaidong@youhaidong-ThinkPad-Edge-E545:~$ sudo apt-get install yum [sudo] password for youhaidong: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 将会安装下列额外的软件包: debugedit librpm3 librpmbuild3 librpmio3 librpmsign1 libsqlite0 python-rpm python-sqlite python-sqlitecachec python-urlgrabber rpm rpm-common rpm2cpio 建议安装的软件包: rpm-i18n python-sqlite-dbg alien elfutils 下列【新】软件包将被安装: debugedit librpm3 librpmbuild3 librpmio3 librpmsign1 libsqlite0 python-rpm python-sqlite python-sqlitecachec python-urlgrabber rpm rpm-common rpm2cpio yum 升级了 0 个软件包,新安装了 14 个软件包,要卸载 0 个软件包,有 102 个软件包未被升级。 需要下载 1,519 kB 的软件包。 解压缩后会消耗掉 6,400 kB 的额外空间。 您希望继续执行吗? [Y/n] Y 获取:1 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main librpmio3 amd64 4.11.1-3ubuntu0.1 [68.6 kB] 获取:2 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main debugedit amd64 4.11.1-3ubuntu0.1 [15.6 kB] 获取:3 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main librpm3 amd64 4.11.1-3ubuntu0.1 [153 kB] 获取:4 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main librpmbuild3 amd64 4.11.1-3ubuntu0.1 [56.3 kB] 获取:5 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main librpmsign1 amd64 4.11.1-3ubuntu0.1 [7,890 B] 获取:6 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe libsqlite0 amd64 2.8.17-10ubuntu2 [139 kB] 获取:7 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe python-sqlite amd64 1.0.1-11 [20.7 kB] 获取:8 http://cn.archive.ubuntu.com/ubuntu/ trusty/main python-urlgrabber all 3.9.1-4ubuntu3 [42.3 kB] 获取:9 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main rpm-common amd64 4.11.1-3ubuntu0.1 [21.5 kB] 获取:10 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main rpm2cpio amd64 4.11.1-3ubuntu0.1 [5,142 B] 获取:11 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main rpm amd64 4.11.1-3ubuntu0.1 [114 kB] 获取:12 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-rpm amd64 4.11.1-3ubuntu0.1 [32.6 kB] 获取:13 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe python-sqlitecachec amd64 1.1.4-1 [21.4 kB] 获取:14 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe yum all 3.4.3-2ubuntu1 [821 kB] 下载 1,519 kB,耗时 9秒 (161 kB/s) Selecting previously unselected package librpmio3. (正在读取数据库 ... 系统当前共安装有 198748 个文件和目录。) Preparing to unpack .../librpmio3_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking librpmio3 (4.11.1-3ubuntu0.1) ... Selecting previously unselected package debugedit. Preparing to unpack .../debugedit_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking debugedit (4.11.1-3ubuntu0.1) ... Selecting previously unselected package librpm3. Preparing to unpack .../librpm3_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking librpm3 (4.11.1-3ubuntu0.1) ... Selecting previously unselected package librpmbuild3. Preparing to unpack .../librpmbuild3_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking librpmbuild3 (4.11.1-3ubuntu0.1) ... Selecting previously unselected package librpmsign1. Preparing to unpack .../librpmsign1_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking librpmsign1 (4.11.1-3ubuntu0.1) ... Selecting previously unselected package libsqlite0. Preparing to unpack .../libsqlite0_2.8.17-10ubuntu2_amd64.deb ... Unpacking libsqlite0 (2.8.17-10ubuntu2) ... Selecting previously unselected package python-sqlite. Preparing to unpack .../python-sqlite_1.0.1-11_amd64.deb ... Unpacking python-sqlite (1.0.1-11) ... Selecting previously unselected package python-urlgrabber. Preparing to unpack .../python-urlgrabber_3.9.1-4ubuntu3_all.deb ... Unpacking python-urlgrabber (3.9.1-4ubuntu3) ... Selecting previously unselected package rpm-common. Preparing to unpack .../rpm-common_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking rpm-common (4.11.1-3ubuntu0.1) ... Selecting previously unselected package rpm2cpio. Preparing to unpack .../rpm2cpio_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking rpm2cpio (4.11.1-3ubuntu0.1) ... Selecting previously unselected package rpm. Preparing to unpack .../rpm_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking rpm (4.11.1-3ubuntu0.1) ... Selecting previously unselected package python-rpm. Preparing to unpack .../python-rpm_4.11.1-3ubuntu0.1_amd64.deb ... Unpacking python-rpm (4.11.1-3ubuntu0.1) ... Selecting previously unselected package python-sqlitecachec. Preparing to unpack .../python-sqlitecachec_1.1.4-1_amd64.deb ... Unpacking python-sqlitecachec (1.1.4-1) ... Selecting previously unselected package yum. Preparing to unpack .../yum_3.4.3-2ubuntu1_all.deb ... Unpacking yum (3.4.3-2ubuntu1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... 正在设置 librpmio3 (4.11.1-3ubuntu0.1) ... 正在设置 debugedit (4.11.1-3ubuntu0.1) ... 正在设置 librpm3 (4.11.1-3ubuntu0.1) ... 正在设置 librpmbuild3 (4.11.1-3ubuntu0.1) ... 正在设置 librpmsign1 (4.11.1-3ubuntu0.1) ... 正在设置 libsqlite0 (2.8.17-10ubuntu2) ... 正在设置 python-sqlite (1.0.1-11) ... 正在设置 python-urlgrabber (3.9.1-4ubuntu3) ... 正在设置 rpm-common (4.11.1-3ubuntu0.1) ... 正在设置 rpm2cpio (4.11.1-3ubuntu0.1) ... 正在设置 rpm (4.11.1-3ubuntu0.1) ... 正在设置 python-rpm (4.11.1-3ubuntu0.1) ... 正在设置 python-sqlitecachec (1.1.4-1) ... 正在设置 yum (3.4.3-2ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.4) ... youhaidong@youhaidong-ThinkPad-Edge-E545:~$ yum check-update 没有已启用的仓库。 执行 "yum repolist all" 查看您拥有的仓库。 您可以用 yum-config-manager --enable <仓库名> 来启用仓库 ~~~
';