Initial Settings : Update System2023/02/20 |
After AlmaLinux Server has been a production System, maybe it's difficult to update System,
however, at least after Installing, Update AlmaLinux Server to the latest. |
|
[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@dlp ~]#
which yum /usr/bin/yum
[root@dlp ~]#
ll /usr/bin/yum lrwxrwxrwx. 1 root root 5 Aug 5 2020 /usr/bin/yum -> dnf-3
[root@dlp ~]#
which dnf /usr/bin/dnf
[root@dlp ~]#
ll /usr/bin/dnf lrwxrwxrwx. 1 root root 5 Oct 25 23:06 /usr/bin/dnf -> dnf-3
[root@dlp ~]#
[root@dlp ~]# ll /usr/bin/dnf-3 -rwxr-xr-x. 1 root root 1942 Oct 25 23:06 /usr/bin/dnf-3 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@dlp ~]# 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 |
[2] | Update AlmaLinux Server like follows. |
[root@dlp ~]# dnf -y upgrade AlmaLinux 9 - AppStream 4.3 MB/s | 8.0 MB 00:01 AlmaLinux 9 - BaseOS 1.5 MB/s | 2.9 MB 00:01 AlmaLinux 9 - Extras 18 kB/s | 17 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel x86_64 5.14.0-162.12.1.el9_1 baseos 1.9 M Upgrading: aardvark-dns x86_64 2:1.1.0-5.el9_1 appstream 996 k authselect x86_64 1.2.5-2.el9_1 baseos 140 k authselect-libs x86_64 1.2.5-2.el9_1 baseos 223 k bash x86_64 5.1.8-6.el9_1 baseos 1.7 M bpftool x86_64 5.14.0-162.12.1.el9_1 baseos 2.6 M buildah x86_64 1:1.27.3-1.el9_1 appstream 7.9 M containers-common x86_64 2:1-45.el9_1 appstream 112 k cryptsetup x86_64 2.4.3-5.el9_1.1 baseos 199 k cryptsetup-libs x86_64 2.4.3-5.el9_1.1 baseos 434 k curl x86_64 7.76.1-19.el9_1.1 baseos 295 k dbus x86_64 1:1.12.20-7.el9_1 baseos 7.0 k dbus-common noarch 1:1.12.20-7.el9_1 baseos 14 k dbus-libs x86_64 1:1.12.20-7.el9_1 baseos 152 k device-mapper-multipath x86_64 0.8.7-12.el9_1.1 baseos 141 k device-mapper-multipath-libs x86_64 0.8.7-12.el9_1.1 baseos 266 k expat x86_64 2.4.9-1.el9_1.1 baseos 116 k ..... ..... |
Sponsored Link |