Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems installing CWSggettext-data on Solaris 9

121 views
Skip to first unread message

Jonathan Schilling

unread,
Apr 29, 2013, 2:51:24 PM4/29/13
to
Hi everybody,

for quite some time I've had an old Ultra-1 collecting dust.
Today I decided that it was the day to end this suffering ;-)

So I started installing software from the OpenCWS collection
but struggled with the following package:

ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz

By the way, pkgutil installed fine using pkgadd and even synced
with a chosen mirror.

What I've tried several times since now:

gunzip ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz
pkgadd -d ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg

The last command above fails with the message:

"pkgadd: ERROR: attempt to process datastream failed
- bad format in datastream table-of-contents"

I've also tried above with shortened filenames, putting
the .pkg file into /tmp and installing from there, absolute
vs. relative paths, etc.

Is there anybody who also has (had ?) these problems and knows a clue?

Thanks,
Jonathan

hume.sp...@bofh.ca

unread,
Apr 29, 2013, 6:07:46 PM4/29/13
to
Jonathan Schilling <schilling...@gmail.com> wrote:
> gunzip ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz
> pkgadd -d ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg

What does 'file ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg'
tell you?

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/

Jonathan Schilling

unread,
Apr 30, 2013, 2:12:09 AM4/30/13
to
> What does 'file ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg'
> tell you?

It tells me that the file is "English Text".
The header of the un-gziped file contains "PaCkAgE dAtAStReAm",
so I think it extracted fine.

By the way, the file I have problems with comes from the "testing"
distribution.

I now installed the needed (vim, gftp, etc.) from "legacy" which works
fine but I'd still like to know why "testing" failed.

Is there anybody who could verify my findings by downloading and trying
to install that package?

Thanks,
Jonathan

Gary R. Schmidt

unread,
Apr 30, 2013, 3:40:24 AM4/30/13
to
What happens if you use the "pgkutil" from OpenCSW to install the package?

Cheers,
Gary B-)

--
When men talk to their friends, they insult each other.
They don't really mean it.
When women talk to their friends, they compliment each other.
They don't mean it either.

Markus Sonnenberg

unread,
Apr 30, 2013, 7:09:46 AM4/30/13
to
why downloading? what do you get for
"/opt/csw/bin/pkgutil -i -y CSWggettext" ?

regards
markus

ct,
--
Das Abspringen einer Begrenzungsmauer dient nicht dem direkten
Zur�cklegen des Arbeitsweges.
http://www.rz-amper.de

Jonathan Schilling

unread,
Apr 30, 2013, 7:39:10 AM4/30/13
to
Hi there,

I appended the output of two commands, namely
/opt/csw/bin/pkgutil -i -y CSWggettext and
/opt/csw/bin/pkgutil -V

I should say that I added /opt/csw/bin to $PATH according
to http://www.opencsw.org/manual/for-administrators/getting-started.html

Thanks,
Jonathan
ggettext_data_error.txt

hume.sp...@bofh.ca

unread,
Apr 30, 2013, 9:22:13 AM4/30/13
to
Jonathan Schilling <schilling...@gmail.com> wrote:
> It tells me that the file is "English Text".
> The header of the un-gziped file contains "PaCkAgE dAtAStReAm",
> so I think it extracted fine.

That's quite odd.

It might be worthwhile to install the MD5/GPG packages (assuming they install
correctly) so that you can turn package verification on. It's possible the
package is mangled on the mirror you're using.

Jonathan Schilling

unread,
Apr 30, 2013, 1:58:24 PM4/30/13
to
> That's quite odd.
>
> It might be worthwhile to install the MD5/GPG packages (assuming they install
> correctly) so that you can turn package verification on. It's possible the
> package is mangled on the mirror you're using.
>

That's also what I thought of. Sadly CSWcoreutils also need gettext,
and while trying to install CSWgnupg, I encountered the same error
(error in datastream table-of-contents) with the CSWcas-preserveconf
package.

I have also already switched back and forth to other mirrors,
e.g. the main mirror (mirror=http://mirror.opencsw.org/opencsw/testing)
and some random others.

Is there anybody who could verify my problems?
If it's just a problem with my Sun, I could try to reinstall Solaris on
it, but if there is something wrong with the mirror(s), someone should
definetly take care of that.

Thanks,
Jonathan


Gary R. Schmidt

unread,
Apr 30, 2013, 9:40:19 PM4/30/13
to
Have you tried pulling from a different branch?

Testing, or Dublin, or Kiel, rather than Stable or Unstable?

Jonathan Schilling

unread,
May 1, 2013, 5:30:32 AM5/1/13
to
>> I have also already switched back and forth to other mirrors,
>> e.g. the main mirror (mirror=http://mirror.opencsw.org/opencsw/testing)
>> and some random others.
>>
>
> Have you tried pulling from a different branch?
>
> Testing, or Dublin, or Kiel, rather than Stable or Unstable?

Hi Gary,

as I stated above, I've already looked into testing.
The problem is that ggettext_data is the same version in
testing, dublin, kiel and unstable. stable is not available
on the main (or any other) mirror
(http://mirror.opencsw.org/opencsw/stable/), so I couldn't test that.

legacy was the only branch not containing that broken version
of gettext, so as I switched to legacy, I was able to install vim,
gftp, etc. which I needed.

But this still doesn't explain why the newer packages seem to be broken...

Best regards,
Jonathan

hume.sp...@bofh.ca

unread,
May 1, 2013, 9:45:34 AM5/1/13
to
Jonathan Schilling <schilling...@gmail.com> wrote:
> But this still doesn't explain why the newer packages seem to be broken...

I'm not in a position to actually try a pkgadd. But I was able to download
the file from http://mirror.opencsw.org/opencsw/testing/sparc/5.9/ggettext_data-0.18.1.1%2cp%2cREV%3d2011.03.15-SunOS5.9-all-CSW.pkg.gz

/tmp$ openssl md5 ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz
MD5(ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz)= 81cec1db034bdc0da2543bc68c6a82d9

It unzips fine...

/tmp$ openssl md5 ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg
MD5(ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg)= a8359270233aea27a69f6bafaa1f1877

And I can pkgtrans it to spool format without any gripes:

/tmp$ pkgtrans ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg /tmp CSWggettext-data
Transferring <CSWggettext-data> package instance
/tmp$


I don't think you've said what version of Solaris you're using. My tests
are on Solaris 11.

Jonathan Schilling

unread,
May 1, 2013, 11:54:29 AM5/1/13
to
> I'm not in a position to actually try a pkgadd. But I was able to download
> the file from http://mirror.opencsw.org/opencsw/testing/sparc/5.9/ggettext_data-0.18.1.1%2cp%2cREV%3d2011.03.15-SunOS5.9-all-CSW.pkg.gz
>
> /tmp$ openssl md5 ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz
> MD5(ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg.gz)= 81cec1db034bdc0da2543bc68c6a82d9
>
> It unzips fine...
>
> /tmp$ openssl md5 ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg
> MD5(ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg)= a8359270233aea27a69f6bafaa1f1877
>
> And I can pkgtrans it to spool format without any gripes:
>
> /tmp$ pkgtrans ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg /tmp CSWggettext-data
> Transferring <CSWggettext-data> package instance
> /tmp$
>
>
> I don't think you've said what version of Solaris you're using. My tests
> are on Solaris 11.
>

Thanks for your effords.

I've just installed openssl from the legacy distribution (testing
version is also not working... several other table-of-contents errors)
and was able to confirm your findings above, except fo pkgtrans which
fails over here. Maybe the installation system (pkg* programs) on my
system are broken... But why is it then possible to install the legacy
programs? :confused:

btw: I'm using Solaris 9 like it says in the subject of this thread.

Best regards,
Jonathan

John D Groenveld

unread,
May 1, 2013, 3:02:45 PM5/1/13
to
In article <klrdr6$nl5$1...@ulric.tng.de>,
Jonathan Schilling <schilling...@gmail.com> wrote:
>btw: I'm using Solaris 9 like it says in the subject of this thread.

$ uname -v
$ pkginfo -l SUNWpkgcmdsu

John
groe...@acm.org

Jonathan Schilling

unread,
May 3, 2013, 9:13:44 AM5/3/13
to
Hi John,

I got:

# uname -v
Generic_112233-03
# pkginfo -l SUNWpkgcmdsu
gives me an error, because the named package is not installed on my
system. I also couldn't find it on my installation CD-ROMs.

I think the package installation/removal/etc. utilities are integrated
into Solaris 9 and that SUNWpkgcmdsu was created along with Solaris 10
to allow other package managers in lieu of Sun's own one... ?

BTW: The Sun's harddisk gave me errors today at booting, but these could
be fixed by fsck. Has anybody the md5sum of his/her copy of
the pkgadd utility? Mine is:
MD5(/usr/sbin/pkgadd)= b6b5128070df96d7ed74b148c9b48002

Best regards,
Jonathan

John D Groenveld

unread,
May 3, 2013, 11:20:10 AM5/3/13
to
In article <km0d5p$4m6$1...@ulric.tng.de>,
Jonathan Schilling <schilling...@gmail.com> wrote:
># uname -v
>Generic_112233-03

112233-12 was the last.

># pkginfo -l SUNWpkgcmdsu
>gives me an error, because the named package is not installed on my
>system. I also couldn't find it on my installation CD-ROMs.

Part of a different package in S9.
See pkgchk(1M)
# pkgchk -l -p /usr/sbin/pkgadd

I would not be shocked if you've stumbled over an old bug in
the pkgadd and its dependencies which is preventing you from
adding your package.
The 9_Recommended cluster includes several fixes:
117480-01 SunOS 5.9: pkgadd Patch
117123-10 SunOS 5.9: wanboot and pkg utilities Patch

John
groe...@acm.org

Casper H.S. Dik

unread,
May 7, 2013, 7:11:06 AM5/7/13
to
Jonathan Schilling <schilling...@gmail.com> writes:

>BTW: The Sun's harddisk gave me errors today at booting, but these could
>be fixed by fsck. Has anybody the md5sum of his/her copy of
>the pkgadd utility? Mine is:
>MD5(/usr/sbin/pkgadd)= b6b5128070df96d7ed74b148c9b48002

It's from

b6b5128070df96d7ed74b148c9b48002: found 1 match(es).
Canonical path: "/usr/sbin/pkgadd"
pkg="SUNWcsu", version="11.9.0,REV=2002.04.06.15.27", arch="sparc"
from "Solaris 9/SPARC"


pkgadd is part of SUNWcsu in Solaris 9 and it was later moved to a different
package.

Casper

cpaolini

unread,
Feb 3, 2014, 1:03:44 AM2/3/14
to
Set:

mirror=http://mirror.opencsw.org/opencsw/legacy

in /etc/opt/csw/pkgutil.conf

and then use pkgutil to install gettext as normal.


0 new messages