CentOS Stream 9: Update System

step-1

Initial Settings

After CentOS Stream Server has been a production System, maybe it's difficult to update System, however, at least after Installing, Update CentOS Stream Server to the latest.

Step [1] For commands to updating System, it's possible to use [yum] or [dnf], but both are the link to [dnf-3], so you may use [yum] or [dnf] as you like.


[root@bizantum ~]# which yum
/usr/bin/yum
[root@bizantum ~]# ll /usr/bin/yum
lrwxrwxrwx. 1 root root 5 Aug 5 2020 /usr/bin/yum -> dnf-3
[root@bizantum ~]# which dnf
/usr/bin/dnf
[root@bizantum ~]# ll /usr/bin/dnf
lrwxrwxrwx. 1 root root 5 Oct 25 23:06 /usr/bin/dnf -> dnf-3
[root@bizantum ~]# ll /usr/bin/dnf-3
-rwxr-xr-x. 1 root root 1942 Oct 25 23:06 /usr/bin/dnf-3
# installed [yum] package
[root@bizantum ~]# rpm -q yum
yum-4.10.0-1.el9.noarch
[root@bizantum ~]# rpm -ql yum
/etc/dnf/protected.d/yum.conf
/etc/yum.conf
/etc/yum/pluginconf.d
/etc/yum/protected.d
/etc/yum/vars
/usr/bin/yum
/usr/share/man/man1/yum-aliases.1.gz
/usr/share/man/man5/yum.conf.5.gz
/usr/share/man/man8/yum-shell.8.gz
/usr/share/man/man8/yum.8.gz

# included files are all links to [dnf]
[root@bizantum ~]# ll /etc/yum.conf /etc/yum/vars /etc/yum/pluginconf.d
lrwxrwxrwx. 1 root root 12 Oct 25 23:06 /etc/yum.conf -> dnf/dnf.conf
lrwxrwxrwx. 1 root root 14 Oct 25 23:06 /etc/yum/pluginconf.d -> ../dnf/plugins
lrwxrwxrwx. 1 root root 11 Oct 25 23:06 /etc/yum/vars -> ../dnf/vars

Step [2] Update CentOS Stream Server like follows.


[root@bizantum ~]# dnf -y upgrade
CentOS Stream 9 - BaseOS                        7.2 kB/s | 8.1 kB     00:01
CentOS Stream 9 - BaseOS                        242 kB/s | 1.7 MB     00:07
CentOS Stream 9 - AppStream                      26 kB/s | 8.2 kB     00:00
CentOS Stream 9 - AppStream                     1.3 MB/s | 9.7 MB     00:07
Dependencies resolved.
================================================================================
 Package                         Arch     Version             Repository   Size
================================================================================
Installing:
 kernel                          x86_64   5.14.0-30.el9       baseos      158 k
Upgrading:
 NetworkManager                  x86_64   1:1.36.0-0.2.el9    baseos      2.2 M
 NetworkManager-config-server    noarch   1:1.36.0-0.2.el9    baseos       13 k
 NetworkManager-libnm            x86_64   1:1.36.0-0.2.el9    baseos      1.7 M
 NetworkManager-team             x86_64   1:1.36.0-0.2.el9    baseos       31 k
 NetworkManager-tui              x86_64   1:1.36.0-0.2.el9    baseos      225 k
 bind-libs                       x86_64   32:9.16.23-1.el9    appstream   1.2 M
 bind-license                    noarch   32:9.16.23-1.el9    appstream    16 k
 bind-utils                      x86_64   32:9.16.23-1.el9    appstream   210 k
 binutils                        x86_64   2.35.2-13.el9       baseos      5.6 M
 binutils-gold                   x86_64   2.35.2-13.el9       baseos      739 k
 bpftool                         x86_64   5.14.0-30.el9       baseos      887 k
 cockpit                         x86_64   259-1.el9           baseos       45 k
 cockpit-bridge                  x86_64   259-1.el9           baseos      492 k
 cockpit-packagekit              noarch   259-1.el9           appstream   588 k
 cockpit-podman                  noarch   38-1.el9            appstream   472 k
 cockpit-storaged                noarch   259-1.el9           appstream   587 k
 cockpit-system                  noarch   259-1.el9           baseos      3.2 M
 cockpit-ws                      x86_64   259-1.el9           baseos      1.3 M
.....
.....

Comments

Popular posts from this blog

Debian 12 Bookworm: Install Kubeadm
Introduction In this article, we will explore the what, who, where, when, why, and how of Kubeadm functionality on the Debian 12 Bookworm platform, so let's get started.
Fedora 40 : Mail Server
Introduction This guide covers the installation and configuration of a mail server on Fedora 40. It will help you understand the what, who, where, when, why, and how of setting up a mail server.
Cyber Security: NIST Overview
Overview The National Institute of Standards and Technology (NIST) is a pivotal entity in the United States that plays a crucial role in advancing measurement science, standards, and technology. Understanding NIST’s functions, importance, and impact is vital for various industries and sectors.
Cyber Security: ISO 27001 Overview
Introduction ISO 27001 is an international standard for information security management systems (ISMS). It provides a framework for managing sensitive company information to ensure it remains secure. Understanding ISO 27001 is crucial for organizations aiming to protect their information assets.
AlmaLinux 9: How to Install
Introduction AlmaLinux 9 Server is a free and open-source Linux distribution that provides a stable and secure platform for server environments. It's a popular choice for both enterprise and personal use due to its reliability and robust features. This guide will walk you through the steps to install AlmaLinux 9 Server on your system.
AlmaLinux 9: Overview
Introduction AlmaLinux 9 is a robust, open-source enterprise operating system that serves as a community-driven alternative to CentOS. Designed to deliver stability, performance, and long-term support, AlmaLinux is an excellent choice for servers in diverse environments, from small businesses to large enterprises.