From Fedora Project Wiki

(Add sample output to expected results)
(split media is gone)
Line 2: Line 2:
|description=This test will read in metadata of a mediakit and check dependencies in all packages for resolution.
|description=This test will read in metadata of a mediakit and check dependencies in all packages for resolution.
|actions=
|actions=
# Download DVD or CD images
# Download DVD image
# Mount the ISO, for example: <pre># mount -o loop Fedora-14-x86_64-DVD.iso /media/ </pre>
# Mount the ISO, for example: <pre># mount -o loop Fedora-14-x86_64-DVD.iso /media/ </pre>
# Check the dependencies of all packages. If you have a physical media, the process is the same. <pre># repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
# Check the dependencies of all packages. If you have a physical media, the process is the same. <pre># repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>

Revision as of 11:47, 9 February 2011

Description

This test will read in metadata of a mediakit and check dependencies in all packages for resolution.


How to test

  1. Download DVD image
  2. Mount the ISO, for example:
    # mount -o loop Fedora-14-x86_64-DVD.iso /media/ 
  3. Check the dependencies of all packages. If you have a physical media, the process is the same.
    # repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo 

Expected Results

  1. Checking dependencies finished successfully
  2. There are no packages with unresolved dependencies from myrepo in the output. See below for sample output
    Added myrepo repo from /media
    Reading in repository metadata - please wait....
    Checking Dependencies
    Repos looked at: 1
    myrepo
    Num Packages in Repos: 2766