From Fedora Project Wiki

(Notice the architecture option)
(Update potential_conflict.py link)
Line 4: Line 4:
# Download the DVD image
# Download the DVD image
# Mount the ISO, for example: <pre>mount -o loop Fedora-12-i386-DVD.iso /media/ </pre>
# Mount the ISO, for example: <pre>mount -o loop Fedora-12-i386-DVD.iso /media/ </pre>
# Next, download the [http://git.fedorahosted.org/git/autoqa.git?p=autoqa.git;a=blob_plain;f=tests/conflicts/potential_conflict.py;hb=HEAD potential_conflict.py] script.
# Next, download the [http://git.fedorahosted.org/git/?p=autoqa.git;a=blob_plain;f=tests/conflicts/potential_conflict.py;hb=HEAD potential_conflict.py] script.
# Check for file conflicts by running the script: <pre>python potential_conflict.py --repofrompath=media,/media -a i386 -r media</pre>
# Check for file conflicts by running the script: <pre>python potential_conflict.py --repofrompath=media,/media -a i386 -r media</pre>
{{admon/note|Notice the architecture option|Don't forget to change the <code>-a i386</code> option if you have downloaded DVD image for other architecture.}}
{{admon/note|Notice the architecture option|Don't forget to change the <code>-a i386</code> option if you have downloaded DVD image for other architecture.}}

Revision as of 11:37, 30 April 2010

Description

This test will read in metadata of all packages included on DVD media and determine whether any package or file conflicts exist. Note, the example used in this test applies to the i386 platform. However, this test can be used to detect package file conflicts on other supported platforms.


How to test

  1. Download the DVD image
  2. Mount the ISO, for example:
    mount -o loop Fedora-12-i386-DVD.iso /media/ 
  3. Next, download the potential_conflict.py script.
  4. Check for file conflicts by running the script:
    python potential_conflict.py --repofrompath=media,/media -a i386 -r media
Notice the architecture option
Don't forget to change the -a i386 option if you have downloaded DVD image for other architecture.

Expected Results

  1. The potential_conflict.py script completes successfully
  2. No package or file conflicts were detected for packages included in the media kit