Ubuntu22.04 解决 E: 无法定位软件包 yum

news/2025/1/12 23:40:11/文章来源:https://www.cnblogs.com/ios9/p/18667630

1、修改 sudo vim /etc/apt/sources.list的内容,将下文内容增加至该文件中:

deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiversedeb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse

image


2:按步骤操作执行




root@alan-VMware-Virtual-Platform:~# clear
root@alan-VMware-Virtual-Platform:~# yum
Command 'yum' not found, did you mean:command 'gum' from snap gum (0.13.0)command 'num' from deb quickcal (2.4-1)command 'sum' from deb coreutils (9.4-2ubuntu2)command 'zum' from deb perforate (1.2-5.3)command 'uum' from deb freewnn-jserver (1.1.1~a021+cvs20130302-7build1)
See 'snap info <snapname>' for additional versions.
root@alan-VMware-Virtual-Platform:~# sudo apt-get install yum
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package yum is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package 'yum' has no installation candidate
root@alan-VMware-Virtual-Platform:~# clear
root@alan-VMware-Virtual-Platform:~# sudo apt-get update
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease [270 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease [128 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease [127 kB]
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble InRelease
Get:6 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 Packages [1,395 kB]
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates InRelease
Ign:8 http://archive.ubuntu.com/ubuntu trusty InRelease
Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main i386 Packages [1,040 kB]
Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main Translation-en [510 kB]
Hit:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports InRelease
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 Components [423 kB]
Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main Icons (48x48) [100.0 kB]
Get:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main Icons (64x64) [148 kB]
Get:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main Icons (64x64@2) [15.8 kB]
Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 c-n-f Metadata [30.3 kB]
Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/restricted i386 Packages [30.4 kB]
Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/restricted amd64 Packages [129 kB]
Get:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/restricted Translation-en [18.6 kB]
Get:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/restricted amd64 c-n-f Metadata [488 B]
Get:21 http://archive.ubuntu.com/ubuntu trusty Release [58.5 kB]
Get:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe i386 Packages [7,474 kB]
Get:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 Packages [14.1 MB]
Get:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe Translation-en [5,652 kB]
Get:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 Components [3,559 kB]
Get:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe Icons (48x48) [3,447 kB]
Get:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe Icons (64x64) [7,609 kB]
Get:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe Icons (64x64@2) [69.3 kB]
Get:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
Get:30 http://archive.ubuntu.com/ubuntu trusty Release.gpg [933 B]
Get:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse i386 Packages [112 kB]
Get:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse amd64 Packages [217 kB]
Get:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse Translation-en [112 kB]
Get:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse amd64 Components [42.1 kB]
Get:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse Icons (48x48) [42.7 kB]
Get:36 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse Icons (64x64) [193 kB]
Get:37 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse Icons (64x64@2) [214 B]
Get:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/multiverse amd64 c-n-f Metadata [8,372 B]
Get:39 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 Packages [2,275 kB]
Get:40 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main i386 Packages [744 kB]
Get:41 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Translation-en [382 kB]
Get:42 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 Components [103 kB]
Get:43 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Icons (48x48) [37.5 kB]
Get:44 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Icons (64x64) [56.8 kB]
Get:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Icons (64x64@2) [29 B]
Get:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 c-n-f Metadata [17.9 kB]
Get:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 Packages [2,877 kB]
Get:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted i386 Packages [40.3 kB]
Get:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Translation-en [501 kB]
Get:50 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 Components [212 B]
Get:51 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Icons (48x48) [29 B]
Get:52 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Icons (64x64) [29 B]
Get:53 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Icons (64x64@2) [29 B]
Get:54 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [612 B]
Get:55 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 Packages [1,181 kB]
Get:56 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe i386 Packages [754 kB]
Hit:57 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:58 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe Translation-en [289 kB]
Get:59 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 Components [356 kB]
Get:60 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe Icons (48x48) [247 kB]
Ign:30 http://archive.ubuntu.com/ubuntu trusty Release.gpg
Get:61 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe Icons (64x64) [398 kB]
Get:62 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe Icons (64x64@2) [29 B]
Get:63 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 c-n-f Metadata [26.4 kB]
Get:64 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 Packages [44.5 kB]
Get:65 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse i386 Packages [4,752 B]
Get:66 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse Translation-en [11.5 kB]
Get:67 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 Components [940 B]
Get:68 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse Icons (48x48) [1,867 B]
Get:69 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse Icons (64x64) [2,497 B]
Get:70 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse Icons (64x64@2) [29 B]
Get:71 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [440 B]
Get:72 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main amd64 Packages [67.7 kB]
Get:73 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main i386 Packages [59.9 kB]
Get:74 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main Translation-en [11.1 kB]
Get:75 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main amd64 Components [7,024 B]
Get:76 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main Icons (48x48) [9,524 B]
Get:77 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main Icons (64x64) [11.2 kB]
Get:78 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main Icons (64x64@2) [29 B]
Get:79 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B]
Get:80 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/restricted amd64 Components [212 B]
Get:81 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/restricted Icons (48x48) [29 B]
Get:82 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/restricted Icons (64x64) [29 B]
Get:83 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/restricted Icons (64x64@2) [29 B]
Get:84 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
Get:85 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe i386 Packages [17.3 kB]
Get:86 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 Packages [28.9 kB]
Get:87 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe Translation-en [16.5 kB]
Get:88 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 Components [17.7 kB]
Get:89 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe Icons (48x48) [19.7 kB]
Get:90 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe Icons (64x64) [28.2 kB]
Get:91 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe Icons (64x64@2) [29 B]
Get:92 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 c-n-f Metadata [672 B]
Get:93 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/multiverse amd64 Components [212 B]
Get:94 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/multiverse Icons (48x48) [29 B]
Get:95 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/multiverse Icons (64x64) [29 B]
Get:96 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/multiverse Icons (64x64@2) [29 B]
Get:97 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
Get:98 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [581 kB]
Get:99 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,040 kB]
Get:100 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [321 kB]
Get:101 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Components [43.1 kB]
Get:102 http://security.ubuntu.com/ubuntu jammy-security/main Icons (48x48) [16.9 kB]
Get:103 http://security.ubuntu.com/ubuntu jammy-security/main Icons (64x64) [26.5 kB]
Get:104 http://security.ubuntu.com/ubuntu jammy-security/main Icons (64x64@2) [29 B]
Get:105 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [13.3 kB]
Get:106 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2,772 kB]
Get:107 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages [38.5 kB]
Get:108 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [484 kB]
Get:109 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Components [208 B]
Get:110 http://security.ubuntu.com/ubuntu jammy-security/restricted Icons (48x48) [29 B]
Get:111 http://security.ubuntu.com/ubuntu jammy-security/restricted Icons (64x64) [29 B]
Get:112 http://security.ubuntu.com/ubuntu jammy-security/restricted Icons (64x64@2) [29 B]
Get:113 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [580 B]
Get:114 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [959 kB]
Get:115 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [648 kB]
Get:116 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [204 kB]
Get:117 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Components [125 kB]
Get:118 http://security.ubuntu.com/ubuntu jammy-security/universe Icons (48x48) [82.0 kB]
Get:119 http://security.ubuntu.com/ubuntu jammy-security/universe Icons (64x64) [122 kB]
Get:120 http://security.ubuntu.com/ubuntu jammy-security/universe Icons (64x64@2) [29 B]
Get:121 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [19.5 kB]
Get:122 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.6 kB]
Get:123 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages [1,356 B]
Get:124 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [8,260 B]
Get:125 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Components [208 B]
Get:126 http://security.ubuntu.com/ubuntu jammy-security/multiverse Icons (48x48) [29 B]
Get:127 http://security.ubuntu.com/ubuntu jammy-security/multiverse Icons (64x64) [29 B]
Get:128 http://security.ubuntu.com/ubuntu jammy-security/multiverse Icons (64x64@2) [29 B]
Get:129 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [224 B]
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com/ubuntu trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://archive.ubuntu.com/ubuntu trusty Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@alan-VMware-Virtual-Platform:~# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.4K5dyaxhd8/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: key 40976EAF437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
root@alan-VMware-Virtual-Platform:~# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.DtNFCBkDXN/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
gpg: key 3B4FE6ACC0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
root@alan-VMware-Virtual-Platform:~# sudo apt-get update
Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:6 http://archive.ubuntu.com/ubuntu trusty InRelease
Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble InRelease
Get:9 http://archive.ubuntu.com/ubuntu trusty Release [58.5 kB]
Hit:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates InRelease
Hit:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports InRelease
Get:11 http://archive.ubuntu.com/ubuntu trusty Release.gpg [933 B]
Get:12 http://archive.ubuntu.com/ubuntu trusty/main amd64 Packages [1,350 kB]
Get:13 http://archive.ubuntu.com/ubuntu trusty/main i386 Packages [1,348 kB]
Get:14 http://archive.ubuntu.com/ubuntu trusty/universe amd64 Packages [5,859 kB]
Get:15 http://archive.ubuntu.com/ubuntu trusty/universe i386 Packages [5,866 kB]
Get:16 http://archive.ubuntu.com/ubuntu trusty/restricted amd64 Packages [13.0 kB]
Get:17 http://archive.ubuntu.com/ubuntu trusty/restricted i386 Packages [13.4 kB]
Get:18 http://archive.ubuntu.com/ubuntu trusty/multiverse i386 Packages [134 kB]
Get:19 http://archive.ubuntu.com/ubuntu trusty/multiverse amd64 Packages [132 kB]
Fetched 14.8 MB in 37s (394 kB/s)
Reading package lists... Done
W: http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
root@alan-VMware-Virtual-Platform:~# sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:python3-netifaces
Use 'sudo apt autoremove' to remove it.
The following upgrades have been deferred due to phasing:python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@alan-VMware-Virtual-Platform:~# apt install yum
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:python3-netifaces
Use 'apt autoremove' to remove it.
The following additional packages will be installed:debugedit libfsverity0 liblua5.2-0 liblua5.3-0 libnsl2 libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib librpm3 librpm9t64 librpmbuild3 librpmbuild9t64 librpmio3 librpmio9t64 librpmsign1 librpmsign9t64 libsqlite0 python python-libxml2 python-minimalpython-pycurl python-rpm python-sqlite python-sqlitecachec python-urlgrabber python2.7 python2.7-minimal rpm rpm-common rpm2cpio
Suggested packages:python-doc python-tk libcurl4-gnutls-dev python-pycurl-dbg python-sqlite-dbg python2.7-doc binfmt-support alien elfutils rpmlint rpm-i18n
Recommended packages:rpm-common
The following NEW packages will be installed:debugedit libfsverity0 liblua5.2-0 liblua5.3-0 libnsl2 libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib librpm3 librpm9t64 librpmbuild3 librpmbuild9t64 librpmio3 librpmio9t64 librpmsign1 librpmsign9t64 libsqlite0 python python-libxml2 python-minimalpython-pycurl python-rpm python-sqlite python-sqlitecachec python-urlgrabber python2.7 python2.7-minimal rpm rpm-common rpm2cpio yum
0 upgraded, 32 newly installed, 0 to remove and 3 not upgraded.
Need to get 7,917 kB of archives.
After this operation, 30.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 libpython2.7-minimal amd64 2.7.18-13ubuntu1.5 [347 kB]
Get:2 http://archive.ubuntu.com/ubuntu trusty/main amd64 libpython-stdlib amd64 2.7.5-5ubuntu3 [7,012 B]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 python2.7-minimal amd64 2.7.18-13ubuntu1.5 [1,400 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 libpython2.7-stdlib amd64 2.7.18-13ubuntu1.5 [1,977 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 libpython2.7 amd64 2.7.18-13ubuntu1.5 [1,164 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 libsqlite0 amd64 2.8.17-15fakesync1build1 [160 kB]
Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 python2.7 amd64 2.7.18-13ubuntu1.5 [250 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble/universe amd64 libfsverity0 amd64 1.5-1.1build3 [11.3 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble/universe amd64 liblua5.2-0 amd64 5.2.4-3build2 [123 kB]
Get:18 http://archive.ubuntu.com/ubuntu trusty/main amd64 librpmio3 amd64 4.11.1-3 [80.9 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble/universe amd64 liblua5.3-0 amd64 5.3.6-2build2 [143 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble/main amd64 libnsl2 amd64 1.3.0-3build3 [41.4 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 librpmio9t64 amd64 4.18.2+dfsg-2.1build2 [95.2 kB]
Get:14 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 librpm9t64 amd64 4.18.2+dfsg-2.1build2 [217 kB]
Get:15 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 librpmbuild9t64 amd64 4.18.2+dfsg-2.1build2 [80.1 kB]
Get:16 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 librpmsign9t64 amd64 4.18.2+dfsg-2.1build2 [12.0 kB]
Get:17 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 rpm-common amd64 4.18.2+dfsg-2.1build2 [34.0 kB]
Get:19 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 rpm2cpio amd64 4.18.2+dfsg-2.1build2 [10.3 kB]
Get:20 http://cn.archive.ubuntu.com/ubuntu noble/universe amd64 rpm amd64 4.18.2+dfsg-2.1build2 [161 kB]
Get:21 http://archive.ubuntu.com/ubuntu trusty/main amd64 librpm3 amd64 4.11.1-3 [184 kB]
Get:22 http://archive.ubuntu.com/ubuntu trusty/main amd64 librpmbuild3 amd64 4.11.1-3 [66.2 kB]
Get:23 http://archive.ubuntu.com/ubuntu trusty/main amd64 librpmsign1 amd64 4.11.1-3 [9,082 B]
Get:24 http://archive.ubuntu.com/ubuntu trusty/main amd64 python-minimal amd64 2.7.5-5ubuntu3 [27.5 kB]
Get:25 http://archive.ubuntu.com/ubuntu trusty/main amd64 python amd64 2.7.5-5ubuntu3 [134 kB]
Get:26 http://archive.ubuntu.com/ubuntu trusty/main amd64 python-libxml2 amd64 2.9.1+dfsg1-3ubuntu4 [140 kB]
Get:27 http://archive.ubuntu.com/ubuntu trusty/universe amd64 python-sqlite amd64 1.0.1-11 [20.7 kB]
Get:28 http://archive.ubuntu.com/ubuntu trusty/main amd64 python-pycurl amd64 7.19.3-0ubuntu3 [47.9 kB]
Get:29 http://archive.ubuntu.com/ubuntu trusty/main amd64 python-urlgrabber all 3.9.1-4ubuntu3 [42.3 kB]
Get:30 http://archive.ubuntu.com/ubuntu trusty/universe amd64 python-rpm amd64 4.11.1-3 [43.0 kB]
Get:31 http://archive.ubuntu.com/ubuntu trusty/universe amd64 python-sqlitecachec amd64 1.1.4-1 [21.4 kB]
Get:32 http://archive.ubuntu.com/ubuntu trusty/universe amd64 yum all 3.4.3-2ubuntu1 [821 kB]
Fetched 7,917 kB in 4s (2,094 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 179876 files and directories currently installed.)
Preparing to unpack .../00-libpython2.7-minimal_2.7.18-13ubuntu1.5_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.18-13ubuntu1.5) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../01-python2.7-minimal_2.7.18-13ubuntu1.5_amd64.deb ...
Unpacking python2.7-minimal (2.7.18-13ubuntu1.5) ...
Selecting previously unselected package debugedit.
Preparing to unpack .../02-debugedit_1%3a5.0-5build2_amd64.deb ...
Unpacking debugedit (1:5.0-5build2) ...
Selecting previously unselected package libfsverity0:amd64.
Preparing to unpack .../03-libfsverity0_1.5-1.1build3_amd64.deb ...
Unpacking libfsverity0:amd64 (1.5-1.1build3) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../04-liblua5.2-0_5.2.4-3build2_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-3build2) ...
Selecting previously unselected package liblua5.3-0:amd64.
Preparing to unpack .../05-liblua5.3-0_5.3.6-2build2_amd64.deb ...
Unpacking liblua5.3-0:amd64 (5.3.6-2build2) ...
Selecting previously unselected package libnsl2:amd64.
Preparing to unpack .../06-libnsl2_1.3.0-3build3_amd64.deb ...
Unpacking libnsl2:amd64 (1.3.0-3build3) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../07-libpython2.7-stdlib_2.7.18-13ubuntu1.5_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.18-13ubuntu1.5) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../08-libpython-stdlib_2.7.5-5ubuntu3_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.5-5ubuntu3) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../09-libpython2.7_2.7.18-13ubuntu1.5_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.18-13ubuntu1.5) ...
Selecting previously unselected package librpmio3.
Preparing to unpack .../10-librpmio3_4.11.1-3_amd64.deb ...
Unpacking librpmio3 (4.11.1-3) ...
Selecting previously unselected package librpm3.
Preparing to unpack .../11-librpm3_4.11.1-3_amd64.deb ...
Unpacking librpm3 (4.11.1-3) ...
Selecting previously unselected package librpmio9t64.
Preparing to unpack .../12-librpmio9t64_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking librpmio9t64 (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package librpm9t64.
Preparing to unpack .../13-librpm9t64_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking librpm9t64 (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package librpmbuild3.
Preparing to unpack .../14-librpmbuild3_4.11.1-3_amd64.deb ...
Unpacking librpmbuild3 (4.11.1-3) ...
Selecting previously unselected package librpmbuild9t64.
Preparing to unpack .../15-librpmbuild9t64_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking librpmbuild9t64 (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package librpmsign1.
Preparing to unpack .../16-librpmsign1_4.11.1-3_amd64.deb ...
Unpacking librpmsign1 (4.11.1-3) ...
Selecting previously unselected package librpmsign9t64.
Preparing to unpack .../17-librpmsign9t64_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking librpmsign9t64 (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package libsqlite0.
Preparing to unpack .../18-libsqlite0_2.8.17-15fakesync1build1_amd64.deb ...
Unpacking libsqlite0 (2.8.17-15fakesync1build1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../19-python2.7_2.7.18-13ubuntu1.5_amd64.deb ...
Unpacking python2.7 (2.7.18-13ubuntu1.5) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../20-python-minimal_2.7.5-5ubuntu3_amd64.deb ...
Unpacking python-minimal (2.7.5-5ubuntu3) ...
Selecting previously unselected package python.
Preparing to unpack .../21-python_2.7.5-5ubuntu3_amd64.deb ...
Unpacking python (2.7.5-5ubuntu3) ...
Selecting previously unselected package python-libxml2.
Preparing to unpack .../22-python-libxml2_2.9.1+dfsg1-3ubuntu4_amd64.deb ...
Unpacking python-libxml2 (2.9.1+dfsg1-3ubuntu4) ...
Selecting previously unselected package python-sqlite.
Preparing to unpack .../23-python-sqlite_1.0.1-11_amd64.deb ...
Unpacking python-sqlite (1.0.1-11) ...
Selecting previously unselected package python-pycurl.
Preparing to unpack .../24-python-pycurl_7.19.3-0ubuntu3_amd64.deb ...
Unpacking python-pycurl (7.19.3-0ubuntu3) ...
Selecting previously unselected package python-urlgrabber.
Preparing to unpack .../25-python-urlgrabber_3.9.1-4ubuntu3_all.deb ...
Unpacking python-urlgrabber (3.9.1-4ubuntu3) ...
Selecting previously unselected package rpm-common.
Preparing to unpack .../26-rpm-common_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking rpm-common (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package rpm2cpio.
Preparing to unpack .../27-rpm2cpio_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking rpm2cpio (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package rpm.
Preparing to unpack .../28-rpm_4.18.2+dfsg-2.1build2_amd64.deb ...
Unpacking rpm (4.18.2+dfsg-2.1build2) ...
Selecting previously unselected package python-rpm.
Preparing to unpack .../29-python-rpm_4.11.1-3_amd64.deb ...
Unpacking python-rpm (4.11.1-3) ...
Selecting previously unselected package python-sqlitecachec.
Preparing to unpack .../30-python-sqlitecachec_1.1.4-1_amd64.deb ...
Unpacking python-sqlitecachec (1.1.4-1) ...
Selecting previously unselected package yum.
Preparing to unpack .../31-yum_3.4.3-2ubuntu1_all.deb ...
Unpacking yum (3.4.3-2ubuntu1) ...
Setting up libsqlite0 (2.8.17-15fakesync1build1) ...
Setting up libfsverity0:amd64 (1.5-1.1build3) ...
Setting up libpython2.7-minimal:amd64 (2.7.18-13ubuntu1.5) ...
Setting up python2.7-minimal (2.7.18-13ubuntu1.5) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up liblua5.2-0:amd64 (5.2.4-3build2) ...
Setting up liblua5.3-0:amd64 (5.3.6-2build2) ...
Setting up libnsl2:amd64 (1.3.0-3build3) ...
Setting up debugedit (1:5.0-5build2) ...
Setting up libpython2.7-stdlib:amd64 (2.7.18-13ubuntu1.5) ...
Setting up libpython-stdlib:amd64 (2.7.5-5ubuntu3) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up librpmio3 (4.11.1-3) ...
Setting up librpm3 (4.11.1-3) ...
Setting up librpmio9t64 (4.18.2+dfsg-2.1build2) ...
Setting up librpmbuild3 (4.11.1-3) ...
Setting up libpython2.7:amd64 (2.7.18-13ubuntu1.5) ...
Setting up python2.7 (2.7.18-13ubuntu1.5) ...
Setting up librpm9t64 (4.18.2+dfsg-2.1build2) ...
Setting up librpmbuild9t64 (4.18.2+dfsg-2.1build2) ...
Setting up librpmsign1 (4.11.1-3) ...
Setting up rpm-common (4.18.2+dfsg-2.1build2) ...
Setting up librpmsign9t64 (4.18.2+dfsg-2.1build2) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-rpm (4.11.1-3) ...
Setting up python-sqlitecachec (1.1.4-1) ...
Setting up rpm2cpio (4.18.2+dfsg-2.1build2) ...
Setting up rpm (4.18.2+dfsg-2.1build2) ...
Setting up python-sqlite (1.0.1-11) ...
Setting up python-libxml2 (2.9.1+dfsg1-3ubuntu4) ...
Setting up python-pycurl (7.19.3-0ubuntu3) ...
Setting up python-urlgrabber (3.9.1-4ubuntu3) ...
Setting up yum (3.4.3-2ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
root@alan-VMware-Virtual-Platform:~# apt install libpython-stdlib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpython-stdlib is already the newest version (2.7.5-5ubuntu3).
libpython-stdlib set to manually installed.
The following package was automatically installed and is no longer required:python3-netifaces
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@alan-VMware-Virtual-Platform:~# apt install yum
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
yum is already the newest version (3.4.3-2ubuntu1).
The following package was automatically installed and is no longer required:python3-netifaces
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@alan-VMware-Virtual-Platform:~# 


root@alan-VMware-Virtual-Platform:~# yum
You need to give some command
Usage: yum [options] COMMANDList of Commands:check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
groups         Display, or use, the groups information
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
load-transaction load a saved transaction from filename
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.Options:-h, --help            show this help message and exit-t, --tolerant        be tolerant of errors-C, --cacheonly       run entirely from system cache, don't update cache-c [config file], --config=[config file]config file location-R [minutes], --randomwait=[minutes]maximum command wait time-d [debug level], --debuglevel=[debug level]debugging output level--showduplicates      show duplicates, in repos, in list/search commands-e [error level], --errorlevel=[error level]error output level--rpmverbosity=[debug level name]debugging output level for rpm-q, --quiet           quiet operation-v, --verbose         verbose operation-y, --assumeyes       answer yes for all questions--version             show Yum version and exit--installroot=[path]  set install root--enablerepo=[repo]   enable one or more repositories (wildcards allowed)--disablerepo=[repo]  disable one or more repositories (wildcards allowed)-x [package], --exclude=[package]exclude package(s) by name or glob--disableexcludes=[repo]disable exclude from main, for a repo or foreverything--obsoletes           enable obsoletes processing during updates--noplugins           disable Yum plugins--nogpgcheck          disable gpg signature checking--disableplugin=[plugin]disable plugins by name--enableplugin=[plugin]enable plugins by name--skip-broken         skip packages with depsolving problems--color=COLOR         control whether color is used--releasever=RELEASEVERset value of $releasever in yum config and repo files--setopt=SETOPTS      set arbitrary config and repo optionsPlugin Options:
root@alan-VMware-Virtual-Platform:~# 










本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/868414.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【安全运营】第6年实践总结

一、安全运营全景图 安全运营全景图调整的原因:一是公司在文化、部门、人员方面调整,导致有些部分不再适用;二是2024年针对安全运营规划开会讨论过多次,部分逻辑和内容有变化;三是安全运营工作范围有变化,需要进行合并、增加;四是经过2024年的实践,个人的观点有变化,需…

如何使用 Logstash 8 连接 Easysearch

背景 很多小伙伴都在使用 Logstash ,随着各家安全扫描、安全策略的加固,不少小伙伴已经开始使用 Logstash 8 了。在使用 Logstash 8 连接 Easysearch 的时候可能会遇到问题,比如下图。提示连接的不是兼容版本的 Elasticsearch 。 解决方法有两种 两种方法对 Logstash 和 Log…

【Raspberry PI】Raspberry PiSP摄像头前端(rpl-cfe)

1.PiSP相机前端 PiSP 摄像头前端 (CFE) 是一个将 CSI-2 接收器与 一个简单的 ISP,称为前端 (FE)。 CFE 有四个 DMA 引擎,可以从四个单独的流写入帧 从 CSI-2 接收到内存。也可以路由其中一个流 直接给 FE 做最少的图片处理,写两个版本 (例如,未缩放和缩小版本)将接收…

一文看懂“高大上”的边缘计算!!

一、边缘计算(Edge Computing) 边缘计算是一种分布式计算架构,其核心思想是将计算、存储和数据处理任务从云端推到靠近数据源的设备或网络边缘。通过这种方式,数据可以在本地(离数据源更近的地方)进行处理,从而减少延迟、减轻带宽负担、提高处理效率,并降低对远程数据中…

使用 CompletableFuture 实现异步编程

使用 CompletableFuture 实现异步编程 在现代 Java 开发中,异步编程是一项重要使用 CompletableFuture 实现异步编程 在现代 Java 开发中,异步编程是一项重要技能。而 CompletableFuture 是从 Java 8 开始提供的一个功能强大的工具,用于简化异步任务的编写和组合。本文将详细…

PCIe总线-存储器域和PCIe总线域访问流程分析(二)

1.概述 PCIe总线的最大特点是像CPU访问DDR一样,可以直接使用地址访问PCIe设备(桥),但不同的是DDR和CPU同属于存储器域,而CPU和PCIe设备属于两个不同的域,PCIe设备(桥)的地址空间属于PCIe总线域。存储器域访问PCIe总线域或者PCIe总线域访问存储器域,需要经过一系列的转…

在Windows上调试iOS Safari中的H5页面

本次开发的web页面需要适配移动端,第一个版本在发布到线上,发现ios设备一直打不开网页,无论是自带的safari浏览器还是其他浏览器,页面经常出现“***页面重复出现错误”,但是在本地以及使用PC浏览器模拟都没有复现该问题。为了进行线上的调试查询了一下如何在windows上调试…

大模型AI应用场景及产品汇总(持续更新)

一、文生图 1. Napkin AINapkin AI 可以基于输入的文本生成各种图示,例如流程图、逻辑关系图等等。https://app.napkin.ai/

大模型AI应用场景汇总(持续更新)

一、文生图 1. Napkin AINapkin AI 可以基于输入的文本生成各种图示,例如流程图、逻辑关系图等等。https://app.napkin.ai/

G1原理—5.G1垃圾回收过程之Mixed GC

大纲 1.Mixed GC混合回收是什么 2.YGC可作为Mixed GC的初始标记阶段 3.Mixed GC并发标记算法详解(一) 4.Mixed GC并发标记算法详解(二) 5.Mixed GC并发标记算法详解(三) 6.并发标记的三色标记法 7.三色标记法如何解决错标漏标问题 8.SATB如何解决错标漏标问题 9.重新梳理Mixed …

AlexNet文献阅读与代码实现

目录AlexNet文献阅读与代码实现文献内容介绍代码实现内容总结 AlexNet文献阅读与代码实现前言:笔者目前研一,刚开始入门深度学习,所以想记录一下自己学习的过程,接下来的时间里,我会定期阅读深度学习领域的经典文献,并尝试用代码实现它们,也欢迎大家积极评论。注:博客本…

c语言的基本类型及输入输出占位符

基本类型 c语言的基本类型:int 【long、short、unsigned、signed(c90)】、char、float、double、_Bool【布尔值】、_complex、_Imaginary【复数和虚数】 输入输出 printf标志字符标志 含义- 转换的结果在字段内左对齐+ 有符号的转换结果总是以+或者-开始空格 如果有符号转换的…