title: yum install complains about already installed dependency
body: <p>I mean to install a package that is apparently not available in my registered repos (see <a href="https://stackoverflow.com/questions/48170542/redhat-which-package-provides-hdf5-h">RedHat, which package provides hdf5.h</a>).</p>
  
  <p>So I downloaded <code>hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm</code> from <code>rpmfind.net</code>, and tried installing from file, obtaining complaints about some missing files (see <strong>(1)</strong> below).
  But those files exist in my system (see <strong>(2)</strong> below).</p>
  
  <p><strong>How can I work around this issue to get a functional system?</strong></p>
  
  <hr>
  
  <p><a href="https://www.centos.org/forums/viewtopic.php?t=51975" rel="nofollow noreferrer">This</a> seems to deal with a related but different issue.</p>
  
  <hr>
  
  <p>Test #1:</p>
  
  <pre><code># yum install /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm
  Loaded plugins: product-id, rhnplugin, security, subscription-manager
  This system is receiving updates from RHN Classic or RHN Satellite.
  Setting up Install Process
  Examining /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
  Marking /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm to be installed
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package hdf5-openmpi-devel.i686 0:1.8.5.patch1-10.el6 will be installed
  --&gt; Processing Dependency: hdf5-openmpi(x86-32) = 1.8.5.patch1-10.el6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
  --&gt; Processing Dependency: libhdf5.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
  --&gt; Processing Dependency: libhdf5_fortran.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
  --&gt; Processing Dependency: libhdf5_hl.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
  --&gt; Processing Dependency: libhdf5hl_fortran.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
  --&gt; Finished Dependency Resolution
  Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
             Requires: libhdf5.so.6
  Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
             Requires: hdf5-openmpi(x86-32) = 1.8.5.patch1-10.el6
  Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
             Requires: libhdf5_fortran.so.6
  Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
             Requires: libhdf5_hl.so.6
  Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
             Requires: libhdf5hl_fortran.so.6
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>Test #2:</p>
  
  <pre><code>$ repoquery -l --installed hdf5
  /usr/bin/gif2h5
  /usr/bin/h52gif
  /usr/bin/h5copy
  /usr/bin/h5debug
  /usr/bin/h5diff
  /usr/bin/h5dump
  /usr/bin/h5import
  /usr/bin/h5jam
  /usr/bin/h5ls
  /usr/bin/h5mkgrp
  /usr/bin/h5perf_serial
  /usr/bin/h5repack
  /usr/bin/h5repart
  /usr/bin/h5stat
  /usr/bin/h5unjam
  /usr/lib64/libhdf5.so.6
  /usr/lib64/libhdf5.so.6.0.4
  /usr/lib64/libhdf5_cpp.so.6
  /usr/lib64/libhdf5_cpp.so.6.0.4
  /usr/lib64/libhdf5_fortran.so.6
  /usr/lib64/libhdf5_fortran.so.6.0.4
  /usr/lib64/libhdf5_hl.so.6
  /usr/lib64/libhdf5_hl.so.6.0.4
  /usr/lib64/libhdf5_hl_cpp.so.6
  /usr/lib64/libhdf5_hl_cpp.so.6.0.4
  /usr/lib64/libhdf5hl_fortran.so.6
  /usr/lib64/libhdf5hl_fortran.so.6.0.4
  /usr/share/doc/hdf5-1.8.5.patch1
  /usr/share/doc/hdf5-1.8.5.patch1/COPYING
  /usr/share/doc/hdf5-1.8.5.patch1/HISTORY-1_0-1_8_0_rc3.txt
  /usr/share/doc/hdf5-1.8.5.patch1/HISTORY-1_8.txt
  /usr/share/doc/hdf5-1.8.5.patch1/MANIFEST
  /usr/share/doc/hdf5-1.8.5.patch1/README.txt
  /usr/share/doc/hdf5-1.8.5.patch1/RELEASE.txt
  </code></pre>