Error: failure: srvadmin-meta/srvadmin-all-6.2.0-1.5.el5.i386.rpm from dell-omsa-specific: [Errno 256] No more mirrors to try.

I installed some packages today for a client that uses a third party collocation provider to manage the hardware aspects of their servers. We handle all of the software installations and day to day management of the servers but this other company replaces hard drives and any other hardware that is necessary. Anyhow the third party collocation provider noticed one of the hard drives in a server with RAID 5 had gone down so today they did some troubleshooting and then requested that we install some software so they could manage the hardware in real time in the future. The software they wanted us to install were all OpenManage Server Administrator packages provided from a Dell repository called the Dell OMSA Repository. I ran into a couple minor issues along the way including the error noted below.

After installing the OMSA repo you are supposed to install a package called srvadmin-all which installs a bunch of packages relating to OpenManage. As you can see below when attempting to install srvadmin-all via yum I received an error.

Error: failure: srvadmin-meta/srvadmin-all-6.2.0-1.5.el5.i386.rpm from dell-omsa-specific: [Errno 256] No more mirrors to try.

[root@dev src]#

Resolving the issue ended up being really easy. You simply run “yum clean all” as displayed below to clear the yum cache and then you will be able to install the srvadmin-all package without issue. This package will have a ton of dependencies which I display after the “yum clean all” command. The yum clean all command will clear various caches located in the yum cache directory including packages cache, headers cache, metadata cache, and dbcache (yum sqlite cache).

Run Yum Clean All To Clear All Yum Caching:

bash

[root@dev src]# yum clean all

Loading &quot;installonlyn&quot; plugin

Loading &quot;dellsysid&quot; plugin

Cleaning up Everything

[root@dev src]#

Now after clearing the yum cache you should be able to install the srvadmin-all RPM package and all of its dependencies without issue. Below is the output when installing the srvadmin-all package on a CentOS Linux server for the first time.

As you can see above there will be somewhere in the neighborhood of 48 packages installed as dependencies for the srvadmin-all package mostly provided via the OMSA yum repository. The only package not installed from the yum OMSA repo was the compat-libstdc++-33 RPM package which was installed from the yum base repository. After successfully installing all of the above packages you will want to start the srvadmin-all package by issuing the below command from a shell.