35.1 Executing an RPM Upgrade from the Bash Prompt

  1. Copy the the appropriate RPMs from the CD to a temporary directory, for example /usr/temp/RPMS.

  2. Run the following command at the bash prompt:

    rpm -Uvh --freshen --nosignature `ls your_temporary_directory/*.rpm`
    

    This command upgrades the ZENworks Desktop Management software to SP1. It uses the RPMs contained in the temporary /RPMS directory that are known to the RPM database as being installed.

  3. Run the following scripts matching the components you are upgrading to restore the shell scripts that were replaced by the rpm command in Step 2:

    • Inventory server:

      /opt/novell/zenworks/bin/novell-zenworks-inv-restore.sh
      
    • Database Engine server:

      /opt/novell/zenworks/bin/novell-zenworks-sybase-restore.sh
      
    • Inventory Database:

      /opt/novell/zenworks/bin/novell-zenworks-invdb-restore.sh
      
    • NAL Database:

      /opt/novell/zenworks/bin/novell-zenworks-naldb-restore.sh
      
    • Remote Management:

      /opt/novell/zenworks/bin/novell-zenworks-wol-restore.sh
      
  4. Run the following command to update the uninstall directory:

    sed -i.bak s@-7\.0\.0-.@@ /opt/novell/zenworks/Uninstall\ ZENworks\ Desktop\ Management/.com.zerog.registry.xml
    
  5. Run the following command to restart the services:

    /opt/novell/zenworks/bin/ZDMstart restart cold
    
  6. If you need to reconfigure any of the updated RPMs, see Section 24.0, Installing RPMs and Changing Configuration Values.