After yum update is executed, will the installed software version be updated to the latest?

After

yum update is executed, will the installed software version be updated to the latest?
for example, I now have kubeadm version 1.11.1 installed, and now the server needs to be updated. After executing yum update, how can I keep this version?

Apr.15,2022

you can specify to install updates to a specific version

$ -sharp-sharp first find a list of all dups -sharp-sharp
$ yum --showduplicates list nginx
$ -sharp-sharp now update to particular version -sharp-sharp
$ sudo yum update-to nginx-version
$ sudo yum update-to nginx-1.12.2-1.el7

will exclude specific packages by name:

-sharp yum --exclude=php\* update
-sharp yum --exclude=kernel\* update
-sharp yum -x 'kernel*' -x 'php*' update

see
https://codeshelper.com/a/11...

Menu