[Sunhelp] Problem with pkgadd

Wayne Schmieder wschmied at CellNet.com
Fri Apr 7 16:13:22 CDT 2000


This not unusual using Netscape.  There is actually a pkunzip for Unix. 
 Using that then gunzip might be a solution. The safest way is to ftp the 
pkg's as bin, I don't think you'll have any problems after that.



-----Original Message-----
From:	Thomas Reagan [SMTP:tkr at brown.edu]
Sent:	Friday, April 07, 2000 1:21 PM
To:	sunhelp at sunhelp.org
Subject:	RE: [Sunhelp] Problem with pkgadd

I don't think that the files have been properly downloaded.  That smells
like files that aren't properly unzipped.  This has happened to me before,
and it is usually solved by re-downloading the package in question.

I would try running gunzip on them anyway, and then retrying to pkgadd.  If
that doesn't work, try downloading gzip from sunfreeware.com, and then
downloading the files without uncompressing them through Netscape.  Then 
try
and gunzip them from the command line again, and then pkgadd.

tkr

-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
Behalf Of Andreas Grewe
Sent: Friday, April 07, 2000 3:30 PM
To: SUNHELP
Subject: [Sunhelp] Problem with pkgadd


Hi,

I've downloaded several packages (e.g. joe-2_8-sol26-sparc-local.gz)
using my browser (Netscape) from sunfreeware.com. All files have been
unzipped during
download. Now I've got unzipped files with ".gz" extension.

If I try to install them, e.g. by typing

pkgadd -d joe-2_8-sol26-sparc-local.gz

I get this result:
pkgadd: ERROR: attempt to process datastream failed
        - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from
</home/spunk/joe-2_8-sol26-sparc-local.gz>

Any hints?

Greets
Andreas

P.S. This is the beginning of one of those files:

# PaCkAgE DaTaStReAm
FSFjoe 1 914
# end of header

07070100002df9000081a4000003e90000000a0000000134d244ca000000b90000002000  
0000
0300000000000000000000000f00000003FSFjoe/pkginfo
PKG=FSFjoe
NAME=joe
ARCH=Solaris 2.6
VERSION=2.8
CATEGORY=application
VENDOR=Free Software Foundation
EMAIL=gnu at PREP.AI.MIT.EDU
PSTAMP=Steve Christensen
BASEDIR=/usr/local
CLASSES=none

07070100002df8000081a4000003e90000000a0000000134d244ca000004c40000002000  
0000
0300000000000000000000000e00000003FSFjoe/pkgmap
: 1 914
1 d none bin 0755 bin bin
1 l none bin/jmacs=joe
1 f none bin/joe 0755 bin bin 220456 13689 886140786
1 l none bin/jpico=joe
1 l none bin/jstar=joe
1 l none bin/rjoe=joe
1 f none bin/termidx 0755 bin bin 4612 58896 886140786
1 d none doc.joe 0755 bin bin
1 f none doc.joe/INFO 0600 bin bin 7121 19383 886140863
1 f none doc.joe/LIST 0600 bin bin 4935 41090 886140863
1 f none doc.joe/README 0600 bin bin 10624 55 886140863
1 f none doc.joe/TODO 0600 bin bin 1178 35891 886140863
1 f none doc.joe/VERSION 0600 bin bin 4688 13793 886140863
1 f none doc.joe/copying 0600 bin bin 12488 41174 886140863
1 f none doc.joe/joe.man 0600 bin bin 48373 3567 886140863
1 d none lib 0755 bin bin
1 f none lib/jmacsrc 0644 bin bin 16344 980 886140787
1 f none lib/joerc 0644 bin bin 17169 54416 886140787
1 f none lib/jpicorc 0644 bin bin 13352 19605 886140787
1 f none lib/jstarrc 0644 bin bin 15142 8205 886140787
1 f none lib/rjoerc 0644 bin bin 16348 49271 886140787
1 f none lib/termcap 0644 bin bin 4926 24242 886140787
1 f none lib/terminfo 0644 bin bin 4668 342 886140788
1 d none man 0755 bin bin
1 d none man/man1 0755 bin bin
1 f none man/man1/joe.1 0644 bin bin 36895 464 886140787
1 i pkginfo 185 14969 886195402
070701000000000000000000000000000000000000000100000000000000000000000000  
0000
0000000000000000000000000b00000000TRAILER!!!
07070100002df9000081a4000003e90000000a0000000134d244ca000000b90000002000  
0000
0300000000000000000000000800000003pkginfo
PKG=FSFjoe
NAME=joe
ARCH=Solaris 2.6
VERSION=2.8
CATEGORY=application
VENDOR=Free Software Foundation
EMAIL=gnu at PREP.AI.MIT.EDU
PSTAMP=Steve Christensen
BASEDIR=/usr/local
CLASSES=none

07070100002df8000081a4000003e90000000a0000000134d244ca000004c40000002000  
0000
0300000000000000000000000700000003pkgmap
: 1 914
1 d none bin 0755 bin bin
1 l none bin/jmacs=joe
1 f none bin/joe 0755 bin bin 220456 13689 886140786
1 l none bin/jpico=joe
1 l none bin/jstar=joe
1 l none bin/rjoe=joe
1 f none bin/termidx 0755 bin bin 4612 58896 886140786

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp





More information about the SunHELP mailing list