Checking upgrade paths
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 yum to it,
- try a yum update.
- if that fails, try to understand why, rpm -e whatever yum update 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,
yum list obsoletes
before the yum update to check what yum 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