You are here

How to update drivers and other packages

Affects version(s): 
4.2.x

 
Get package informations

This command lists all installed packages (second colum shows the package name)

# pkginfo

To show details of a package, use the -l option and the package name

# pkginfo -l CPQary3
   PKGINST:  CPQary3
      NAME:  HP Smart Array Controller Driver
  CATEGORY:  system
      ARCH:  i386
   VERSION:  2.5.0,Rev=2012.06.10.02.50
   BASEDIR:  /
    VENDOR:  Hewlett-Packard Company
      DESC:  HP Smart Array Controller Driver
    PSTAMP:  neches030924165540
  INSTDATE:  Feb 28 2012 01:21
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       17 installed pathnames
                  14 shared pathnames
                  11 directories
                   3 executables
                 729 blocks used (approx)

Remove and install (update) packages

  1. Copy the new drivers/packages to the Airlock host (e.g. to /tmp)
  2. Find out, which package needs to be updated (see above)
  3. Remove the old package
    # pkgrm [Package name]Example:
    # pkgrm CPQary3
  4. After removing the (driver) package, the package management tool recommend to reboot the system. Please do NOT restart the system now.
  5. Now install the new package.
    # pkgadd -d [path to the package and the package name]Example
    # pkgadd -d /tmp/CPQary3.pkg
  6. Advise the system to reconfigure# touch /reconfigure
  7. Restart the system.
    Note: After installing/updating a utility package, it is not necessary to reboot the system.

After the reboot files in the directory /tmp will be lost. Thus do not save files in this directory which will be needed afterwards.

If the newest HP RAID Controller driver is installed the following additional boot message is displayed:

Solaris driver message

Knowledge Base Categories: