users Digest, Vol 119, Issue 2

Daniel Eather dan at eathernet.com.au
Thu Mar 6 01:29:41 CET 2014


A big thanks to Peter and all who responded to my problem. I applied patch
113713-29 (downloaded from support.oracle.com) and it fixed the pkgadd
issue!! preservconf was able to be installed, as was puppet agent.

Thanks again!
Dan


On Thu, Mar 6, 2014 at 3:04 AM, <users-request at lists.opencsw.org> wrote:

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


More information about the users mailing list