Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confused by pkgadd error

Status
Not open for further replies.

alaincl

Programmer
May 13, 2008
4
US
hi all

As discussed in the thread :
thread60-1233725
I have the problem with pkgadd, i have some old sun4u sparc SUNW,Ultra-5_10 and I need to install some new package, unfortunatly, pkgadd does not work (as described in the thread below;
i Installed the patches(or earlier):
112396-02 SunOS 5.8: /usr/bin/fgrep patch
111111-04 SunOS 5.8: /usr/bin/nawk patch
110662-20 SunOS 5.8: ksh patch
110380-06 SunOS 5.8: ufssnapshots support, libadm patch
110934-24 SunOS 5.8: package utilities patch
108987-17 SunOS 5.8: Patch for patchadd and patchrm
and it still does not work

before the patch:
pkgadd -s /tmp/essai_inst_clear -d . CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: unable to complete package transfer
- no packages were selected from </tmp>

after the patch:
pkgadd -d . CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: no packages were found in </tmp>

# pkgadd . CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: no packages were found in </var/spool/pkg>

I am not an unix expert
can somebody help me to install (if possible) the minimum patches
Regards
 
Remove the . :)

Try: pkgadd -s /tmp/essai_inst_clear -d . CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
 
thanks for your answer GunnarD
I tried like you said without success

pkgadd -s /tmp/essai_inst_clear -d . CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: unable to complete package transfer
- no packages were selected from </tmp>

pkgadd CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: no packages were found in </var/spool/pkg>

pkgadd /tmp CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: no packages were found in </var/spool/pkg>

pkgadd -d /tmp CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: no packages were found in </tmp>


ls
CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg ps_data
CClearcase-7.0.1.1-20080221.1-SunOS5.8-sparc.pkg psb_back_socket
essai_inst_clear psb_front_socket
get_codetech.tmp rsync_Lib_central.log


pwd
/tmp

Alain
 
I tried another thing

I put the package in the /var/spool/pkg directory
and then i have a better answer

cd /var/spool/pkg
ln -s /tmp/CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
bclt61# pwd
/var/spool/pkg
ls
CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd -s /tmp/essai_inst_clear CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
pkgadd: ERROR: unable to complete package transfer
- no packages were selected from </var/spool/pkg>
pkgadd -s /tmp/essai_inst_clear -d CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg

The following packages are available:
1 CClearcase clearcase
(sparc) 6.00.52-20080211.1

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Transferring <CClearcase> package instance

can somebody explain that?
thanks
 
Hi Spamly

I used the patchadd to add the patches but not for the packages
 
You should use:

pkgadd -d CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top