2 Replies Latest reply on Apr 26, 2010 7:17 AM by Alessandro Iacopetti

    RPM deployments

    Alessandro Iacopetti

      i'm trying to update some RH5.1 servers with the new version of yum

      using the shell the proven method is


      rpm -ivh python-iniparse-0.2.3-4.el5.noarch.rpm
      rpm -Uvh rhnlib-2.2.7-2.el5.noarch.rpm m2crypto-0.16-6.el5.6.i386.rpm rhn-check-0.4.20-9.el5.noarch.rpm rhn-setup-0.4.20-9.el5.noarch.rpm rhn-setup-gnome-0.4.20-9.el5.noarch.rpm rhn-client-tools-0.4.20-9.el5.noarch.rpm yum-rhn-plugin-0.5.4-13.el5.noarch.rpm yum-3.2.22-20.el5.noarch.rpm yum-metadata-parser-1.1.2-3.el5.i386.rpm yum-updatesd-0.9-2.el5.noarch.rpm


      one rpm to install a missing package and one rpm transaction to install a set of interdependant rpms


      first i tried an audit job with a sync with master, but the resulting blpackage wasn't correctly deployed (i presume for not installing rpms in the correct dependency order)

      so i manually created a blpackage with all those rpms split in 2

      one single rpm for python-iniparse and all the others into an RPM Group, with the same order as the command line above

      i also set "on error: ignore"


      on machines that already have some rpms installed, the deploy stop at the first already present rpm and skips all the others


      what's the correct way of deploying rpms?