[csw-users] Solaris 9 pkgadd cswclassutils-1.30... fails

Wyche, George PW George.Wyche at pw.utc.com
Tue Mar 9 22:25:09 CET 2010


Solaris 9 pkgadd fails on
cswclassutils-1.30,REV=2009.11.21-SunOS5.8-all-CSW.pkg.gz (after
gunzip).

What am I to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I have begun using openCSW on a Solaris 9 box.
I successfully installed 14 basic CSW packages with pkg-util -i.
When I came to cswclassutils-1.30... the error is

pkg-get -i cswclassutils
WARNING: gpg not found
No existing install of CSWcswclassutils found. Installing...
Trying
[snip]sparc/5.9/cswclassutils-1.30,REV=2009.11.21-SunOS5.8-all-CSW.pkg.g
z
Analysing special files...
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from
</var/pkg-get/downloads/cswclassutils-1.30,REV=2009.11.21-SunOS5.8-all-C
SW.pkg.gz.tmp>
ERROR: could not add CSWcswclassutils.

I tried doing the pkgadd by hand:
 gunzip -c _above_.pkg.gz > _above_.gz.tmp
 pkgadd -d _above_.pkg.gz.tmp

Same error. I feel that I must conclude that for this Solaris 9 pkgadd,
there is definitely something wrong.
The gmd5sum was correct. This same package works with my Solaris 8
boxes.

Hunting around the internet there were some pkgadd complaints with
workarounds. I tried a couple, but they failed with the same message;
e.g.  pkgtrans  _above_.pkg  _a_directory.

I can still add packages as long as they don't depend on cswclassutils,
but ...

ggw


More information about the users mailing list