How to configure Centos for latest updates?

General support questions
Post Reply
linuxlion
Posts: 6
Joined: 2019/11/15 07:58:38

How to configure Centos for latest updates?

Post by linuxlion » 2024/03/22 08:45:35

We use 3 Centos systems.
On all 3 systems gives 'cat /etc/centos-release' the result 'Centos Linux release 7.9.2009 (Core)'

On 2 systems gives 'uname -r' the result '3.10.0-1160.108.1.el7.x86_64'
On this 2 systems gives:
'sudo yum update'
the result:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.prolocation.net
* epel: mirror.serverion.com
* extras: ftp.nluug.nl
* updates: nl.mirrors.clouvider.net
No packages marked for update


On 1 system gives 'uname -r' the result '3.10.0-1160.102.1.el7.x86_64'
On this system gives:
'sudo yum update'
the result:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No packages marked for update

How can I configure this last Centos system that is also download and install the latest kernel and updates?

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: How to configure Centos for latest updates?

Post by tunk » 2024/03/22 12:02:54

Is it a long time since you have rebooted? - a new kernel requires a reboot.
Also, CentOS 7 dies in three months time.

linuxlion
Posts: 6
Joined: 2019/11/15 07:58:38

Re: How to configure Centos for latest updates?

Post by linuxlion » 2024/03/22 12:34:20

A newer kernel than the running kernel is also not available in the directory /boot
The system is now rebooted but "yum update" still give "No new packages marked for update".
Beside this, I had to update the CentOS systems from 7 to 8.

linuxlion
Posts: 6
Joined: 2019/11/15 07:58:38

Re: How to configure Centos for latest updates?

Post by linuxlion » 2024/03/22 15:06:38

The directory /etc/yum.repos.d contains a file bradford.repo
The bradford mirror contains an older Centos version.
Bradford performs testing before a new CentOS release is placed on the Bradford mirror.
This Bradford mirror is used for FortiNAC from Fortinet.
The cause in clear now.

User avatar
TrevorH
Site Admin
Posts: 33223
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to configure Centos for latest updates?

Post by TrevorH » 2024/03/22 15:39:37

Beside this, I had to update the CentOS systems from 7 to 8.
There is no supported "upgrade" from 7 to 8. It is a re-install. And in any case CentOS Linux 8 is already EOL, 2 years ago.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply