Problem to update from Rocky Linux 8.7 to 8.9

Good morning. I want to upgrade from RL 8.7 to 8.9
I run the yum update command and very few packages appear to update, for example, the packages related to the kernel do not appear
This is the command I run:
dnf update --skip-broken --nobest --nogpgcheck --downloadonly --downloaddir /opt/update/version_8.9/

Can you guide me on what I’m doing wrong?
Thank you

First of all, I’d avoid the --skip-broken --nobest --nogpgcheck options.

Second, what is the update --downloadonly supposed to do?

Or put other way, what does the plain dnf up offer?

With downloadonly and downloaddir I want to download it to generate a script

Nevertheless, I would probably run:

dnf up rocky-release rocky-repos
dnf --enablerepo=* clean all

on this machine to ensure that it has latest (rocky) repo definitions (unless you have edited those config files) when you run your “actual” command.

It was my problem, I should have created it at some point. When I deleted the file /etc/dnf/modules.d/BaseOS.module I tried again and it updated all the OS packages.

Thank you