OR if you already have installed 24.07 upgrade it like this:
sudo dnf clean all
sudo dnf --allowerasing dsync -x systemd* -x lib64udev -x lib64systemd -x lib64nss* -x udev 2>&1 | tee rome-dsync.log.txt
This will create the log rome-dsync.log.txt you can post here if there are problems with the upgrade (dsync). The -x package_name are packages to be excluded from the dsync namely the systemd package stack. If there is an error it wil likely be some package I missed excluding.