Mantis - libgnomecanvas2_0
Viewing Issue Advanced Details
314 packaging block always 2004-03-20 18:19 2005-06-17 19:39
mila  
michael  
normal  
closed  
no change required  
none    
none  
0000314: - bad format in datastream table-of-contents
HI,
Can\'t install on S9/sparc due to bad

/michael
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg>
ba
Issue History

Notes
(0000415)
michael   
2004-03-20 19:43   
More likely yopur download is corrupt, your mirror is broken or you are not up to date with pkgadd-patches. I just reinstalled libgnomecanvas on a sparc machine, and it went through without a problem.
An md5sum of the working package:
87ed36e3682e0db3bacb6e56e86eb74f libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz

Which Solaris-Version do you use, and what is your latest pkgadd-patch-version?
(0000416)
michael   
2004-03-20 19:45   
Did you gunzip the file you downloaded, or did your browser simply cut off the .gz-ending? I can \"reproduce\" your problem, when trying to pkgadd the gzipped package-file.

Please try renaming the file to libgnomecanvas.gz, run gunzip on it and then pkgadd. If this succeeds, something is messing with the filenames you download.
(0000418)
mila   
2004-03-21 07:49   
HI,

Thanks for prompt reply.

I have tried to download via wget, it gzip -d fine so there must be something wrong in the package or?

See below for my attemt.


----------------
bash-2.05# /opt/csw/bin/pkg-get -U
Getting catalog...
--13:45:07-- http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/catalog [^]
           => `catalog\'
Resolving ibiblio.org... 152.2.210.81
Connecting to ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 53,825 [text/plain]

100%[====================================>] 53,825 40.90K/s

13:45:09 (40.81 KB/s) - `catalog\' saved [53825/53825]

gpg: Signature made Sun Mar 21 07:14:47 2004 CET using DSA key ID E12E9D2F
gpg: Good signature from \"Distribution Manager <dm@blastwave.org>\"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 0BF0 9891 9340 86DC EBE3 DDFF 06A1 ED1B E12E 9D2F
Updating catalog file
/var/pkg-get/catalog-ibiblio.org updated

--13:45:11-- http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/descriptions [^]
           => `descriptions\'
Resolving ibiblio.org... 152.2.210.81
Connecting to ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23,375 [text/plain]

100%[====================================>] 23,375 39.25K/s

13:45:12 (39.15 KB/s) - `descriptions\' saved [23375/23375]

Updated description file
bash-2.05# /opt/csw/bin/pkg-get -i libgnomecanvas
No existing install of CSWlibgnomecanvas found. Installing...
Trying http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz [^]
--13:45:27-- http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz [^]
           => `libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz\'
Resolving ibiblio.org... 152.2.210.81
Connecting to ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 471,925 [text/plain]

100%[====================================>] 471,925 58.23K/s ETA 00:00

13:45:37 (48.78 KB/s) - `libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz\' saved [471925/471925]

install/depend
3468 blocks
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </var/run/pkg-get.27530/libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz>
ERROR: could not add CSWlibgnomecanvas.
bash-2.05# uname -a
SunOS montreal 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-1

-------------------

/michael
(0000419)
michael   
2004-03-21 13:54   
Just removed the package again and installed it from ibiblio:
sauron [~]# pkg-get -i libgnomecanvas
No existing install of CSWlibgnomecanvas found. Installing...
Trying http://ibiblio.org/pub/packages/solaris/csw/unstable//sparc/5.9/libgnomec [^]
anvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz
--19:44:04-- http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/lib [^]
gnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz
           => `libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz\'
Resolving ibiblio.org... 152.2.210.81
Connecting to ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 471,925 [text/plain]

100%[====================================>] 471,925 41.86K/s ETA 00:00

19:44:18 (43.59 KB/s) - `libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.
pkg.gz\' saved [471925/471925]

install/depend
3468 blocks

Processing package instance <CSWlibgnomecanvas> from </var/run/pkg-get.567/libgn
omecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz>

libgnomecanvas - Gnome2 Canvas Lib
(sparc) 2.4.0,REV=2004.03.14
...

Please try the following:
wget http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz [^]
gunzip libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz
pkgadd -d libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg

Does this work?
(0000420)
mila   
2004-03-21 14:10   
HI,

Nope, I have since friday installed and upgraded all my CSW packages at home but when I after completing the upgrade I tried installing evolution so thats the background.


It still does not work. see below!

You where previous talking about patched pkg*, did you mean Solaris pkg* tools or Blastwave pkg-get?

The server I am installing on is a unpatches S9 04/03, are there some know bugs like to long filename using \',\' or simular that you know of from Sun?

/michael


--------------
bash-2.05# wget http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz [^]
--20:01:03-- http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz [^]
           => `libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz\'
Resolving ibiblio.org... done.
Connecting to ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 471,925 [text/plain]

100%[====================================>] 471,925 32.92K/s ETA 00:00

20:01:17 (32.92 KB/s) - `libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz\' saved [471925/471925]

bash-2.05# gunzip libgnomecanvas-2.4.0,REV\\=2004.03.14-SunOS5.8-sparc-CSW.pkg.gz
gunzip: libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg already exists; do you wish to overwrite (y or n)? y
bash-2.05# pkgadd -d libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg>


/mila
(0000421)
michael   
2004-03-21 14:17   
Just found the patch:
sauron [~]> showrev -p | grep \'Patch: 113713\' | tail -1
Patch: 113713-12 Obsoletes: 114462-01, 115520-01, 115555-01 Requires: Incompatibles: Packages: SUNWcsu
sauron [~]> uname -a
SunOS sauron 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-30

So try updating to 113713-12:
http://sunsolve.sun.com/private-cgi/retrieve.pl?doc=fpatches%2F113713 [^]
(0000422)
michael   
2004-03-21 14:23   
Ups, use this URL if you have no sunsolve-login:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fpatches%2F113713 [^]
(0000423)
mila   
2004-03-21 14:31   
:))

Well I lift my hat to you and the others that make Blastwave shine!


cheers

Michael


bash-2.05# patchadd -d 113713-12

Checking installed patches...
Executing prepatch script...
Modifying pkginfo files...
Modifying backout packages...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch number 113713-12 has been successfully installed.
See /var/sadm/patch/113713-12/log for details
Executing postpatch script...
Modifying pkginfo files...
Modifying backout packages...

Patch packages installed:
  SUNWcsu

bash-2.05# pkgadd -d libgnomecanvas-2.4.0,REV=2004.03.14-SunOS5.8-sparc-CSW.pkg
The following packages are available:
  1 CSWlibgnomecanvas libgnomecanvas - Gnome2 Canvas Lib
                           (sparc) 2.4.0,REV=2004.03.14

Select package(s) you wish to process (or \'all\' to process
all packages). (default: all) [?,??,q]:

Processing package instance <CSWlibgnomecanvas> from </libgnomecanvas-2.4.0,REV=

[ verifying class <none> ]


<snip>

Installation of <CSWlibgnomecanvas> was successful.