From Fedora Project Wiki
(render the <pre> tag correctly) |
(criterion moved to Final) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion|Final|no-broken-packages}} | |||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This | |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 | #* 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>repoclosure</code> command (Architecture needs to be specified: <code>-a x86_64</code> or <code>-a i686</code>): <pre>$ repoclosure -a x86_64 --repofrompath myrepo,/media/ --newest -t -r myrepo </pre> | ||
|results= | |results= | ||
<ol> | <ol> | ||
<li> | <li><code>repoclosure</code> command finished successfully.</li> | ||
<li> There are no packages with unresolved dependencies | <li>There are no packages with unresolved dependencies. Example: | ||
<pre> | |||
Added myrepo repo from /media | Added myrepo repo from /media | ||
Reading in repository metadata - please wait.... | Reading in repository metadata - please wait.... | ||
Line 15: | Line 17: | ||
Repos looked at: 1 | Repos looked at: 1 | ||
myrepo | myrepo | ||
Num Packages in Repos: 2766</pre> | Num Packages in Repos: 2766</pre></li> | ||
</li> | </ol> | ||
<ol> | |||
}} | }} | ||
[[Category:Installer_Image_Sanity_Test_Cases]] | [[Category:Installer_Image_Sanity_Test_Cases]] |
Revision as of 23:31, 18 April 2017
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
- Mount the image using a loopback to a directory, for example:
# mount -o loop Fedora-Server-DVD-x86_64-41.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
repoclosure
command (Architecture needs to be specified:-a x86_64
or-a i686
):$ repoclosure -a x86_64 --repofrompath myrepo,/media/ --newest -t -r myrepo
Expected Results
repoclosure
command 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