From Fedora Project Wiki

(use dnf repoclosure instead of rpmdeplint)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Alpha|no-broken-packages}}
+
{{Template:Associated_release_criterion|Final|no-broken-packages}}
  
 
{{QA/Test_Case
 
{{QA/Test_Case
 
|description=This is to verify that there are no broken dependencies between packages located on an offline install-type image (e.g. the {{filename|Server-DVD.iso}} image).
 
|description=This is to verify that there are no broken dependencies between packages located on an offline install-type image (e.g. the {{filename|Server-DVD.iso}} image).
 
|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}}
#* 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 <code>dnf repoclosure</code> command: <pre>$ dnf repoclosure --repofrompath testdeps,/media --repo testdeps</pre>
# Check the dependencies of all packages using a <code>repoclosure</code> command (Architecture needs to be specified(-a x86_64): <pre>$ repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
 
 
|results=
 
|results=
<ol>
+
# <code>dnf repoclosure</code> command hasn't reported any error
<li><code>repoclosure</code> command finished successfully.</li>
 
<li>There are no packages with unresolved dependencies. Example:
 
<pre>
 
Added myrepo repo from /media
 
Reading in repository metadata - please wait....
 
Checking Dependencies
 
Repos looked at: 1
 
    myrepo
 
Num Packages in Repos: 2766</pre></li>
 
</ol>
 
 
}}
 
}}
  
 
[[Category:Installer_Image_Sanity_Test_Cases]]
 
[[Category:Installer_Image_Sanity_Test_Cases]]

Latest revision as of 18:42, 3 April 2018

Note.png
Associated release criterion
This test case is associated with the Fedora_32_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-32.iso /media
  2. Check the dependencies of all packages using a dnf repoclosure command:
    $ dnf repoclosure --repofrompath testdeps,/media --repo testdeps

Expected Results

  1. dnf repoclosure command hasn't reported any error