You cannot use only yum to downgrade (or upgrade) OMSA.  You can try, but
you will most likely end up with a non-functional OMSA installation.

To change OMSA versions you must first uninstall the current version, then
install whatever version you want to install.

Below is the script I use to remove OMSA, then upgrade (or downgrade).  To
downgrade, change the URL to point to the version you want from
https://linux.dell.com/repo/hardware/ 


            # uninstall OMSA
            /opt/dell/srvadmin/sbin/srvadmin-uninstall.sh -f
            # remove all packages originating from dell-omsa repository
            yum -y remove $(/usr/sbin/yumdb search from_repo "dell-omsa*" |
grep '[a-z]' | grep -vE "(from_repo|Loaded plugins)" )
            # remove the repo definition
            yum -y remove dell-omsa-repository yum-dellsysid
            # manually remove any files left, just in case...
            rm -f /etc/yum.repos.d/dell-omsa-repository.repo
            rm -rf /opt/dell/srvadmin /usr/libexec/dell_dup
/usr/share/firmware/dell

            # /tmp mount be mounted with exec permissions for firmware
updates to complete
            # at least, this was the case for update_firmware -- not sure
for dsu
            if [[ $(grep  [[:space:]]\/tmp[[:space:]] /etc/fstab|grep -c
noexec) -gt 0 ]]; then
                RESETNOEXEC=1
                mount -o remount,exec /tmp
            fi


            # install new repo for Dell System Update/OMSA
                # Modify this URL to match your desired version
            wget -q -O -
https://linux.dell.com/repo/hardware/DSU_18.05.00/bootstrap.cgi | bash

            # Install DSU, OMSA, idracadm7
            yum -y install srvadmin-all dell-system-update
srvadmin-idracadm7


-----Original Message-----
From: Linux-PowerEdge [mailto:[email protected]] On Behalf Of
Lorenzo Grio
Sent: Monday, June 18, 2018 4:26 AM
To: [email protected]
Subject: [Linux-PowerEdge] How downgrade OMSA by yum (CentOS)

Hi,
I have installed  OMSA 9.1 on CentOS 7.5, but due to problem with CMOS
Battery on PE2950 I should downgrade OMSA to 8.5.
How can I downgrade it?
How can I install an old version of OMSA by yum?

Thanks in advance.
Lorenzo

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Reply via email to