Command line PKG install on RaQ 3 and 4

From CobaltFAQs

Jump to: navigation, search

On a RaQ 4, etc., you can manually install PKGs from the command line (as root) by doing

  su -
  /usr/local/sbin/cobalt_upgrade pkg-file-name.pkg

To install several PKGs at once, you can do

  for pkg in *.pkg; do echo "Installing $pkg"; /usr/local/sbin/cobalt_upgrade $pkg; echo ""; done

NOTE: This will install the PKGs in the order they appear in an ls command (i.e., alphabetically). To ensure your PKGs install in the correct order, prepend them with 00, 01, etc. according to their sequence on the [Sunsolve Patch Portal] for the appropriate product.

Personal tools