<div dir="ltr">A big thanks to Peter and all who responded to my problem. I applied patch 113713-29 (downloaded from <a href="http://support.oracle.com">support.oracle.com</a>) and it fixed the pkgadd issue!! preservconf was able to be installed, as was puppet agent.<div>
<br>Thanks again!</div><div>Dan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 3:04 AM, <span dir="ltr"><<a href="mailto:users-request@lists.opencsw.org" target="_blank">users-request@lists.opencsw.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send users mailing list submissions to<br>
<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.opencsw.org/mailman/listinfo/users" target="_blank">https://lists.opencsw.org/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:users-request@lists.opencsw.org">users-request@lists.opencsw.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:users-owner@lists.opencsw.org">users-owner@lists.opencsw.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: solaris 9 puppet (Daniel Eather)<br>
2. Re: solaris 9 puppet (Peter Bonivart)<br>
3. Re: solaris 9 puppet (Daniel Eather)<br>
4. Re: solaris 9 puppet (Peter Bonivart)<br>
5. Re: solaris 9 puppet (Dagobert Michelsen)<br>
6. Re: solaris 9 puppet (Peter Bonivart)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 5 Mar 2014 01:02:24 +0000 (UTC)<br>
From: Daniel Eather <<a href="mailto:daniel.eather@gmail.com">daniel.eather@gmail.com</a>><br>
To: <a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a><br>
Subject: Re: solaris 9 puppet<br>
Message-ID: <<a href="mailto:loom.20140305T020105-47@post.gmane.org">loom.20140305T020105-47@post.gmane.org</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Peter Bonivart <bonivart@...> writes:<br>
<br>
><br>
> On Mon, Feb 17, 2014 at 12:13 AM, Maciej (Matchek) Blizi?ski<br>
> <maciej@...> wrote:<br>
> ><br>
> > 2014-02-16 22:50 GMT+00:00 Daniel Eather <dan@...>:<br>
> > ><br>
> > > I've tried removing all the packages and pkgutil downloads them again,<br>
but i get the same error. I've<br>
> tried this on a few different SPARC Solaris 9 machines, and all fail at<br>
the same spot.<br>
> > ><br>
> > > Any ideas?<br>
> ><br>
> > At first guess it's a file transfer error. Have you enabled md5 checks<br>
> > in pkgutil.conf? Look if the downloaded file's checksum matches the<br>
> > one in the catalog file.<br>
> ><br>
> > <a href="http://mirror.opencsw.org/opencsw/unstable/sparc/5.9/catalog" target="_blank">http://mirror.opencsw.org/opencsw/unstable/sparc/5.9/catalog</a><br>
><br>
> Looks like he's using the testing repo but I verified that I could<br>
> download and install from<br>
> <a href="http://mirror.opencsw.org/opencsw/testing/sparc/5.9/cas_preserveconf-
1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg.gz" target="_blank">http://mirror.opencsw.org/opencsw/testing/sparc/5.9/cas_preserveconf-<br>
1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg.gz</a>,<br>
> it also matched the md5 hash from that catalog, should be<br>
> 61512a0082a457ec805949cdd97140b9.<br>
><br>
> Daniel, what mirror are you using? Can you give us the output of<br>
> "pkgutil --catinfo"? Can you verify that your downloaded packages are<br>
> non-zero size and have matching md5 hashes from the catalog?<br>
><br>
> /peter<br>
><br>
><br>
<br>
Hi,<br>
<br>
I downloaded just that package, and the checksum matches yours...however<br>
when I even try to pkgadd it manually I get the same datastream error:<br>
<br>
# digest -a md5 cas_preserveconf-1.42\,REV\=2010.11.26-SunOS5.9-all-<br>
CSW.pkg.gz<br>
61512a0082a457ec805949cdd97140b9<br>
<br>
# pkgadd -d cas_preserveconf-1.42,REV\=2010.11.26-SunOS5.9-all-CSW.pkg<br>
pkgadd: ERROR: attempt to process datastream failed<br>
- bad format in datastream table-of-contents<br>
pkgadd: ERROR: could not process datastream from </tmp/cas_preserveconf-<br>
1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg><br>
<br>
Any ideas what to check here? I'm struggling to install puppet without<br>
opencsw :(<br>
<br>
Thanks again,<br>
Dan<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 5 Mar 2014 09:35:37 +0100<br>
From: Peter Bonivart <<a href="mailto:bonivart@opencsw.org">bonivart@opencsw.org</a>><br>
To: Questions and discussions <<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a>><br>
Subject: Re: solaris 9 puppet<br>
Message-ID:<br>
<<a href="mailto:CABY0g1Uv7MDabinoSd0GdL7-kFJCNfnokgxV%2B4K5k8J1tSht5w@mail.gmail.com">CABY0g1Uv7MDabinoSd0GdL7-kFJCNfnokgxV+4K5k8J1tSht5w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Wed, Mar 5, 2014 at 2:02 AM, Daniel Eather <<a href="mailto:daniel.eather@gmail.com">daniel.eather@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I downloaded just that package, and the checksum matches yours...however<br>
> when I even try to pkgadd it manually I get the same datastream error:<br>
><br>
> # digest -a md5 cas_preserveconf-1.42\,REV\=2010.11.26-SunOS5.9-all-<br>
> CSW.pkg.gz<br>
> 61512a0082a457ec805949cdd97140b9<br>
><br>
> # pkgadd -d cas_preserveconf-1.42,REV\=2010.11.26-SunOS5.9-all-CSW.pkg<br>
> pkgadd: ERROR: attempt to process datastream failed<br>
> - bad format in datastream table-of-contents<br>
> pkgadd: ERROR: could not process datastream from </tmp/cas_preserveconf-<br>
> 1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg><br>
><br>
> Any ideas what to check here? I'm struggling to install puppet without<br>
> opencsw :(<br>
<br>
Just to make sure, what's the MD5 for the unpacked file? Mine is<br>
dc9a832eb039a4c5538c0fc468c4c521 and it installs fine. Could you post<br>
the output of "pkgutil -V" please?<br>
<br>
/peter<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 5 Mar 2014 10:56:03 +0000 (UTC)<br>
From: Daniel Eather <<a href="mailto:daniel.eather@gmail.com">daniel.eather@gmail.com</a>><br>
To: <a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a><br>
Subject: Re: solaris 9 puppet<br>
Message-ID: <<a href="mailto:loom.20140305T115316-769@post.gmane.org">loom.20140305T115316-769@post.gmane.org</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Peter Bonivart <bonivart@...> writes:<br>
<br>
><br>
> On Wed, Mar 5, 2014 at 2:02 AM, Daniel Eather<br>
> <daniel.eather@...> wrote:<br>
> > Hi,<br>
> ><br>
> > I downloaded just that package, and the checksum matches yours...however<br>
> > when I even try to pkgadd it manually I get the same datastream error:<br>
> ><br>
> > # digest -a md5 cas_preserveconf-1.42\,REV\=2010.11.26-SunOS5.9-all-<br>
> > CSW.pkg.gz<br>
> > 61512a0082a457ec805949cdd97140b9<br>
> ><br>
> > # pkgadd -d cas_preserveconf-1.42,REV\=2010.11.26-SunOS5.9-all-CSW.pkg<br>
> > pkgadd: ERROR: attempt to process datastream failed<br>
> > - bad format in datastream table-of-contents<br>
> > pkgadd: ERROR: could not process datastream from </tmp/cas_preserveconf-<br>
> > 1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg><br>
> ><br>
> > Any ideas what to check here? I'm struggling to install puppet without<br>
> > opencsw :(<br>
><br>
> Just to make sure, what's the MD5 for the unpacked file? Mine is<br>
> dc9a832eb039a4c5538c0fc468c4c521 and it installs fine. Could you post<br>
> the output of "pkgutil -V" please?<br>
><br>
> /peter<br>
><br>
><br>
<br>
Hi Peter,<br>
<br>
I really appreciate you taking the time to respond to my query.<br>
<br>
I can confirm the md5 hash of the unpacked pkg matches yours:<br>
<br>
# digest -a md5 cas_preserveconf-1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg<br>
dc9a832eb039a4c5538c0fc468c4c521<br>
<br>
<br>
I also tried your suggestion of using the unstable repo inplace of the<br>
testing. Below is the output from pkgutil -V:<br>
<br>
# /opt/csw/bin/pkgutil -V<br>
- System -<br>
Pkgutil 2.6.6<br>
Arch sparc<br>
Solaris 5.9<br>
Pkg patch 113713 (not found)<br>
GPG binary not found (suggestion: install CSWgnupg)<br>
Gzip binary /bin/gzip<br>
Mailx binary /bin/mailx<br>
MD5 binary not found (suggestion: install CSWcoreutils)<br>
MD5 module not found<br>
Perl 5.006001<br>
Perl binary /bin/perl<br>
Wget binary /usr/local/bin/wget<br>
PATH /usr/sbin:/bin:/usr/bin:/opt/csw/bin<br>
<br>
- Configuration -<br>
catalog_not_cached true (default: true)<br>
catalog_update 14 (default: 14)<br>
deptree_filter_common false (default: false)<br>
exclude_pattern not set (default: none)<br>
gpg_homedir not set (default: none)<br>
maxpkglist 100000 (default: 10000)<br>
mirror <a href="http://mirror.opencsw.org/opencsw/unstable" target="_blank">http://mirror.opencsw.org/opencsw/unstable</a><br>
(default: <a href="http://mirror.opencsw.org/opencsw/testing" target="_blank">http://mirror.opencsw.org/opencsw/testing</a>)<br>
noncsw false (default: false)<br>
pkgaddopts not set (default: none)<br>
pkgliststyle 2 (default: 0)<br>
pkgrmopts not set (default: none)<br>
root_path not set (default: /)<br>
show_current true (default: true)<br>
stop_on_hook_soft_error not set (default: false)<br>
use_gpg false (default: false)<br>
use_md5 false (default: false)<br>
wgetopts not set (default: none)<br>
<br>
Thanks again,<br>
Dan<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 5 Mar 2014 13:06:29 +0100<br>
From: Peter Bonivart <<a href="mailto:bonivart@opencsw.org">bonivart@opencsw.org</a>><br>
To: Questions and discussions <<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a>><br>
Subject: Re: solaris 9 puppet<br>
Message-ID:<br>
<<a href="mailto:CABY0g1UooDMAnwP3%2B4RGKJowWoSn5hKbBt5VrOeohSoyMswNPg@mail.gmail.com">CABY0g1UooDMAnwP3+4RGKJowWoSn5hKbBt5VrOeohSoyMswNPg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Wed, Mar 5, 2014 at 11:56 AM, Daniel Eather <<a href="mailto:daniel.eather@gmail.com">daniel.eather@gmail.com</a>> wrote:<br>
> # /opt/csw/bin/pkgutil -V<br>
> - System -<br>
> Pkgutil 2.6.6<br>
> Arch sparc<br>
> Solaris 5.9<br>
> Pkg patch 113713 (not found)<br>
<br>
Apply latest revision of patch 113713, there's known issues with the<br>
pkg commands without it.<br>
<br>
/peter<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 5 Mar 2014 13:27:30 +0100<br>
From: Dagobert Michelsen <<a href="mailto:dam@opencsw.org">dam@opencsw.org</a>><br>
To: Questions and discussions <<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a>><br>
Subject: Re: solaris 9 puppet<br>
Message-ID: <<a href="mailto:CD50AD65-DBF7-4C18-AA05-DA3AAF547970@opencsw.org">CD50AD65-DBF7-4C18-AA05-DA3AAF547970@opencsw.org</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hi Daniel,<br>
<br>
Am 05.03.2014 um 11:56 schrieb Daniel Eather <<a href="mailto:daniel.eather@gmail.com">daniel.eather@gmail.com</a>>:<br>
> Peter Bonivart <bonivart@...> writes:<br>
><br>
>> On Wed, Mar 5, 2014 at 2:02 AM, Daniel Eather<br>
>> <daniel.eather@...> wrote:<br>
>>> Hi,<br>
>>><br>
>>> I downloaded just that package, and the checksum matches yours...however<br>
>>> when I even try to pkgadd it manually I get the same datastream error:<br>
>>><br>
>>> # digest -a md5 cas_preserveconf-1.42\,REV\=2010.11.26-SunOS5.9-all-<br>
>>> CSW.pkg.gz<br>
>>> 61512a0082a457ec805949cdd97140b9<br>
>>><br>
>>> # pkgadd -d cas_preserveconf-1.42,REV\=2010.11.26-SunOS5.9-all-CSW.pkg<br>
>>> pkgadd: ERROR: attempt to process datastream failed<br>
>>> - bad format in datastream table-of-contents<br>
>>> pkgadd: ERROR: could not process datastream from </tmp/cas_preserveconf-<br>
>>> 1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg><br>
>>><br>
>>> Any ideas what to check here? I'm struggling to install puppet without<br>
>>> opencsw :(<br>
>><br>
>> Just to make sure, what's the MD5 for the unpacked file? Mine is<br>
>> dc9a832eb039a4c5538c0fc468c4c521 and it installs fine. Could you post<br>
>> the output of "pkgutil -V" please?<br>
><br>
> Hi Peter,<br>
><br>
> I really appreciate you taking the time to respond to my query.<br>
><br>
> I can confirm the md5 hash of the unpacked pkg matches yours:<br>
><br>
> # digest -a md5 cas_preserveconf-1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg<br>
> dc9a832eb039a4c5538c0fc468c4c521<br>
<br>
I also suggest to verify that LD_LIBRARY_PATH is *not* set. I had a case some time<br>
ago preventing an installation where libxml2 was pulled in for pkgadd from some<br>
other location breaking the addition with very strange error messages.<br>
<br>
@Peter: May I suggest adding LD_LIBRARY_PATH as output to pkgutil -V?<br>
<br>
<br>
Best regards<br>
<br>
? Dago<br>
<br>
--<br>
"You don't become great by trying to be great, you become great by wanting to do something,<br>
and then doing it so hard that you become great in the process." - xkcd #896<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: smime.p7s<br>
Type: application/pkcs7-signature<br>
Size: 2418 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.opencsw.org/pipermail/users/attachments/20140305/eb0de3c9/attachment-0001.p7s" target="_blank">http://lists.opencsw.org/pipermail/users/attachments/20140305/eb0de3c9/attachment-0001.p7s</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 5 Mar 2014 18:03:19 +0100<br>
From: Peter Bonivart <<a href="mailto:bonivart@opencsw.org">bonivart@opencsw.org</a>><br>
To: Questions and discussions <<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a>><br>
Subject: Re: solaris 9 puppet<br>
Message-ID:<br>
<<a href="mailto:CABY0g1V-CmUxctxzYFVK3sMBeCLRhY2uHmTKU1sDYjOif1odRg@mail.gmail.com">CABY0g1V-CmUxctxzYFVK3sMBeCLRhY2uHmTKU1sDYjOif1odRg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Wed, Mar 5, 2014 at 1:27 PM, Dagobert Michelsen <<a href="mailto:dam@opencsw.org">dam@opencsw.org</a>> wrote:<br>
> I also suggest to verify that LD_LIBRARY_PATH is *not* set. I had a case some time<br>
> ago preventing an installation where libxml2 was pulled in for pkgadd from some<br>
> other location breaking the addition with very strange error messages.<br>
><br>
> @Peter: May I suggest adding LD_LIBRARY_PATH as output to pkgutil -V?<br>
<br>
That should be taken care of since way back:<br>
<br>
# Untainting<br>
delete @ENV{qw(LD_LIBRARY_PATH IFS CDPATH ENV BASH_ENV)}; # Make %ENV safer<br>
$ENV{'PATH'} = '/usr/sbin:/bin:/usr/bin:/opt/csw/bin';<br>
$ENV{'LANG'} = 'C';<br>
<br>
Guess who requested that:<br>
<br>
v2.5. Released 2011-09-06<br>
- pkgutil resets LD_LIBRARY_PATH (Dago)<br>
<br>
;)<br>
<br>
/peter<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a><br>
<a href="https://lists.opencsw.org/mailman/listinfo/users" target="_blank">https://lists.opencsw.org/mailman/listinfo/users</a><br>
<br>
------------------------------<br>
<br>
End of users Digest, Vol 119, Issue 2<br>
*************************************<br>
</blockquote></div><br></div>