Operating System - HP-UX
1752780 Members
6345 Online
108789 Solutions
New Discussion

Re: How to install a software using swinstall

 
SOLVED
Go to solution
H.Merijn Brand (procura
Honored Contributor

Re: How to install a software using swinstall

mount_all_filesystems indeed deafults to the extremely annoying true.

You can however make swinstall/swremove/swverify/... be way more reasonable when you set that as default

# cd /var/adm/sw
# cat defaults
# File: /var/adm/sw/defaults
#
# Purpose: HP OpenView Software Distributor system-wide default options
#
# Header: $Header: defaults,v 5.1 95/03/04 05:05:07 hmgr Exp $
#
# Description: This file contains the customized, system-wide default
# options and behaviors for the HP OpenView Software
# Distributor (SD) commands.
#
# The file /usr/lib/sw/sys.defaults contains a complete list
# of current SD options (with their default values).

swinstall.mount_all_filesystems = false
swinstall.source_directory = /cdrom
swinstall.source_cdrom = /cdrom
swinstall.verbose = 0
swinstall.patch_save_files = false

#swmodify.patch_commit = true

swremove.mount_all_filesystems = false
swremove.verbose = 0
swremove.software_view = products

swconfig.mount_all_filesystems = false
#

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Dennis Handly
Acclaimed Contributor

Re: How to install a software using swinstall

>Bijo: check for the s/w on the depot.
>#swlist -d @/dir/cfg.depot

I would suggest you not fall into the SD trap of having N ways to do things. You should only use:
swlist -s /dir/cfg.depot
This way your swlist looks like your swinstall.