To check an upgrade path works:
- find a test Fedora system,
- make sure none of the new packages are already installed,
- install part or all of the old package set,
- copy the new packages to a local directory,
- run createrepo on this directory,
- point dnf to it,
- try a dnf upgrade.
- if that fails, try to understand why, rpm -e whatever dnf upgrade installed and repeat from step 1.
You can also use:
rpm -qp --obsoletes mypackage
… to check the obsoletes declared by one of your new packages and,
dnf list obsoletes
before the dnf upgrate to check what dnf thinks about your new packages.
- It would confuse the tools.
- If you're creating them:
[tmp] name=tmp baseurl=file:///tmp/rpm enabled=1 gpgcheck=0