From Fedora Project Wiki

(use rpmdeplint instead of repoclosure (yum based, can't handle rich deps))
(link to rpmdeplint bugzilla)
Line 5: Line 5:
|actions=
|actions=
# Mount the image using a loopback to a directory, for example: {{#tag:pre|# mount -o loop Fedora-Server-DVD-x86_64-{{FedoraVersionNumber|next}}.iso /media}}
# Mount the image using a loopback to a directory, for example: {{#tag:pre|# mount -o loop Fedora-Server-DVD-x86_64-{{FedoraVersionNumber|next}}.iso /media}}
# Check the dependencies of all packages using a <code>rpmdeplint</code> command (available in the {{pkg|rpmdeplint}} package): <pre>$ rpmdeplint check-repoclosure --repo testdeps,/media /media/Packages/s/systemd* </pre> The last command argument is fake, it needs to point to some package from the set because of limitations of rpmdeplint command (systemd is a good choice, it's always present)
# Check the dependencies of all packages using a <code>rpmdeplint</code> command (available in the {{pkg|rpmdeplint}} package): <pre>$ rpmdeplint check-repoclosure --repo testdeps,/media /media/Packages/s/systemd* </pre> The last command argument is fake, it needs to point to some package from the set because of [https://bugzilla.redhat.com/show_bug.cgi?id=1562010 limitations] of rpmdeplint command (systemd is a good choice, it's always present)
|results=
|results=
# <code>rpmdeplint</code> command hasn't reported any error (checking just the exit code is not sufficient, you need to read the stderr output)
# <code>rpmdeplint</code> command hasn't reported any error (checking just the exit code is not sufficient, you need to read the stderr output)

Revision as of 11:32, 29 March 2018

Associated release criterion
This test case is associated with the Fedora_42_Final_Release_Criteria#no-broken-packages release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This is to verify that there are no broken dependencies between packages located on an offline install-type image (e.g. the Server-DVD.iso image).


How to test

  1. Mount the image using a loopback to a directory, for example:
    # mount -o loop Fedora-Server-DVD-x86_64-42.iso /media
  2. Check the dependencies of all packages using a rpmdeplint command (available in the rpmdeplint package):
    $ rpmdeplint check-repoclosure --repo testdeps,/media /media/Packages/s/systemd* 
    The last command argument is fake, it needs to point to some package from the set because of limitations of rpmdeplint command (systemd is a good choice, it's always present)

Expected Results

  1. rpmdeplint command hasn't reported any error (checking just the exit code is not sufficient, you need to read the stderr output)