如何将 CentOS 8 转换为 CentOS Stream

2021-10-13 11:07:31 浏览数 (1)

CentOS 未来是不会更新数字版本了。CentOS 项目组,未来会变更为Stream版本,也就是俗称的滚动版本,那么如何将数字版本升级为滚动版本呢?

若需要将其转换为滚动版本,那么即可参考本文进行升级。

步骤一:开启CentOS Stream仓库

查看是否有centos-release-stream仓库

代码语言:javascript复制
[root@cby ~]# dnf search centos-release-stream
Last metadata expiration check: 122 days, 22:31:50 ago on Thu 22 Oct 2020 04:55:01 PM CST.
=================== Name Exactly Matched: centos-release-stream ===================
centos-release-stream.x86_64 : CentOS-Stream release file

安装centos-release-stream仓库

代码语言:javascript复制
[root@cby ~]# dnf install -y centos-release-stream
CentOS-8 - AppStream                                91 kB/s | 4.3 kB     00:00    
CentOS-8 - AppStream                                29 MB/s | 6.3 MB     00:00    
CentOS-8 - Base                                     51 kB/s | 3.9 kB     00:00    
CentOS-8 - Base                                     11 MB/s | 2.3 MB     00:00    
CentOS-8 - Extras                                   26 kB/s | 1.5 kB     00:00    
CentOS-8 - Extras                                   57 kB/s | 8.6 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64      78 kB/s | 4.7 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64      35 MB/s | 8.9 MB     00:00    
Dependencies resolved.
===================================================================================
 Package                    Arch        Version                  Repository   Size
===================================================================================
Installing:
 centos-release-stream      x86_64      8.1-1.1911.0.7.el8       extras       11 k

Transaction Summary
===================================================================================
Install  1 Package

Total download size: 11 k
Installed size: 6.6 k
Downloading Packages:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64.rp  69 kB/s |  11 kB     00:00    
-----------------------------------------------------------------------------------
Total                                               69 kB/s |  11 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                           1/1 
  Installing       : centos-release-stream-8.1-1.1911.0.7.el8.x86_64           1/1 
  Verifying        : centos-release-stream-8.1-1.1911.0.7.el8.x86_64           1/1 

Installed:
  centos-release-stream-8.1-1.1911.0.7.el8.x86_64                                  

Complete!

查看所有的仓库

代码语言:javascript复制
[root@cby ~]# dnf repolist
repo id                    repo name
AppStream                  CentOS-8 - AppStream
BaseOS                     CentOS-8 - Base
Stream-AppStream           CentOS-Stream - AppStream
Stream-BaseOS              CentOS-Stream - Base
Stream-extras              CentOS-Stream - Extras
epel                       Extra Packages for Enterprise Linux 8 - x86_64
extras                     CentOS-8 - Extras

步骤二:设置CentOS Stream仓库为默认

使用dnf 的swap选项移除centos-linux-repos

并安装centos-stream-repos

代码语言:javascript复制
[root@cby ~]# dnf swap centos-linux-repos centos-stream-repos
CentOS-Stream - AppStream                          3.8 MB/s | 6.6 MB     00:01    
CentOS-Stream - Base                               2.0 MB/s | 2.3 MB     00:01    
CentOS-Stream - Extras                              13 kB/s | 8.9 kB     00:00    
No match for argument: centos-linux-repos
No packages marked for removal.
Dependencies resolved.
===================================================================================
 Package                    Arch        Version           Repository          Size
===================================================================================
Installing:
 centos-stream-release      noarch      8.4-1.el8         Stream-BaseOS       21 k
     replacing  centos-release.x86_64 8.2-2.2004.0.1.el8
     replacing  centos-release-stream.x86_64 8.1-1.1911.0.7.el8
     replacing  centos-repos.x86_64 8.2-2.2004.0.1.el8
 centos-stream-repos        noarch      8-2.el8           Stream-BaseOS       19 k
Upgrading:
 centos-gpg-keys            noarch      1:8-2.el8         BaseOS              12 k

Transaction Summary
===================================================================================
Install  2 Packages
Upgrade  1 Package

Total download size: 52 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): centos-gpg-keys-8-2.el8.noarch.rpm          116 kB/s |  12 kB     00:00    
(2/3): centos-stream-release-8.4-1.el8.noarch.rpm  164 kB/s |  21 kB     00:00    
(3/3): centos-stream-repos-8-2.el8.noarch.rpm      138 kB/s |  19 kB     00:00    
-----------------------------------------------------------------------------------
Total                                               78 kB/s |  52 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                           1/1 
  Running scriptlet: centos-gpg-keys-1:8-2.el8.noarch                          1/1 
  Upgrading        : centos-gpg-keys-1:8-2.el8.noarch                          1/7 
  Installing       : centos-stream-repos-8-2.el8.noarch                        2/7 
  Installing       : centos-stream-release-8.4-1.el8.noarch                    3/7 
  Obsoleting       : centos-release-stream-8.1-1.1911.0.7.el8.x86_64           4/7 
  Obsoleting       : centos-release-8.2-2.2004.0.1.el8.x86_64                  5/7 
  Obsoleting       : centos-repos-8.2-2.2004.0.1.el8.x86_64                    6/7 
warning: /etc/yum.repos.d/CentOS-fasttrack.repo saved as /etc/yum.repos.d/CentOS-fasttrack.repo.rpmsave
warning: /etc/yum.repos.d/CentOS-centosplus.repo saved as /etc/yum.repos.d/CentOS-centosplus.repo.rpmsave
warning: /etc/yum.repos.d/CentOS-PowerTools.repo saved as /etc/yum.repos.d/CentOS-PowerTools.repo.rpmsave
warning: file /etc/yum.repos.d/CentOS-HA.repo: remove failed: No such file or directory
warning: /etc/yum.repos.d/CentOS-Extras.repo saved as /etc/yum.repos.d/CentOS-Extras.repo.rpmsave
warning: file /etc/yum.repos.d/CentOS-Devel.repo: remove failed: No such file or directory
warning: /etc/yum.repos.d/CentOS-CR.repo saved as /etc/yum.repos.d/CentOS-CR.repo.rpmsave
warning: /etc/yum.repos.d/CentOS-Base.repo saved as /etc/yum.repos.d/CentOS-Base.repo.rpmsave
warning: /etc/yum.repos.d/CentOS-AppStream.repo saved as /etc/yum.repos.d/CentOS-AppStream.repo.rpmsave

  Cleanup          : centos-gpg-keys-8.2-2.2004.0.1.el8.noarch                 7/7 
  Running scriptlet: centos-gpg-keys-8.2-2.2004.0.1.el8.noarch                 7/7 
  Verifying        : centos-stream-release-8.4-1.el8.noarch                    1/7 
  Verifying        : centos-release-8.2-2.2004.0.1.el8.x86_64                  2/7 
  Verifying        : centos-release-stream-8.1-1.1911.0.7.el8.x86_64           3/7 
  Verifying        : centos-repos-8.2-2.2004.0.1.el8.x86_64                    4/7 
  Verifying        : centos-stream-repos-8-2.el8.noarch                        5/7 
  Verifying        : centos-gpg-keys-1:8-2.el8.noarch                          6/7 
  Verifying        : centos-gpg-keys-8.2-2.2004.0.1.el8.noarch                 7/7 

Upgraded:
  centos-gpg-keys-1:8-2.el8.noarch                                                 

Installed:
  centos-stream-release-8.4-1.el8.noarch     centos-stream-repos-8-2.el8.noarch    

Complete!

步骤三:将已安装的软件包同步到最新的可用版本

代码语言:javascript复制
[root@cby ~]# dnf distro-sync
CentOS Stream 8 - AppStream                        7.3 MB/s | 6.6 MB     00:00    
CentOS Stream 8 - BaseOS                           2.4 MB/s | 2.3 MB     00:00    
CentOS Stream 8 - Extras                            14 kB/s | 8.9 kB     00:00    
Dependencies resolved.
===================================================================================
 Package                    Arch   Version                         Repo       Size
===================================================================================
Installing:
 kernel                     x86_64 4.18.0-277.el8                  baseos    5.5 M
 kernel-core                x86_64 4.18.0-277.el8                  baseos     35 M
 kernel-devel               x86_64 4.18.0-277.el8                  baseos     18 M
 kernel-modules             x86_64 4.18.0-277.el8                  baseos     28 M
Upgrading:
 NetworkManager             x86_64 1:1.30.0-0.10.el8               baseos    2.6 M
 NetworkManager-libnm       x86_64 1:1.30.0-0.10.el8               baseos    1.8 M
 NetworkManager-team        x86_64 1:1.30.0-0.10.el8               baseos    144 k
 NetworkManager-tui         x86_64 1:1.30.0-0.10.el8               baseos    326 k
 PackageKit                 x86_64 1.1.12-6.el8                    appstream 599 k
 PackageKit-glib            x86_64 1.1.12-6.el8                    appstream 140 k
 abattis-cantarell-fonts    noarch 0.0.25-6.el8                    appstream 156 k
 adcli                      x86_64 0.8.2-9.el8                     baseos    115 k
 authselect                 x86_64 1.2.2-1.el8                     baseos    128 k
 authselect-compat          x86_64 1.2.2-1.el8                     appstream  37 k
 authselect-libs            x86_64 1.2.2-1.el8                     baseos    214 k
 avahi-libs                 x86_64 0.7-20.el8                      baseos     62 k
 bash                       x86_64 4.4.19-14.el8                   baseos    1.5 M
 bind-export-libs           x86_64 32:9.11.26-2.el8                baseos    1.1 M
 bind-libs                  x86_64 32:9.11.26-2.el8                appstream 173 k
 bind-libs-lite             x86_64 32:9.11.26-2.el8                appstream 1.2 M
 bind-license               noarch 32:9.11.26-2.el8                appstream 102 k
 bind-utils                 x86_64 32:9.11.26-2.el8                appstream 451 k
 binutils                   x86_64 2.30-90.el8                     baseos    5.7 M
 bpftool                    x86_64 4.18.0-277.el8                  baseos    6.2 M
 brotli                     x86_64 1.0.6-3.el8                     baseos    323 k
 centos-logos               x86_64 82.0-2.el8                      appstream 706 k
 chkconfig                  x86_64 1.13-2.el8                      baseos    194 k
 cloud-utils-growpart       noarch 0.31-1.el8                      appstream  32 k
 cockpit                    x86_64 237-1.el8                       baseos     76 k
 cockpit-bridge             x86_64 237-1.el8                       baseos    535 k
 cockpit-packagekit         noarch 237-1.el8                       appstream 573 k
 cockpit-system             noarch 237-1.el8                       baseos    3.3 M
 cockpit-ws                 x86_64 237-1.el8                       baseos    1.3 M
 coreutils                  x86_64 8.30-8.el8                      baseos    1.2 M
 coreutils-common           x86_64 8.30-8.el8                      baseos    2.0 M
 cpio                       x86_64 2.12-10.el8                     baseos    265 k
 cpp                        x86_64 8.4.1-1.el8                     appstream  10 M
 crontabs                   noarch 1.11-17.20190603git.el8         baseos     25 k
 crypto-policies            noarch 20200713-1.git51d1222.el8       baseos     62 k
 cryptsetup                 x86_64 2.3.3-2.el8                     baseos    189 k
 cryptsetup-libs            x86_64 2.3.3-2.el8                     baseos    470 k
 cups-client                x86_64 1:2.2.6-38.el8                  appstream 169 k
 cups-libs                  x86_64 1:2.2.6-38.el8                  baseos    433 k
 curl                       x86_64 7.61.1-18.el8                   baseos    353 k
 cyrus-sasl-gssapi          x86_64 2.1.27-5.el8                    baseos     50 k
 cyrus-sasl-lib             x86_64 2.1.27-5.el8                    baseos    123 k
 cyrus-sasl-plain           x86_64 2.1.27-5.el8                    baseos     47 k
 dbus                       x86_64 1:1.12.8-12.el8                 baseos     41 k
 dbus-common                noarch 1:1.12.8-12.el8                 baseos     45 k
 dbus-daemon                x86_64 1:1.12.8-12.el8                 baseos    240 k
 dbus-libs                  x86_64 1:1.12.8-12.el8                 baseos    183 k
 dbus-tools                 x86_64 1:1.12.8-12.el8                 baseos     85 k
 device-mapper              x86_64 8:1.02.175-4.el8                baseos    375 k
 device-mapper-event        x86_64 8:1.02.175-4.el8                baseos    269 k
 device-mapper-event-libs   x86_64 8:1.02.175-4.el8                baseos    269 k
 device-mapper-libs         x86_64 8:1.02.175-4.el8                baseos    408 k
 device-mapper-persistent-data
                            x86_64 0.8.5-4.el8                     baseos    468 k
 dhcp-client                x86_64 12:4.3.6-44.0.1.el8             baseos    318 k
 dhcp-common                noarch 12:4.3.6-44.0.1.el8             baseos    207 k
 dhcp-libs                  x86_64 12:4.3.6-44.0.1.el8             baseos    148 k
 dmidecode                  x86_64 1:3.2-8.el8                     baseos     91 k
 dnf                        noarch 4.4.2-6.el8                     baseos    540 k
 dnf-data                   noarch 4.4.2-6.el8                     baseos    151 k
 dnf-plugins-core           noarch 4.0.18-3.el8                    baseos     69 k
 dracut                     x86_64 049-135.git20210121.el8         baseos    372 k
 dracut-config-rescue       x86_64 049-135.git20210121.el8         baseos     58 k
 dracut-network             x86_64 049-135.git20210121.el8         baseos    105 k
 dracut-squash              x86_64 049-135.git20210121.el8         baseos     58 k
 e2fsprogs                  x86_64 1.45.6-1.el8                    baseos    1.0 M
 e2fsprogs-libs             x86_64 1.45.6-1.el8                    baseos    233 k
 elfutils-debuginfod-client x86_64 0.182-3.el8                     baseos     65 k
 elfutils-default-yama-scope
                            noarch 0.182-3.el8                     baseos     49 k
 elfutils-libelf            x86_64 0.182-3.el8                     baseos    216 k
 elfutils-libs              x86_64 0.182-3.el8                     baseos    293 k
 ethtool                    x86_64 2:5.8-5.el8                     baseos    206 k
 expat                      x86_64 2.2.5-4.el8                     baseos    111 k
 file                       x86_64 5.33-16.el8                     baseos     76 k
 file-libs                  x86_64 5.33-16.el8                     baseos    542 k
 filesystem                 x86_64 3.8-4.el8                       baseos    1.1 M
 firewalld                  noarch 0.8.2-6.el8                     baseos    488 k
 firewalld-filesystem       noarch 0.8.2-6.el8                     baseos     76 k
 fprintd                    x86_64 1.90.9-2.el8                    appstream 154 k
 fprintd-pam                x86_64 1.90.9-2.el8                    appstream  28 k
 freetype                   x86_64 2.9.1-5.el8                     baseos    394 k
 gawk                       x86_64 4.2.1-2.el8                     baseos    1.1 M
 gcc                        x86_64 8.4.1-1.el8                     appstream  23 M
 glib2                      x86_64 2.56.4-9.el8                    baseos    2.5 M
 glibc                      x86_64 2.28-148.el8                    baseos    3.6 M
 glibc-common               x86_64 2.28-148.el8                    baseos    1.3 M
 glibc-devel                x86_64 2.28-148.el8                    baseos    1.0 M
 glibc-headers              x86_64 2.28-148.el8                    baseos    478 k
 glibc-langpack-en          x86_64 2.28-148.el8                    baseos    826 k
 glibc-langpack-zh          x86_64 2.28-148.el8                    baseos    2.2 M
 gnupg2                     x86_64 2.2.20-2.el8                    baseos    2.4 M
 gnupg2-smime               x86_64 2.2.20-2.el8                    baseos    283 k
 gnutls                     x86_64 3.6.14-7.el8_3                  baseos    1.0 M
 gpgme                      x86_64 1.13.1-7.el8                    baseos    336 k
 gpm-libs                   x86_64 1.20.7-17.el8                   appstream  39 k
 grub2-common               noarch 1:2.02-95.el8                   baseos    888 k
 grub2-pc                   x86_64 1:2.02-95.el8                   baseos     40 k
 grub2-pc-modules           noarch 1:2.02-95.el8                   baseos    909 k
 grub2-tools                x86_64 1:2.02-95.el8                   baseos    2.0 M
 grub2-tools-efi            x86_64 1:2.02-95.el8                   baseos    471 k
 grub2-tools-extra          x86_64 1:2.02-95.el8                   baseos    1.1 M
 grub2-tools-minimal        x86_64 1:2.02-95.el8                   baseos    206 k
 grubby                     x86_64 8.40-41.el8                     baseos     49 k
 gsettings-desktop-schemas  x86_64 3.32.0-5.el8                    baseos    633 k
 gzip                       x86_64 1.9-12.el8                      baseos    167 k
 hdparm                     x86_64 9.54-3.el8                      baseos    100 k
 hwdata                     noarch 0.314-8.8.el8                   baseos    1.7 M
 ima-evm-utils              x86_64 1.3.2-11.el8                    baseos     64 k
 initscripts                x86_64 10.00.14-1.el8                  baseos    339 k
 iproute                    x86_64 5.9.0-3.el8                     baseos    692 k
 iprutils                   x86_64 2.4.19-1.el8                    baseos    255 k
 iptables                   x86_64 1.8.4-17.el8                    baseos    586 k
 iptables-ebtables          x86_64 1.8.4-17.el8                    baseos     71 k
 iptables-libs              x86_64 1.8.4-17.el8                    baseos    107 k
 iputils                    x86_64 20180629-6.el8                  baseos    148 k
 irqbalance                 x86_64 2:1.4.0-6.el8                   baseos     56 k
 iwl100-firmware            noarch 39.31.5.1-102.el8.1             baseos    171 k
 iwl1000-firmware           noarch 1:39.31.5.1-102.el8.1           baseos    234 k
 iwl105-firmware            noarch 18.168.6.1-102.el8.1            baseos    255 k
 iwl135-firmware            noarch 18.168.6.1-102.el8.1            baseos    264 k
 iwl2000-firmware           noarch 18.168.6.1-102.el8.1            baseos    258 k
 iwl2030-firmware           noarch 18.168.6.1-102.el8.1            baseos    266 k
 iwl3160-firmware           noarch 1:25.30.13.0-102.el8.1          baseos    1.7 M
 iwl3945-firmware           noarch 15.32.2.9-102.el8.1             baseos    109 k
 iwl4965-firmware           noarch 228.61.2.24-102.el8.1           baseos    122 k
 iwl5000-firmware           noarch 8.83.5.1_1-102.el8.1            baseos    315 k
 iwl5150-firmware           noarch 8.24.2.2-102.el8.1              baseos    167 k
 iwl6000-firmware           noarch 9.221.4.1-102.el8.1             baseos    188 k
 iwl6000g2a-firmware        noarch 18.168.6.1-102.el8.1            baseos    330 k
 iwl6050-firmware           noarch 41.28.5.1-102.el8.1             baseos    263 k
 iwl7260-firmware           noarch 1:25.30.13.0-102.el8.1          baseos     16 M
 json-c                     x86_64 0.13.1-0.4.el8                  baseos     40 k
 kbd                        x86_64 2.0.4-10.el8                    baseos    390 k
 kbd-legacy                 noarch 2.0.4-10.el8                    baseos    481 k
 kbd-misc                   noarch 2.0.4-10.el8                    baseos    1.5 M
 kernel-headers             x86_64 4.18.0-277.el8                  baseos    6.8 M
 kernel-tools               x86_64 4.18.0-277.el8                  baseos    5.7 M
 kernel-tools-libs          x86_64 4.18.0-277.el8                  baseos    5.5 M
 kexec-tools                x86_64 2.0.20-45.el8                   baseos    507 k
 kmod                       x86_64 25-17.el8                       baseos    126 k
 kmod-kvdo                  x86_64 6.2.4.26-76.el8                 baseos    340 k
 kmod-libs                  x86_64 25-17.el8                       baseos     68 k
 kpartx                     x86_64 0.8.4-8.el8                     baseos    111 k
 kpatch                     noarch 0.9.2-3.el8                     baseos     17 k
 krb5-libs                  x86_64 1.18.2-8.el8                    baseos    838 k
 ledmon                     x86_64 0.95-1.el8                      baseos     84 k
 libX11                     x86_64 1.6.8-4.el8                     appstream 611 k
 libX11-common              noarch 1.6.8-4.el8                     appstream 158 k
 libXau                     x86_64 1.0.9-3.el8                     appstream  37 k
 libXext                    x86_64 1.3.4-1.el8                     appstream  45 k
 libarchive                 x86_64 3.3.3-1.el8                     baseos    359 k
 libblkid                   x86_64 2.32.1-27.el8                   baseos    217 k
 libcap                     x86_64 2.26-4.el8                      baseos     60 k
 libcom_err                 x86_64 1.45.6-1.el8                    baseos     49 k
 libcomps                   x86_64 0.1.11-5.el8                    baseos     81 k
 libcroco                   x86_64 0.6.12-4.el8_2.1                baseos    113 k
 libcurl                    x86_64 7.61.1-18.el8                   baseos    299 k
 libdb                      x86_64 5.3.28-40.el8                   baseos    751 k
 libdb-utils                x86_64 5.3.28-40.el8                   baseos    150 k
 libdnf                     x86_64 0.55.0-3.el8                    baseos    678 k
 libfdisk                   x86_64 2.32.1-27.el8                   baseos    250 k
 libffi                     x86_64 3.1-22.el8                      baseos     37 k
 libfprint                  x86_64 1.90.7-1.el8                    appstream 253 k
 libgcc                     x86_64 8.4.1-1.el8                     baseos     78 k
 libgcrypt                  x86_64 1.8.5-4.el8                     baseos    463 k
 libgomp                    x86_64 8.4.1-1.el8                     baseos    204 k
 libipa_hbac                x86_64 2.4.0-7.el8                     baseos    110 k
 libkcapi                   x86_64 1.2.0-2.el8                     baseos     48 k
 libkcapi-hmaccalc          x86_64 1.2.0-2.el8                     baseos     31 k
 libldb                     x86_64 2.2.0-1.el8                     baseos    188 k
 libmaxminddb               x86_64 1.2.0-10.el8                    appstream  33 k
 libmodulemd1               x86_64 1.8.16-0.2.9.4.2                baseos    176 k
 libmount                   x86_64 2.32.1-27.el8                   baseos    233 k
 libmpc                     x86_64 1.1.0-9.1.el8                   appstream  61 k
 libnfsidmap                x86_64 1:2.3.3-41.el8                  baseos    120 k
 libpcap                    x86_64 14:1.9.1-5.el8                  baseos    169 k
 libpsl                     x86_64 0.20.2-6.el8                    baseos     61 k
 libpwquality               x86_64 1.4.4-1.el8                     baseos    107 k
 librepo                    x86_64 1.12.0-3.el8                    baseos     91 k
 libreport-filesystem       x86_64 2.9.5-15.el8                    baseos     21 k
 libseccomp                 x86_64 2.4.3-1.el8                     baseos     67 k
 libselinux                 x86_64 2.9-5.el8                       baseos    165 k
 libselinux-utils           x86_64 2.9-5.el8                       baseos    243 k
 libsemanage                x86_64 2.9-6.el8                       baseos    165 k
 libsepol                   x86_64 2.9-2.el8                       baseos    339 k
 libsmartcols               x86_64 2.32.1-27.el8                   baseos    176 k
 libsmbclient               x86_64 4.13.3-3.el8                    baseos    146 k
 libsolv                    x86_64 0.7.16-2.el8                    baseos    362 k
 libsoup                    x86_64 2.62.3-2.el8                    baseos    424 k
 libss                      x86_64 1.45.6-1.el8                    baseos     53 k
 libssh                     x86_64 0.9.4-2.el8                     baseos    215 k
 libssh-config              noarch 0.9.4-2.el8                     baseos     18 k
 libsss_autofs              x86_64 2.4.0-7.el8                     baseos    112 k
 libsss_certmap             x86_64 2.4.0-7.el8                     baseos    149 k
 libsss_idmap               x86_64 2.4.0-7.el8                     baseos    114 k
 libsss_nss_idmap           x86_64 2.4.0-7.el8                     baseos    121 k
 libsss_sudo                x86_64 2.4.0-7.el8                     baseos    110 k
 libstdc                    x86_64 8.4.1-1.el8                     baseos    451 k
 libstoragemgmt             x86_64 1.8.7-1.el8                     baseos    245 k
 libtalloc                  x86_64 2.3.1-2.el8                     baseos     49 k
 libtdb                     x86_64 1.4.3-1.el8                     baseos     59 k
 libteam                    x86_64 1.31-2.el8                      baseos     64 k
 libtevent                  x86_64 0.10.2-2.el8                    baseos     49 k
 libusbx                    x86_64 1.0.23-4.el8                    baseos     74 k
 libuuid                    x86_64 2.32.1-27.el8                   baseos     95 k
 libwbclient                x86_64 4.13.3-3.el8                    baseos    119 k
 libxml2                    x86_64 2.9.7-9.el8                     baseos    696 k
 libzstd                    x86_64 1.4.4-1.el8                     baseos    266 k
 linux-firmware             noarch 20201218-102.git05789708.el8    baseos    123 M
 lm_sensors-libs            x86_64 3.4.0-22.20180522git70f7e08.el8 baseos     59 k
 logrotate                  x86_64 3.14.0-4.el8                    baseos     86 k
 lshw                       x86_64 B.02.19.2-5.el8                 baseos    341 k
 lsof                       x86_64 4.93.2-1.el8                    baseos    253 k
 lsscsi                     x86_64 0.32-2.el8                      baseos     71 k
 lvm2                       x86_64 8:2.03.11-4.el8                 baseos    1.6 M
 lvm2-libs                  x86_64 8:2.03.11-4.el8                 baseos    1.1 M
 lz4-libs                   x86_64 1.8.3-2.el8                     baseos     66 k
 man-pages-overrides        noarch 8.3.0.2-2.el8                   appstream  70 k
 mcelog                     x86_64 3:173-0.el8                     baseos     82 k
 mdadm                      x86_64 4.1-15.el8                      baseos    455 k
 microcode_ctl              x86_64 4:20201112-2.el8                baseos    4.7 M
 net-tools                  x86_64 2.0-0.52.20160912git.el8        baseos    322 k
 nettle                     x86_64 3.4.1-2.el8                     baseos    300 k
 nftables                   x86_64 1:0.9.3-17.el8                  baseos    313 k
 nscd                       x86_64 2.28-148.el8                    baseos    131 k
 nss                        x86_64 3.53.1-17.el8_3                 appstream 723 k
 nss-softokn                x86_64 3.53.1-17.el8_3                 appstream 484 k
 nss-softokn-freebl         x86_64 3.53.1-17.el8_3                 appstream 376 k
 nss-sysinit                x86_64 3.53.1-17.el8_3                 appstream  72 k
 nss-util                   x86_64 3.53.1-17.el8_3                 appstream 136 k
 numactl-libs               x86_64 2.0.12-11.el8                   baseos     36 k
 oddjob                     x86_64 0.34.7-1.el8                    appstream  80 k
 oddjob-mkhomedir           x86_64 0.34.7-1.el8                    appstream  49 k
 openldap                   x86_64 2.4.46-16.el8                   baseos    351 k
 openssh                    x86_64 8.0p1-5.el8                     baseos    520 k
 openssh-clients            x86_64 8.0p1-5.el8                     baseos    667 k
 openssh-server             x86_64 8.0p1-5.el8                     baseos    484 k
 openssl                    x86_64 1:1.1.1g-12.el8_3               baseos    707 k
 openssl-libs               x86_64 1:1.1.1g-12.el8_3               baseos    1.5 M
 p11-kit                    x86_64 0.23.22-1.el8                   baseos    324 k
 p11-kit-trust              x86_64 0.23.22-1.el8                   baseos    137 k
 pam                        x86_64 1.3.1-14.el8                    baseos    738 k
 pciutils                   x86_64 3.7.0-1.el8                     baseos    105 k
 pciutils-libs              x86_64 3.7.0-1.el8                     baseos     54 k
 pcre2                      x86_64 10.32-2.el8                     baseos    246 k
 perl-Errno                 x86_64 1.28-419.el8                    baseos     76 k
 perl-IO                    x86_64 1.38-419.el8                    baseos    142 k
 perl-interpreter           x86_64 4:5.26.3-419.el8                baseos    6.3 M
 perl-libs                  x86_64 4:5.26.3-419.el8                baseos    1.6 M
 perl-macros                x86_64 4:5.26.3-419.el8                baseos     72 k
 platform-python            x86_64 3.6.8-36.el8                    baseos     84 k
 platform-python-devel      x86_64 3.6.8-36.el8                    appstream 249 k
 platform-python-pip        noarch 9.0.3-19.el8                    baseos    1.7 M
 platform-python-setuptools noarch 39.2.0-6.el8                    baseos    632 k
 plymouth                   x86_64 0.9.4-9.20200615git1e36e30.el8  appstream 127 k
 plymouth-core-libs         x86_64 0.9.4-9.20200615git1e36e30.el8  appstream 122 k
 plymouth-scripts           x86_64 0.9.4-9.20200615git1e36e30.el8  appstream  43 k
 policycoreutils            x86_64 2.9-12.el8                      baseos    378 k
 policycoreutils-python-utils
                            noarch 2.9-12.el8                      baseos    252 k
 popt                       x86_64 1.18-1.el8                      baseos     61 k
 procps-ng                  x86_64 3.3.15-6.el8                    baseos    329 k
 psmisc                     x86_64 23.1-5.el8                      baseos    151 k
 python-rpm-macros          noarch 3-41.el8                        appstream  15 k
 python-srpm-macros         noarch 3-41.el8                        appstream  15 k
 python3-bind               noarch 32:9.11.26-2.el8                appstream 149 k
 python3-cryptography       x86_64 3.2.1-3.el8                     baseos    559 k
 python3-dnf                noarch 4.4.2-6.el8                     baseos    539 k
 python3-dnf-plugins-core   noarch 4.0.18-3.el8                    baseos    228 k
 python3-firewall           noarch 0.8.2-6.el8                     baseos    394 k
 python3-gobject            x86_64 3.28.3-2.el8                    appstream  26 k
 python3-gobject-base       x86_64 3.28.3-2.el8                    baseos    313 k
 python3-gpg                x86_64 1.13.1-7.el8                    baseos    245 k
 python3-hawkey             x86_64 0.55.0-3.el8                    baseos    113 k
 python3-libcomps           x86_64 0.1.11-5.el8                    baseos     52 k
 python3-libdnf             x86_64 0.55.0-3.el8                    baseos    765 k
 python3-librepo            x86_64 1.12.0-3.el8                    baseos     52 k
 python3-libs               x86_64 3.6.8-36.el8                    baseos    7.8 M
 python3-libselinux         x86_64 2.9-5.el8                       baseos    283 k
 python3-libsemanage        x86_64 2.9-6.el8                       baseos    127 k
 python3-libstoragemgmt     noarch 1.8.7-1.el8                     baseos    172 k
 python3-libstoragemgmt-clibs
                            x86_64 1.8.7-1.el8                     baseos     27 k
 python3-libxml2            x86_64 2.9.7-9.el8                     baseos    237 k
 python3-linux-procfs       noarch 0.6.3-1.el8                     baseos     43 k
 python3-nftables           x86_64 1:0.9.3-17.el8                  baseos     27 k
 python3-perf               x86_64 4.18.0-277.el8                  baseos    5.6 M
 python3-pip                noarch 9.0.3-19.el8                    appstream  20 k
 python3-pip-wheel          noarch 9.0.3-19.el8                    baseos    1.0 M
 python3-ply                noarch 3.9-9.el8                       baseos    111 k
 python3-policycoreutils    noarch 2.9-12.el8                      baseos    2.2 M
 python3-pyOpenSSL          noarch 19.0.0-1.el8                    appstream 103 k
 python3-rpm                x86_64 4.14.3-12.el8                   baseos    157 k
 python3-rpm-macros         noarch 3-41.el8                        appstream  14 k
 python3-setools            x86_64 4.3.0-2.el8                     baseos    626 k
 python3-setuptools         noarch 39.2.0-6.el8                    baseos    163 k
 python3-setuptools-wheel   noarch 39.2.0-6.el8                    baseos    289 k
 python3-sssdconfig         noarch 2.4.0-7.el8                     baseos    136 k
 python3-syspurpose         x86_64 1.28.12-1.el8                   baseos    302 k
 python3-unbound            x86_64 1.7.3-15.el8                    appstream 119 k
 python36                   x86_64 3.6.8-2.module_el8.4.0 666 456f5f48
                                                                   appstream  19 k
 python36-devel             x86_64 3.6.8-2.module_el8.4.0 666 456f5f48
                                                                   appstream  16 k
 quota                      x86_64 1:4.04-12.el8                   baseos    213 k
 quota-nls                  noarch 1:4.04-12.el8                   baseos     95 k
 realmd                     x86_64 0.16.3-22.el8                   baseos    237 k
 rpm                        x86_64 4.14.3-12.el8                   baseos    541 k
 rpm-build-libs             x86_64 4.14.3-12.el8                   baseos    155 k
 rpm-libs                   x86_64 4.14.3-12.el8                   baseos    339 k
 rpm-plugin-selinux         x86_64 4.14.3-12.el8                   baseos     76 k
 rpm-plugin-systemd-inhibit x86_64 4.14.3-12.el8                   baseos     77 k
 rsync                      x86_64 3.1.3-12.el8                    baseos    405 k
 rsyslog                    x86_64 8.1911.0-7.el8                  appstream 732 k
 rsyslog-gnutls             x86_64 8.1911.0-7.el8                  appstream  31 k
 rsyslog-gssapi             x86_64 8.1911.0-7.el8                  appstream  33 k
 rsyslog-relp               x86_64 8.1911.0-7.el8                  appstream  32 k
 samba-client-libs          x86_64 4.13.3-3.el8                    baseos    5.4 M
 samba-common               noarch 4.13.3-3.el8                    baseos    218 k
 samba-common-libs          x86_64 4.13.3-3.el8                    baseos    171 k
 sed                        x86_64 4.5-2.el8                       baseos    298 k
 selinux-policy             noarch 3.14.3-63.el8                   baseos    627 k
 selinux-policy-targeted    noarch 3.14.3-63.el8                   baseos     15 M
 setroubleshoot-plugins     noarch 3.3.13-1.el8                    appstream 361 k
 setroubleshoot-server      x86_64 3.3.24-3.el8                    appstream 401 k
 setup                      noarch 2.12.2-6.el8                    baseos    181 k
 shadow-utils               x86_64 2:4.6-12.el8                    baseos    1.2 M
 smartmontools              x86_64 1:7.1-1.el8                     baseos    544 k
 snappy                     x86_64 1.1.8-3.el8                     baseos     37 k
 sos                        noarch 4.0-7.el8                       baseos    687 k
 sqlite                     x86_64 3.26.0-13.el8                   baseos    667 k
 sqlite-libs                x86_64 3.26.0-13.el8                   baseos    580 k
 sssd                       x86_64 2.4.0-7.el8                     baseos    101 k
 sssd-ad                    x86_64 2.4.0-7.el8                     baseos    272 k
 sssd-client                x86_64 2.4.0-7.el8                     baseos    196 k
 sssd-common                x86_64 2.4.0-7.el8                     baseos    1.6 M
 sssd-common-pac            x86_64 2.4.0-7.el8                     baseos    176 k
 sssd-ipa                   x86_64 2.4.0-7.el8                     baseos    357 k
 sssd-kcm                   x86_64 2.4.0-7.el8                     baseos    235 k
 sssd-krb5                  x86_64 2.4.0-7.el8                     baseos    143 k
 sssd-krb5-common           x86_64 2.4.0-7.el8                     baseos    185 k
 sssd-ldap                  x86_64 2.4.0-7.el8                     baseos    221 k
 sssd-nfs-idmap             x86_64 2.4.0-7.el8                     baseos    110 k
 sssd-proxy                 x86_64 2.4.0-7.el8                     baseos    144 k
 strace                     x86_64 5.7-2.el8                       baseos    1.1 M
 sudo                       x86_64 1.8.29-7.el8                    baseos    925 k
 sysstat                    x86_64 11.7.3-5.el8                    appstream 425 k
 systemd                    x86_64 239-44.el8                      baseos    3.6 M
 systemd-libs               x86_64 239-44.el8                      baseos    1.1 M
 systemd-pam                x86_64 239-44.el8                      baseos    464 k
 systemd-udev               x86_64 239-44.el8                      baseos    1.4 M
 tar                        x86_64 2:1.30-5.el8                    baseos    838 k
 tcpdump                    x86_64 14:4.9.3-1.el8                  appstream 452 k
 teamd                      x86_64 1.31-2.el8                      baseos    130 k
 telnet                     x86_64 1:0.17-76.el8                   appstream  72 k
 trousers                   x86_64 0.3.15-1.el8                    baseos    152 k
 trousers-lib               x86_64 0.3.15-1.el8                    baseos    168 k
 tuned                      noarch 2.15.0-1.el8                    baseos    302 k
 tzdata                     noarch 2021a-1.el8                     baseos    473 k
 unbound-libs               x86_64 1.7.3-15.el8                    appstream 503 k
 unzip                      x86_64 6.0-44.el8                      baseos    195 k
 util-linux                 x86_64 2.32.1-27.el8                   baseos    2.5 M
 util-linux-user            x86_64 2.32.1-27.el8                   baseos     99 k
 vdo                        x86_64 6.2.4.14-14.el8                 baseos    592 k
 vim-common                 x86_64 2:8.0.1763-15.el8               appstream 6.3 M
 vim-enhanced               x86_64 2:8.0.1763-15.el8               appstream 1.4 M
 vim-filesystem             noarch 2:8.0.1763-15.el8               appstream  48 k
 vim-minimal                x86_64 2:8.0.1763-15.el8               baseos    572 k
 wget                       x86_64 1.19.5-10.el8                   appstream 734 k
 xfsprogs                   x86_64 5.0.0-8.el8                     baseos    1.1 M
 yum                        noarch 4.4.2-6.el8                     baseos    202 k
 zlib                       x86_64 1.2.11-17.el8                   baseos    102 k
Installing dependencies:
 crypto-policies-scripts    noarch 20200713-1.git51d1222.el8       baseos     67 k
 dejavu-fonts-common        noarch 2.35-7.el8                      baseos     74 k
 fstrm                      x86_64 0.6.0-3.el8.1                   appstream  29 k
 libibverbs                 x86_64 32.0-4.el8                      baseos    321 k
 libicu                     x86_64 60.3-2.el8_1                    baseos    8.8 M
 libmodulemd                x86_64 2.9.4-2.el8                     baseos    189 k
 lmdb-libs                  x86_64 0.9.24-1.el8                    baseos     58 k
 perl-Data-Dumper           x86_64 2.167-399.el8                   baseos     58 k
 perl-Digest                noarch 1.17-395.el8                    appstream  27 k
 perl-Digest-MD5            x86_64 2.55-396.el8                    appstream  37 k
 perl-Encode                x86_64 4:2.97-3.el8                    baseos    1.5 M
 perl-File-Temp             noarch 0.230.600-1.el8                 baseos     63 k
 perl-Getopt-Long           noarch 1:2.50-4.el8                    baseos     63 k
 perl-HTTP-Tiny             noarch 0.074-1.el8                     baseos     58 k
 perl-MIME-Base64           x86_64 3.15-396.el8                    baseos     31 k
 perl-Net-SSLeay            x86_64 1.88-1.module_el8.4.0 517 be1595ff
                                                                   appstream 379 k
 perl-Pod-Escapes           noarch 1:1.07-395.el8                  baseos     20 k
 perl-Pod-Perldoc           noarch 3.28-396.el8                    baseos     86 k
 perl-Pod-Simple            noarch 1:3.35-395.el8                  baseos    213 k
 perl-Pod-Usage             noarch 4:1.69-395.el8                  baseos     34 k
 perl-Storable              x86_64 1:3.11-3.el8                    baseos     98 k
 perl-Term-ANSIColor        noarch 4.06-396.el8                    baseos     46 k
 perl-Term-Cap              noarch 1.17-395.el8                    baseos     23 k
 perl-Text-ParseWords       noarch 3.30-395.el8                    baseos     18 k
 perl-Time-Local            noarch 1:1.280-1.el8                   baseos     34 k
 perl-URI                   noarch 1.73-3.el8                      appstream 116 k
 perl-libnet                noarch 3.11-3.el8                      appstream 121 k
 perl-podlators             noarch 4.11-1.el8                      baseos    118 k
 protobuf-c                 x86_64 1.3.0-6.el8                     appstream  37 k
 python3-ptyprocess         noarch 0.5.2-4.el8                     appstream  31 k
 python3-pydbus             noarch 0.6.0-5.el8                     appstream  53 k
 rdma-core                  x86_64 32.0-4.el8                      baseos     59 k
 tpm2-tss                   x86_64 2.3.2-3.el8                     baseos    275 k
Installing weak dependencies:
 dejavu-sans-mono-fonts     noarch 2.35-7.el8                      baseos    447 k
 kpatch-dnf                 noarch 0.2-3.el8                       baseos     17 k
 memstrack                  x86_64 0.1.11-1.el8                    baseos     48 k
 perl-IO-Socket-IP          noarch 0.39-5.el8                      appstream  47 k
 perl-IO-Socket-SSL         noarch 2.066-4.module_el8.4.0 517 be1595ff
                                                                   appstream 298 k
 perl-Mozilla-CA            noarch 20160104-7.module_el8.3.0 416 dee7bcef
                                                                   appstream  15 k
 python3-pexpect            noarch 4.3.1-3.el8                     appstream 138 k
Enabling module streams:
 perl                              5.26                                           
 perl-IO-Socket-SSL                2.066                                          
 perl-libwww-perl                  6.34                                           

Transaction Summary
===================================================================================
Install   44 Packages
Upgrade  367 Packages

Total download size: 495 M
Is this ok [y/N]: y

--------
此处略去十万字
--------

Installed:
  crypto-policies-scripts-20200713-1.git51d1222.el8.noarch             dejavu-fonts-common-2.35-7.el8.noarch                                dejavu-sans-mono-fonts-2.35-7.el8.noarch       
  fstrm-0.6.0-3.el8.1.x86_64                                           kernel-4.18.0-277.el8.x86_64                                         kernel-core-4.18.0-277.el8.x86_64              
  kernel-devel-4.18.0-277.el8.x86_64                                   kernel-modules-4.18.0-277.el8.x86_64                                 kpatch-dnf-0.2-3.el8.noarch                    
  libibverbs-32.0-4.el8.x86_64                                         libicu-60.3-2.el8_1.x86_64                                           libmodulemd-2.9.4-2.el8.x86_64                 
  lmdb-libs-0.9.24-1.el8.x86_64                                        memstrack-0.1.11-1.el8.x86_64                                        perl-Data-Dumper-2.167-399.el8.x86_64          
  perl-Digest-1.17-395.el8.noarch                                      perl-Digest-MD5-2.55-396.el8.x86_64                                  perl-Encode-4:2.97-3.el8.x86_64                
  perl-File-Temp-0.230.600-1.el8.noarch                                perl-Getopt-Long-1:2.50-4.el8.noarch                                 perl-HTTP-Tiny-0.074-1.el8.noarch              
  perl-IO-Socket-IP-0.39-5.el8.noarch                                  perl-IO-Socket-SSL-2.066-4.module_el8.4.0 517 be1595ff.noarch        perl-MIME-Base64-3.15-396.el8.x86_64           
  perl-Mozilla-CA-20160104-7.module_el8.3.0 416 dee7bcef.noarch        perl-Net-SSLeay-1.88-1.module_el8.4.0 517 be1595ff.x86_64            perl-Pod-Escapes-1:1.07-395.el8.noarch         
  perl-Pod-Perldoc-3.28-396.el8.noarch                                 perl-Pod-Simple-1:3.35-395.el8.noarch                                perl-Pod-Usage-4:1.69-395.el8.noarch           
  perl-Storable-1:3.11-3.el8.x86_64                                    perl-Term-ANSIColor-4.06-396.el8.noarch                              perl-Term-Cap-1.17-395.el8.noarch              
  perl-Text-ParseWords-3.30-395.el8.noarch                             perl-Time-Local-1:1.280-1.el8.noarch                                 perl-URI-1.73-3.el8.noarch                     
  perl-libnet-3.11-3.el8.noarch                                        perl-podlators-4.11-1.el8.noarch                                     protobuf-c-1.3.0-6.el8.x86_64                  
  python3-pexpect-4.3.1-3.el8.noarch                                   python3-ptyprocess-0.5.2-4.el8.noarch                                python3-pydbus-0.6.0-5.el8.noarch              
  rdma-core-32.0-4.el8.x86_64                                          tpm2-tss-2.3.2-3.el8.x86_64                                         

Complete!

使用以下命令验证系统是否是centos-stream版本:

代码语言:javascript复制
[root@cby ~]# cat /etc/centos-release
CentOS Stream release 8

在最后重启系统之后,默认启动CentOS Stream 8版本的啦!

0 人点赞