Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Adding Packages to SRT manually

Created: 04 Oct 2012 • Updated: 05 Oct 2012 | 2 comments
This issue has been solved. See solution.

Hi, Is there a way of adding packages to an already generated SRT? 

I am attempting to add in SUNWgzip package using bmrsrtadm. 

Enter your selection (1-8) [8] : 5
Allow user interaction during installation? (y/n) : y
Enter the package/fileset/patch to be added in SRT or blank to return : SUNWgzip
Enter a [hostname:]/pathname containing the SUNWgzip package image [/var/tmp/9_Recommended/116340-09] : /
[Error] V-125-696 Cannot find valid package at //SUNWgzip.
[Error] V-125-93 Error during installation - package not added.
Enter the package/fileset/patch to be added in SRT or blank to return : 116340-09
Enter a [hostname:]/pathname containing the 116340-09 patch image [/var/tmp/9_Recommended/116340-09] : 
[Error] V-125-697 Cannot find valid patch at /var/tmp/9_Recommended/116340-09/116340-09.
[Error] V-125-93 Error during installation - package not added.
Enter the package/fileset/patch to be added in SRT or blank to return : SUNWgzip
Enter a [hostname:]/pathname containing the SUNWgzip package image [/var/tmp/9_Recommended/116340-09] : 
Found and installing SUNWgzip package.
This may take time...
 
Processing package instance <SUNWgzip> from </tmp/sol8fix>
 
The GNU Zip (gzip) compression utility
(sparc) 11.9.0,REV=2002.03.02.00.35
 
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
## Executing checkinstall script.
PATCH_OVERRIDE_LIB=/usr/lib/patch/patch_override_lib
+ [ -f /usr/lib/patch/patch_override_lib -a -r /usr/lib/patch/patch_override_lib ] 
+ checkinstall_deflt /tmp/installQiaqGn/respRiaqGn 
PATH=/usr/sadm/bin:/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
NOVERS_MSG=PaTcH_MsG 8 Version 11.9.0,REV=2002.03.02.00.35 of SUNWgzip is not installed on this system.
ALRDY_MSG=PaTcH_MsG 2 Patch number 116340-09 is already applied.
TEMP_MSG=PaTcH_MsG 23 Patch number 116340-09 cannot be applied until all        restricted patches are backed out.
IDR_MSG=ERROR: IDR 116340-09 cannot be applied until all        Interim Relief/Diagnostics are backed out.
IDR_MSG2=ERROR: Restricted patch 116340-09 cannot be applied until all  Interim Relief/Diagnostics are backed out.
+ . /tmp/installQiaqGn/respRiaqGn 
+ [  != yes ] 
+ echo PaTcH_MsG 8 Version 11.9.0,REV=2002.03.02.00.35 of SUNWgzip is not installed on this system. 
PaTcH_MsG 8 Version 11.9.0,REV=2002.03.02.00.35 of SUNWgzip is not installed on this system.
+ exit 3 
checkinstall script suspends
 
Installation of <SUNWgzip> was suspended (administration).
No changes were made to the system.
ERROR: information for "SUNWgzip" was not found
[Error] V-125-201 Unable to find version of installed fileset SUNWgzip. Version will be set to Unknown.
[Error] V-125-93 Error during installation - package not added.

Comments 2 CommentsJump to latest comment

mandar_khanolkar's picture

You are not entering correct location of SUNWgzip package. i.e.

"/var/tmp/9_Recommended/116340-09"

Looks like you are providing location that contains SUNWgzip patch and not base package.

You can find base package in your solaris CD/DVD/image.

Thanks.

mandar

SOLUTION
manmountain's picture

I mounted Solaris iso image using lofiadm and installed package from directory  /Solaris9/Solaris_9/Product and it worked.

Cheers Mandar