Centos 8 to Centos 8 Stream migration

Update CentOS 8 to latest available version using command:

$ sudo dnf update

After updating the system, reboot it. Check the current CentOS 8 version after the reboot using below command:

$ cat /etc/redhat-release 
CentOS Linux release 8.3.2011

You next need to enable CentOS Stream repository using below command:

$ sudo dnf install centos-release-stream

Sample output is shown below:

Last metadata expiration check: 0:35:27 ago on Wednesday 09 December 2020 12:44:07 PM IST.
Dependencies resolved.
=========================================================================
 Package                 Arch     Version                 Repo      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
Is this ok [y/N]: y
Downloading Packages:
centos-release-stream-8.1-1.1911.0.7.el8  17 kB/s |  11 kB     00:00    
-------------------------------------------------------------------------
Total                                    5.9 kB/s |  11 kB     00:01     
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_   1/1 
  Verifying        : centos-release-stream-8.1-1.1911.0.7.el8.x86_   1/1 

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

Complete!

You next want to Enable CentOS Stream repository

In the end, run the following command to migrate CentOS Linux 8 to CentOS Stream 8:

$ sudo dnf distro-sync

The distro-sync command will do the necessary upgrades, downgrades or keeps selected installed packages to match the latest version available from any enabled repository. If no package is given, all installed packages are considered. Type Y and hit ENTER to start migrating to CentOS Stream 8:

Sample output:

CentOS-Stream - AppStream                                                                               521 kB/s | 6.3 MB     00:12    
CentOS-Stream - Base                                                                                    304 kB/s | 2.3 MB     00:07    
CentOS-Stream - Extras                                                                                  5.1 kB/s | 7.0 kB     00:01    
Last metadata expiration check: 0:00:01 ago on Wednesday 09 December 2020 01:22:28 PM IST.
Dependencies resolved.
========================================================================================================================================
 Package                                         Architecture    Version                                Repository                 Size
========================================================================================================================================
Installing:
 centos-stream-release                           noarch          8.4-1.el8                              Stream-BaseOS              21 k
     replacing  centos-linux-release.noarch 8.3-1.2011.el8
     replacing  centos-release-stream.x86_64 8.1-1.1911.0.7.el8
Upgrading:
 NetworkManager                                  x86_64          1:1.30.0-0.2.el8                       Stream-BaseOS             2.5 M
 NetworkManager-libnm                            x86_64          1:1.30.0-0.2.el8                       Stream-BaseOS             1.8 M
 NetworkManager-team                             x86_64          1:1.30.0-0.2.el8                       Stream-BaseOS             142 k
 NetworkManager-tui                              x86_64          1:1.30.0-0.2.el8                       Stream-BaseOS             322 k
 avahi-glib                                      x86_64          0.7-20.el8                             Stream-BaseOS              14 k
 avahi-libs                                      x86_64          0.7-20.el8                             Stream-BaseOS              62 k
 bind-export-libs                                x86_64          32:9.11.20-6.el8                       
.
.
.
.
baseos                     57 k
 python3-subscription-manager-rhsm               x86_64          1.28.5-1.el8                           Stream-BaseOS             362 k
 subscription-manager                            x86_64          1.28.5-1.el8                           Stream-BaseOS             1.1 M
 subscription-manager-rhsm-certificates          x86_64          1.28.5-1.el8                           Stream-BaseOS             258 k
 usermode                                        x86_64          1.113-1.el8                            baseos                    202 k

Transaction Summary
========================================================================================================================================
Install    9 Packages
Upgrade  107 Packages

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

Migrate To CentOS Stream 8 From CentOS Linux 8

This will take some time depending on your Internet speed and cpu. Once the CentOS Stream 8 migration is completed, you can run the following command to verify:

$ cat /etc/redhat-release 
CentOS Stream release 8
Check CentOS Stream Version

If you want a fresh CentOS Stream ISO, you can get it from the official page.

CentOS users are not happy and are against this decision

A lot of CentOS Linux users and developers are disappointed about this decision. Many frustrated users have commented that they were expecting this since IBM bought out Red Hat.

Also so many users are thinking to move to different distributions that provides long term support. The most suggested alternatives by the users are FreeBSD, Debian, openSUSE and Ubuntu.

We don't know how Red Hat is going to respond to the users' agitation. May be they will simply ignore the CentOS community and move on. Let us wait and see.

Don't want to switch to CentOS Stream? How about Oracle Linux? The following guide explains how to convert to Oracle Linux from CentOS.

  • centos8, centos8 stream, migration
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 Count the amount of inodes - files in a given directory

#!/bin/bash## @title inodes#...

 cve-2021-3156 vulnerability

Qualys Security Advisory Baron Samedit: Heap-based buffer overflow in Sudo (CVE-2021-3156)...

 Docker failed with the error: Error response from daemon: error creating overlay mount to invalid argument

If you receive below  error when trying to configure a docker application: Docker failed with...

 Fail2ban high memory usage

The initial fail2ban virtual memory overhead on the server was approximately 350MB.While that is...

 Fail2ban how to block unblock whitelist ip

fail2ban-client status Status|- Number of jail: 1`- Jail list: sshd This command will show the...