update: patchadd/pkgadd failed for 114219-11

From: Gold Sun (goldsun8@yahoo.com.sg)
Date: Thu Apr 28 2005 - 00:51:24 EDT


Hi,
 
Received several suggestions (I appreciate it) but it's still not
resolved yet. I've inserted below replies to requests for more
information :
 
 
A)I've verified that all directories/file under the patch
    directory has world read, rerun patchadd/pkgadd &
    still got the same error. Then I issued "umask 022"
    from another suggestion & rerun again & still getting
    the same error
 
B)return status code is 5 :
   one reply asks for "echo #?" to see what's the
   status code but it always give a blank output
   & so I issued "echo $?" which gave "5" as
   follows (note: pkgadd returns "3") :
# patchadd -d /home/9mydir/patch/114219-11
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Patch 114219-11 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/114219-11/log for details
Patchadd is terminating.
# echo $?
5
 

C) Content of /var/sadm/patch/114219-11/log :
    (I've inserted in between **...** my remarks) :
Package not patched:
PKG=SUNWdtim
Original package not installed.
This appears to be an attempt to install the same
architecture and
version of a package which is already installed.
This installation
will attempt to overwrite this package.
** I believe this is because 114219-11 contains 2 **
** packages, SUNWdtim & SUNWolrte, & SUNWolrte **
** is already installed : **
** # pkginfo | grep -i Wolrte **
**system SUNWolrte OPEN LOOK toolkits runtime environment**
/home/9mydir/patch/114219-11/SUNWolrte/install/checkinstall: /home/9mydir/patch/
114219-11/SUNWolrte/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
 
 
Do I need to do "pkgrm" to remove a certain package which
may be hindering this or is it this patch is not applicable as
this box is missing some pre-requisite packages?
 
 
Thanks
G Sun

Gold Sun <goldsun8@yahoo.com.sg> wrote:
Hi,

I'm asked to patch a security vulnerability & I refer to url

http://sunsolve.sun.com/search/document.do?assetkey=1-26-57769-1&searchclause=

After downloading the normal unsigned patch from Sun website
indicated in the above url for Solaris 9, the patch could not install
(I did "sudo -s" to gain root privilege on our hardened box) :

# pkginfo | grep -i tiff
system SUNWTiff libtiff - library for reading and writing TIFF
#
# patchadd -d ./114219-11
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Patch 114219-11 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/114219-11/log for details
Patchadd is terminating.
#
#
# patchadd -d ./114219-11
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Patch 114219-11 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/114219-11/log for details
Patchadd is terminating.
# pkgadd -d ./114219-11
The following packages are available:
1 SUNWdtim Solaris CDE Image Viewer
(sparc) 1.5,REV=10.2002.03.13
2 SUNWolrte OPEN LOOK toolkits runtime environment
(sparc) 3.7.0,REV=1.2001.10.12
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance from
Solaris CDE Image Viewer
(sparc) 1.5,REV=10.2002.03.13
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
## Executing checkinstall script.
PaTcH_MsG 8 Version 1.5,REV=10.2002.03.13 of SUNWdtim is not installed on this system.
checkinstall script suspends
Installation of was suspended (administration).
No changes were made to the system.
There is 1 more package to be installed.
Do you want to continue with installation [y,n,?] y
Processing package instance from
OPEN LOOK toolkits runtime environment
(sparc) 3.7.0,REV=1.2001.10.12
Copyright 2001 Sun Microsystems, Inc. All rights reserved.
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
## Executing checkinstall script.
/home/9mydir/patch/114219-11/SUNWolrte/install/checkinstall: /home/9mydir/patch/114219-11/SUNWolrte/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Installation of failed.
No changes were made to the system.

I verify that the above patch is relevant to my system as follows :
# pkginfo | grep -i tiff
system SUNWTiff libtiff - library for reading and writing TIFF
#
# cd /usr/openwin/lib
# ls *tif*
libtiff.so libtiff.so.3

Hope I have not corrupted anything & I promise to summarize
this one.

Many thanks in advance
G Sun

Yahoo! Mobile
- Download the latest ringtones, games, and more!
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers

 Yahoo! Mobile
- Download the latest ringtones, games, and more!
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:36 EDT