Initial Settings : Update System2021/07/16 |
After Rocky Linux Server has been a production System, maybe it's difficult to update System,
but at least after Installing, Update CentOS Stream 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 May 26 04:59 /usr/bin/yum -> dnf-3
[root@dlp ~]#
which dnf /usr/bin/dnf
[root@dlp ~]#
ll /usr/bin/dnf lrwxrwxrwx. 1 root root 5 May 26 04:59 /usr/bin/dnf -> dnf-3
[root@dlp ~]#
ll /usr/bin/dnf-3 -rwxr-xr-x. 1 root root 1954 May 26 04:59 /usr/bin/dnf-3
[root@dlp ~]#
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 lrwxrwxrwx. 1 root root 12 May 26 04:59 /etc/yum.conf -> dnf/dnf.conf [root@dlp ~]# ll /etc/yum/vars lrwxrwxrwx. 1 root root 11 May 26 04:59 /etc/yum/vars -> ../dnf/vars |
[2] | Update Rocky Linux Server like follows. |
[root@dlp ~]# dnf -y upgrade Rocky Linux 8 - AppStream 9.9 MB/s | 7.8 MB 00:00 Rocky Linux 8 - BaseOS 2.0 MB/s | 3.5 MB 00:01 Rocky Linux 8 - Extras 13 kB/s | 3.8 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel x86_64 4.18.0-305.7.1.el8_4 baseos 5.9 M kernel-core x86_64 4.18.0-305.7.1.el8_4 baseos 36 M kernel-modules x86_64 4.18.0-305.7.1.el8_4 baseos 28 M Upgrading: NetworkManager x86_64 1:1.30.0-9.el8_4 baseos 2.6 M ..... ..... |
Sponsored Link |
|