Solaris 8 Patch Pro 2.2 installation problems.
Hello -
To start off, here is the output of 'uname -a':
SunOS wesun 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-5_10
Last year I installed PatchPro 2.0 after doing gyrations to avoid having a soft-link deleted during the installation.
PatchPro 2.2 is available.. so I downloaded the gzipped tarball:
pproSunOSsparc5.8jre2.2.tar.gz
Unpacked it and read the 'Readme'. The instructions for installation seemed straightforward.
Here is the result of running (as root) "./setup"
======= <-- More of my mutterings after the equal-signs below.
# ./setup
This utility will install PatchPro and all required support
software. It is a wrapper around pkgadd and patchadd. It
will honor your SVR4 install policies and will backout all
changes if anything goes wrong.
Patches may be applied in support of the installation. For
that reason, this utility should be run on a quiet system
with no active windowing, preferrably in single user mode.
If reboot is required, you will see a message at the end of
the installation.
This installation will preserve critical data files by
executing a shell script with root permission.
Would you like to continue with the installation? [y,n,?,q] y
NOTE: For error and warning messages, see the log file at
/var/tmp/ppro_install_log.2660.
PatchPro already installed.
#
=======
THERE'S NO LOG FILE.
Alright.. maybe ./setup is unhappy that Patch Manager 2.0 is installed. Well, the instructions for that package say to run /lib/patch/pmunsetup to remove Patch Manager 2.0 .
So I run that.. it announces that Patch Manager has been removed, and I try again to install PatchPro 2.2 .
Same response. "PatchPro already installed".
And there is NO log file. Yes, /var/tmp exists and is drwxrwxrwt .
I start threading my way through ./setup and find it's looking in /opt for packages. Hmm.. it looks like /lib/patch/pmunsetup didn't remove stuff from /opt. Make a subdirectory and move /opt/SUNWppro into that.
./setup reports the same problem: "PatchPro already installed"
Still no log file.
I'd like to bring wesun up-to-date; it's nearly a year out. Please.. could someone tell me what is tripping up the setup script? /lib/patch/pmunpatch seemed to have removed itself.
Your time is greatly appreciated.
Mark
(and yes <ouch>, I will read this forum more often.)
[2537 byte] By [
MarkBa] at [2007-11-26 15:26:55]

# 2
ksh -x ./setup is appended below.
/var/tmp/ppro_install_log.652 does not exist.
I typed a 'y' -ENTER- when the script asked permission to continue.
Your time is appreciated.
Mark
-
+ + dirname ./setup
SETUPDIRECTORY=.
+ + cat ./patchlist
PATCHLIST=108940-07
+ PRODDIR=.
+ PATCHPROPKG=SUNWppro
+ BACKOUTSCRIPT=uninstallpatchpro
+ REMOVEPATH=/var/tmp/uninstallpatchpro
+ LOG=/var/tmp/ppro_install_log.652
+ J2SEPATH=/usr/j2se
+ INSTALLPKG=false
+ REMOVETHIS=
+ ALREADYINSTALLED=false
+ REMOTEDIST=false
+ MODADMINFILE=/var/tmp/admin
+ MODADMINFILETMP=/var/tmp/admin.652
+ SMPPKG=SUNWpmgr
+ JREPKGS=SUNWj3rt SUNWlj3rt SUNWj3dev
+ JREJSPKGS=SUNWjsse
+ JAXPPKGS=SUNWjaxp
+ JAVAPKGLIST=SUNWj3rt SUNWlj3rt SUNWj3dev SUNWjsse
+ SUPRTPKGLIST=SUNWj3rt SUNWlj3rt SUNWj3dev SUNWjsse SUNWsdb SUNWapcy SUNWppmn SUNWpmgr
+ CFGPKGLIST=SUNWppcfg
+ REQPKGLIST=SUNWmfrun SUNWlibC SUNWadmc SUNWadmfw
+ REQS6PKGLIST=SUNWmfrun SUNWlibC SUNWadmc SUNWadmfw SUNWxcu4
+ INCLUDESJAVA=0
+ BAK_CONFIGFILE=/var/tmp/old_patchpro.conf.652
+ SUNW_JSSE_BASE_DIR=/usr/j2se/opt
+ SUNW_APCY_BASE_DIR=/opt/SUNWapcy
+ SUNW_SDB_BASE_DIR=/opt/SUNWsdb
+ SUNW_PPRO_BASE_DIR=/opt/SUNWppro
+ CP=/usr/bin/cp
+ GREP=/usr/bin/grep
+ SED=/usr/bin/sed
+ NAWK=/usr/bin/nawk
+ MKDIR=/usr/bin/mkdir -p
+ MV=/usr/bin/mv
+ PKGADD=/usr/sbin/pkgadd -S -a /var/tmp/admin
+ PKGRM=/usr/sbin/pkgrm -n -a /var/tmp/admin
+ PATCHADD=/usr/sbin/patchadd
+ PATCHRM=/usr/sbin/patchrm
+ PKGPARAM=/usr/bin/pkgparam
+ PKGINFO=/usr/bin/pkginfo
+ PKGCHK=/usr/sbin/pkgchk
+ PRINT=/usr/sadm/bin/puttext
+ PRINTINDENT=/usr/sadm/bin/puttext -l 8
+ PRINTONELINE=/usr/bin/echo
+ SHOWREV=/usr/bin/showrev
+ CKYORN=/usr/bin/ckyorn -p
+ CKYORN_NOQUIT=/usr/bin/ckyorn -Q -p
+ PKGCMDARGS=
+ WRONGBUNDLEMSG=This utility needs to be run in the directory that contains the PatchPro packages. Please "cd" to that directory and try again.
+ WRONGOSMSG=The PatchPro product will only work on SunOS and this system is running SunOS .
+ WRONGUSERMSG=You must be root on this system to install this product.
+ INTROMSG=This utility will install PatchPro and all required support software. It is a wrapper around pkgadd and patchadd. It will honor your SVR4 install policies and will backout all changes if anything goes wrong.
+ SINGLEUSERMSG=Patches may be applied in support of the installation. For that reason, this utility should be run on a quiet system with no active windowing, preferrably in single user mode. If reboot is required, you will see a message at the end of the installation.
+ INTERACTMSG=This installation will preserve critical data files by executing a shell script with root permission.
+ CONTINUEQRY=Would you like to continue with the installation?
+ PPROALREADYINSTALLED1=\nThe PatchPro product is already installed. You must uninstall the PatchPro product before running this setup script. To remove the PatchPro product, run the
+ PPROALREADYINSTALLED2=script. Next, rerun this setup script to reinstall the PatchPro product.\n
+ BEGINNING=Beginning installation ...
+ SUSPENDING=Suspending installation. The filesystem has not been modified.
+ UPGRADESTMT=The currently installed version of pkg is older than the version now being installed.
+ UPGRADEQRY=Would you like to upgrade your current installation?
+ INSTALLINGPATCHES=Installing required patches...
+ INSTALLINGPKGS=Installing supporting packages...
+ INSTALLINGPPPKGS=Installing PatchPro package...
+ INSTALLINGCFGPKGS=Installing configuration package...
+ INSTALLINGSDB=Installing database module...
+ INSTALLINGAPCY=Installing policy module...
+ REMOVEJAVA=Java2 was installed along with Patchpro. Do you want to remove Java2?
+ BOGUSJAVAMSG=No Java packages were discovered but your /usr/j2se directory is populated. Please delete or move the contents of /usr/j2se and try again.
+ NOTREQUIRED=== not required
+ PATCHPROALREADYINSTALLEDMSG=PatchPro already installed.
+ ALREADYINSTALLEDMSG=== already installed
+ UPGRADINGMSG=== upgrading older version
+ NEWERINSTALLEDMSG=== installed version is newer
+ ALREADYAPPLIEDMSG=== already applied
+ OBSOLETEDMSG=== obsoleted by another patch
+ PATCHSUCCESS=== applied successfully
+ PKGSUCCESS=== installed successfully
+ REMOTEDISTMSG=While the PatchPro package is not installed, the PatchPPro files appear to be present. These could be distributed from a remote server. Check with your system administrator to determine if this really is the PatchPro package.
+ BACKOUTMSG=An error was detected. The installation has been uninstalled. Your filesystem is restored to its original state. See /var/tmp/ppro_install_log.652 for details.
+ NOTIFYLOGLOCATIONMSG=NOTE: For error and warning messages, see the log file at /var/tmp/ppro_install_log.652.
+ JAVAVERSIONMSG=The version for the Java 2 packages installed at /usr/j2se is:
+ VALIDJAVAVERSIONMSG=Java packages installed at /usr/j2se should be 1.3.0 or higher
+ UNINSTALLPATCHPROERRMSG=Cannot uninstall PatchPro from the current directory:
+ MISSINGPACKAGEMSG=This package is required:
+ APPLYPACKAGEREQUESTMSG=The missing package(s) must be applied before PatchPro can be installed.
+ WHYCONFIGDATAISNEEDEDMSG=Before you can use PatchPro it needs to be configured. You will now be asked a few questions to help us configure your PatchPro installation.
+ CONNECTIONMSG=Select the mechanism your system will use to retrieve Sun patches. PatchPro 2.2 requires that your system be connected to the Internet.\n\n \t1. Direct Internet connection.\n\t2. Via a web proxy.\n \n\nMechanism [1,2,?,q]:
+ QUESTIONMARKEXPLAIN=Select 1 or 2; or enter q to exit.
+ UNKNOWNCONNECTIONOPTION=Select 1 or 2; or enter q to exit.
+ PROXYQUESTIONMSG=Enter the name or IP address of the web proxy:
+ PROXYEMPTYSTRINGWARNING=The web proxy name or IP address cannot be empty.
+ PROXYUNKNOWNFORMATWARNING=The web proxy name you entered is not in a recognizable format.
+ PROXYNUMERICSTRINGWARNING=The web proxy name or IP address cannot be numerical.
+ PROXYPORTQUESTIONMSG=Enter the port number of the web proxy:
+ PROXYPORTEMPTYSTRINGWARNING=The web proxy port cannot be empty.
+ PROXYPORTUNKNOWNFORMATWARNING=The web proxy port you entered is not in a recognizable format.
+ PROXYPORTALPHAWARNING=The web proxy port cannot be alphabetical.
+ PROXYPORTALPHANUMERICWARNING=The web proxy port cannot be alpha-numerical.
+ AUTHPROXYQUESTIONMSG=Does the web proxy require authentication?
+ AUTHPROXYUSERQUESTIONMSG=Enter the userid for the web proxy:
+ AUTHPROXYPASSWDQUESTIONMSG=Enter the password for the web proxy:
+ AUTHPROXYPASSWDQUESTIONCONFIRMMSG=Enter the password again:
+ CONFIGSUMMARYMSG=You have entered the following configuration data:
+ NOCONFIGSUMMARYMSG=No web proxy configuration needed.
+ PROXYMSG=Web Proxy Server:
+ PROXYPORTMSG=Web Proxy Server port:
+ AUTHPROXYUSERMSG=Web Proxy user ID:
+ AUTHPROXYPASSWDMSG=Web Proxy password:
+ AUTHPROXYPASSWDNOTMATCHMSG=The passwords do not match. Try again.
+ CONFIGDATACONFIGMSG=Is this information correct?
+ UPGRADEPKGSUMMARYMSG=Packages to upgrade:
+ UPGRADEWARNINGMSG=The upgrade process will remove these existing packages:
+ UPGRADEWARNINGMSG2=An older version of PatchPro product is already installed. Use setup -f UPGRADE=true if you want to proceed with \
upgrading PatchPro non-interactively.
+ FORCEUPGRADEWARNINGMSG=This script will now proceed with installing/upgrading PatchPro without asking you for configuration information. You may need to run "/opt/SUNWppro/bin/pprosetup" to configure PatchPro before using the product. See "./README" for instructions.
+ ASKCONTINUEMSG=Do you want to continue?
+ RESTARTCIMOMMSG=For PatchPro to take effect, the Solaris WBEM Services must be restarted on your system after PatchPro is installed. \nDo you want these services restarted at that time?
+ RESTARTCIMOMTFMSG=Restart Solaris WBEM Services after PatchPro is installed.
+ NOTRESTARTCIMOMTFMSG=Do not restart Solaris WBEM Services after PatchPro is installed.
+ EXITINSTALLMSG=Exiting installation.
+ trap intrHandler INT HUP KILL TERM
+ proxy=TBD
+ proxy_port=TBD
+ proxy_user=TBD
+ proxy_passwd=TBD
+ restart_cimom=false
+ + uname -r
+ awk -F. {print $2}
+ echo 5.8
SOLARISVERSION=8
+ typeset -i uid
+ + id
+ /usr/bin/sed s/uid=\([0-9]*\)(.*/\1/
uid=0
+ (( uid != 0 ))
+ [ . = . ]
+ + pwd
PRODDIR=/void/home/mbecker/Patch_Manager/pproSunOSsparc5.8jre2.2
+ (( 8 == 6 ))
+ (( 8 >= 7 ))
+ verifyPackagesInstalled SUNWmfrun SUNWlibC SUNWadmc SUNWadmfw
+ Force=false
+ UpgradeOK=false
+ PKG_INSTALL_ROOT=
+ [ -n ]
+ ADMINFILE=/var/sadm/install/admin/default
+ + /usr/sbin/pkgchk -lp /usr/j2se
+ nawk /SUNW/
+ 2> /dev/null
j2sepkglist=SUNWj3devSUNWj3manSUNWj3rt
+ [[ -n SUNWj3devSUNWj3manSUNWj3rt]]
+ + getPkgInstance SUNWj3rt SUNWj3devSUNWj3manSUNWj3rt
pkginst=SUNWj3rt
+ [[ -n SUNWj3rt ]]
+ + /usr/bin/pkgparam SUNWj3rt VERSION
jdkver=1.4.2,REV=2003.09.16.20.27
+ + getVersionID 1.4.2,REV=2003.09.16.20.27
pkgver=1.4.2
+ [[ 1.4.2 == 1.3.0 ]]
+ [[ 1.4.2 > 1.3.0 ]]
+ [[ 1.4.2 < 1.4.0 ]]
+ [[ 1.4.2 == 1.4.0 ]]
+ [[ 1.4.2 > 1.4.0 ]]
+ SUPRTPKGLIST=SUNWsdb SUNWapcy SUNWppmn SUNWpmgr
+ (( 8 <= 8 ))
+ + /usr/sbin/pkgchk -lp /usr/share
+ nawk /SUNWjaxp/
+ 2> /dev/null
jaxppkglist=SUNWzlibSUNWzshSUNWjaxpSUNWiscrSUNWocf
+ + getPkgInstance SUNWjaxp SUNWzlibSUNWzshSUNWjaxpSUNWiscrSUNWocf
pkginst=SUNWjaxp
+ [[ ! -n SUNWjaxp ]]
+ [[ ! -d ./SUNWppro ]]
+ [[ ! -d ./SUNWppro ]]
+ [[ ! -d ./SUNWppro ]]
+ [[ ! -d ./SUNWppro ]]
+ [ false = false ]
+ TARGETOS=5.8
+ + nawk -F = /VERSION/ { n=index($2, ".");
if (n == 0) {
printf("5.%s", $2);
} else {
printf("5%s", substr($2, n));
};
}
+ 0< /var/sadm/softinfo/INST_RELEASE
ACTUALOS=5.8
+ + uname -p
ACTUALARCH=sparc
+ OSMATCH=false
+ [[ 5.8 == 5.8 ]]
+ OSMATCH=true
+ break
+ [[ true == false ]]
+ echo
+ echo
+ /usr/sadm/bin/puttext This utility will install PatchPro and all required support software. It is a wrapper around pkgadd and patchadd. It will honor your SVR4 install policies and will backout all changes if anything goes wrong.
This utility will install PatchPro and all required support
software. It is a wrapper around pkgadd and patchadd. It
will honor your SVR4 install policies and will backout all
changes if anything goes wrong.
+ echo
+ /usr/sadm/bin/puttext Patches may be applied in support of the installation. For that reason, this utility should be run on a quiet system with no active windowing, preferrably in single user mode. If reboot is required, you will see a message at the end of the installation.
Patches may be applied in support of the installation. For
that reason, this utility should be run on a quiet system
with no active windowing, preferrably in single user mode.
If reboot is required, you will see a message at the end of
the installation.
+ echo
+ /usr/sadm/bin/puttext This installation will preserve critical data files by executing a shell script with root permission.
This installation will preserve critical data files by
executing a shell script with root permission.
+ + /usr/bin/ckyorn -p Would you like to continue with the installation?
Would you like to continue with the installation? [y,n,?,q] continue_response=y
+ [ y != y -a y != yes -a y != Y -a y != Yes -a y != YES ]
+ /usr/sadm/bin/puttext
+ /usr/sadm/bin/puttext NOTE: For error and warning messages, see the log file at /var/tmp/ppro_install_log.652.
NOTE: For error and warning messages, see the log file at
/var/tmp/ppro_install_log.652.
+ ALREADYINSTALLED=
+ packagestatus SUNWppro false
+ [ true == true ]
+ /usr/sadm/bin/puttext PatchPro already installed.
PatchPro already installed.
+ exit 1