Repo of AMDGPU could not resolve host

Of course not.

See also ROME major upgrade expected - #57 by rugyada and the links there (use online translator if any need)

Do
sudo dnf clean all ; dnf repolist
to confirm your current enabled repos.

Start the system upgrade process from tty. Logout and open a virtual terminal (ctrl+alt+F3 -or F4 F5 F6 as you wish)

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1 | tee 20260205-rome-dsync-log.txt

Abort the transaction and attach the log file here if you feel something is not right or clear.