QA:Testcase Mediakit Repoclosure
This is to verify that there are no broken dependencies between packages located on an offline install-type image (e.g. the
How to test
- Mount the image using a loopback to a directory, for example:
# mount -o loop Fedora-Server-DVD-x86_64-21.iso /media/
- Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
- Check the dependencies of all packages using a
repoclosurecommand (Architecture needs to be specified -> -a x86_64):
$ repoclosure -a x86_64 --repofrompath myrepo,/media/ --newest -t -r myrepo
repoclosurecommand finished successfully.
- There are no packages with unresolved dependencies. Example:
Added myrepo repo from /media Reading in repository metadata - please wait.... Checking Dependencies Repos looked at: 1 myrepo Num Packages in Repos: 2766