pkgutil-users Mailing List for pkgutil (Page 8)
Status: Beta
Brought to you by:
bonivart
You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
(9) |
Apr
(25) |
May
(19) |
Jun
(33) |
Jul
(2) |
Aug
(13) |
Sep
(28) |
Oct
(43) |
Nov
(24) |
Dec
(27) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
(5) |
Feb
(11) |
Mar
(39) |
Apr
(22) |
May
(4) |
Jun
(10) |
Jul
(52) |
Aug
(12) |
Sep
(12) |
Oct
(31) |
Nov
(13) |
Dec
(14) |
| 2011 |
Jan
(15) |
Feb
(19) |
Mar
(13) |
Apr
(1) |
May
(8) |
Jun
(1) |
Jul
(11) |
Aug
(16) |
Sep
(14) |
Oct
(4) |
Nov
(3) |
Dec
(8) |
| 2012 |
Jan
(11) |
Feb
(15) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Mark R B. <ma...@pr...> - 2010-11-11 08:49:16
|
On Wed 10/11/10 14:04 , Peter Bonivart bon...@op... sent: > > On Wed, Nov 10, 2010 at 2:59 PM, Mark R Bannister ma...@pr... wrote: > > If you're trying to run pkgutil in non-interactive > > mode (i.e. pkgutil -yi something), if a package fails to be installed > > properly, rather than exiting with a non-zero exit status, pkgutil prompts "Exit > > from pkgutil and fix this issue first (recommended?) [Y,n]" and waits for > > stdin > > > > This is no good for when software is being installed via an automated > > process. We really need pkgutil to support a proper non-interactive mode > > when no questions will ever be asked. > > This was something I added back in from the Blastwave fork. > > I need to take a look at how it's implemented in my version. Maybe not > prompt if -y is used would solve your problem? > > /peter Thanks Peter. Yes that would make sense. Exit with a non-zero exit status if -y was used. Regards, Mark. |
|
From: Peter B. <bon...@op...> - 2010-11-10 14:05:23
|
On Wed, Nov 10, 2010 at 2:59 PM, Mark R Bannister <ma...@pr...> wrote: > If you're trying to run pkgutil in non-interactive mode (i.e. pkgutil -yi > something), if a package fails to be installed properly, rather than exiting > with a non-zero exit status, pkgutil prompts "Exit from pkgutil and fix this > issue first (recommended?) [Y,n]" and waits for stdin. > > This is no good for when software is being installed via an automated > process. We really need pkgutil to support a proper non-interactive mode > when no questions will ever be asked. This was something I added back in from the Blastwave fork. I need to take a look at how it's implemented in my version. Maybe not prompt if -y is used would solve your problem? /peter |
|
From: Mark R B. <ma...@pr...> - 2010-11-10 13:59:41
|
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
If you're trying to run pkgutil in non-interactive mode (i.e. pkgutil
-yi something), if a package fails to be installed properly, rather
than exiting with a non-zero exit status, pkgutil prompts "Exit from
pkgutil and fix this issue first (recommended?) [Y,n]" and waits for
stdin.
This is no good for when software is being installed via an
automated process. We really need pkgutil to support a proper
non-interactive mode when no questions will ever be asked.
Thanks,
Mark Bannister.
|
|
From: Peter B. <bon...@op...> - 2010-10-28 13:10:52
|
On Tue, Oct 26, 2010 at 4:24 PM, Mark R Bannister <ma...@pr...> wrote: > When I GPG sign a catalog, chkcat seems to ignore the first valid entry. > Any package that depends on the first one then generates an error message. > Like this: > > # chkcat -e catalog > > ERROR! Dependency CSWbdb3 of package CSWruby is missing. > > # cat catalog > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > berkeleydb3 3.3.11 CSWbdb3 berkeleydb3-3.3.11-sparc-CSW.pkg.gz > e13ec876020eeeaa1da95b70a7ce2a22 1181906 none none none > ruby 1.8.6,REV=2007.10.03_p110 CSWruby > ruby-1.8.6,REV=2007.10.03_p110-SunOS5.8-sparc-CSW.pkg.gz > 963b0a15416ffdb42e2253dea08e924f 2444034 CSWbdb3 none none > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (SunOS) > > iEYEARECAAYFAkzG3+wACgkQ/i1yzU+0qsTyBACg/c/1llxEKX7mTuWVLcb3waCH > N4EAn0orRGppRYtSpcW6bMhxTnD6Jvri > =EF88 > -----END PGP SIGNATURE----- Remove line 115 and 139 (both containing "shift @tmp;" and it should work. I accidentally skipped one line too many, never noticed it since the CSW catalogs have comments there which are skipped anyway. Thanks for noticing. I have checked in the change as r318. /peter |
|
From: <bon...@us...> - 2010-10-28 13:09:27
|
Revision: 318
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=318&view=rev
Author: bonivart
Date: 2010-10-28 13:09:21 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
chkcat: fix bug with gpg signed catalogs (Mark Bannister)
Modified Paths:
--------------
trunk/chkcat
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Mark R B. <ma...@pr...> - 2010-10-26 14:24:45
|
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px;
}When I GPG sign a catalog, chkcat seems to ignore the first valid
entry. Any package that depends on the first one then generates an
error message. Like this:
# chkcat -e catalog
ERROR! Dependency CSWbdb3 of package CSWruby is missing.
# cat catalog
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
berkeleydb3 3.3.11 CSWbdb3 berkeleydb3-3.3.11-sparc-CSW.pkg.gz
e13ec876020eeeaa1da95b70a7ce2a22 1181906 none none none
ruby 1.8.6,REV=2007.10.03_p110 CSWruby
ruby-1.8.6,REV=2007.10.03_p110-SunOS5.8-sparc-CSW.pkg.gz
963b0a15416ffdb42e2253dea08e924f 2444034 CSWbdb3 none none
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)
iEYEARECAAYFAkzG3+wACgkQ/i1yzU+0qsTyBACg/c/1llxEKX7mTuWVLcb3waCH
N4EAn0orRGppRYtSpcW6bMhxTnD6Jvri
=EF88
-----END PGP SIGNATURE-----
|
|
From: <bon...@us...> - 2010-10-25 22:28:42
|
Revision: 317
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=317&view=rev
Author: bonivart
Date: 2010-10-25 22:28:36 +0000 (Mon, 25 Oct 2010)
Log Message:
-----------
create tag for 2.2 release
Added Paths:
-----------
tags/2.2/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bon...@us...> - 2010-10-22 21:43:50
|
Revision: 316
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=316&view=rev
Author: bonivart
Date: 2010-10-22 21:43:44 +0000 (Fri, 22 Oct 2010)
Log Message:
-----------
pkgutil: add deptree_filter_common to -V output
Modified Paths:
--------------
trunk/pkgutil
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bon...@us...> - 2010-10-21 15:52:10
|
Revision: 315
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=315&view=rev
Author: bonivart
Date: 2010-10-21 15:52:04 +0000 (Thu, 21 Oct 2010)
Log Message:
-----------
update readme and version for 2.2 final
Modified Paths:
--------------
trunk/pkgutil
trunk/readme
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bon...@us...> - 2010-10-14 11:53:26
|
Revision: 314
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=314&view=rev
Author: bonivart
Date: 2010-10-14 11:53:20 +0000 (Thu, 14 Oct 2010)
Log Message:
-----------
Cosmetic changes
Modified Paths:
--------------
trunk/bldcat
trunk/pkgutil
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Dagobert M. <da...@op...> - 2010-10-11 08:35:58
|
Hi Peter,
I just noticed these lines in bldcat:
> eval { require Digest::MD5; };
> die "\nDigest::MD5 not available! Install CSWperl and use that\nfor
> bldcat. Do that by having /opt/csw/bin before\n/usr/bin in your path.
> \n" if ($@);
>
> eval { require File::Temp; };
> die "\nFile::Temp not available! Install CSWperl and use that\nfor
> bldcat. Do that by having /opt/csw/bin before\n/usr/bin in your path.
> \n" if ($@);
The PATH-thing can actually be automated by always preferring /opt/csw/
bin:
> --- bldcat.orig 2010-10-02 18:45:36.304272754 +0200
> +++ bldcat 2010-10-11 00:52:49.509740511 +0200
> @@ -1,4 +1,7 @@
> -#!/usr/bin/env perl -w
> +#!/bin/sh
> +#! -*- perl -*-
> +eval 'PATH=/opt/csw/bin:$PATH exec perl -x -w $0 ${1+"$@"}'
> + if 0;
>
> # bldcat - build a CSW catalog from packages in a directory
> # Copyright (C) 2008-2010 Peter Bonivart
Most of the snippet is from perlrun(1) where the details
are explained with the exception of the PATH extension.
I use this also to patch PCA to prefer OpenCSW Perl.
Best regards
-- Dago
|
|
From: <bon...@us...> - 2010-10-08 12:50:18
|
Revision: 313
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=313&view=rev
Author: bonivart
Date: 2010-10-08 12:50:12 +0000 (Fri, 08 Oct 2010)
Log Message:
-----------
bldcat: improve speed with --fast option (Dago)
Modified Paths:
--------------
trunk/bldcat
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bon...@us...> - 2010-10-08 08:51:42
|
Revision: 312
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=312&view=rev
Author: bonivart
Date: 2010-10-08 08:51:36 +0000 (Fri, 08 Oct 2010)
Log Message:
-----------
change default mirror to http://mirror.opencsw.org/opencsw/unstable
Modified Paths:
--------------
trunk/pkgutil
trunk/pkgutil.conf
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Peter B. <bon...@op...> - 2010-10-07 15:51:20
|
Today it's been two years since the first release of pkgutil. :-) To start with, last year I wrote about some possible future enhancements, let's revisit them: - New catalog format - - This one has not happened. I have designed a more powerful catalog format but changing the infrastructure needed to create/distribute the new catalog also takes work and it might not be worth it right now since I got the addition I most needed to the existing catalog format - Incompatible dependencies. - Package split up into basic pkgutil with no dependencies and an extension package which enhances the functionality. To start with, bldcat and chkcat will be placed in the new package. - - This is done. Pkgutil is the basic package still with no dependencies, pkgutilplus is the extension package needing quite a few dependencies since both perl and python scripts are included. - More tools, e.g. a script to create the file structure needed to run a mirror - - This is delivered in pkgutilplus, contributed by Dagobert Michelsen. - Log of pkgutil actions - - This is also in pkgutilplus in the form of a simple hook script, look for pkgutillog. - Install packages from Sun DVD's - - There's also a script for this in pkgutilplus, contributed by Maciej Blizinski, look for build_sun_catalog. So, to sum it up, most things have been implemented. What I really want to do now is to implement unit testing so new/changed code doesn't break previous functionality. I have also released a new beta for you to test. It's beta 1 of version 2.2. This is the almost complete change log: - Add option --deptree to display dependencies in a similar way to ptree (3078744@SF) - Add option -A/--compare-avail to compare catalog with local packages (Mark Bannister) - Add auto mode install/remove (on the fly --yes) (Ben Walton) - New option (deptree_filter_common) in pkgutil.conf to filter CSWcommon from --deptree output - Add long option name, --compare-diff, to -C (Mark Bannister) - Modify download list output (4530@OpenCSW) (Dago, Sebastian) - Add list of downloaded packages when using -d (Dago) - Add info about which catalog is being gpg checked (Mark Bannister) - Display number of loaded packages per catalog (when updating the catalog or using debug) (Mark Bannister) - Group install/remove output better (Dago) - Change default ibiblio-URL to http://mirrors.ibiblio.org/pub/mirrors/opencsw/current - User agent example in pkgutil.conf Easy install with: pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/bonivart -i pkgutil Direct links: http://buildfarm.opencsw.org/experimental/bonivart/pkgutil-2.2b1,REV=2010.10.07-SunOS5.8-sparc-CSW.pkg.gz, http://buildfarm.opencsw.org/experimental/bonivart/pkgutil-2.2b1,REV=2010.10.07-SunOS5.8-i386-CSW.pkg.gz, http://buildfarm.opencsw.org/experimental/bonivart/pkgutilplus-2.2b1,REV=2010.10.07-SunOS5.8-all-CSW.pkg.gz SVN: http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/ More info about pkgutil here: http://pkgutil.net/ Happy downloading and may your packages install with exit status 0. -- /peter bonivart |
|
From: Peter B. <bon...@op...> - 2010-10-07 08:53:19
|
On Thu, Oct 7, 2010 at 1:37 AM, Don Jackson
<pkg...@cl...> wrote:
>
> Responses inline below:
> 1) These are random generic packages that I obtained not from Blastwave Nor
> OpenCSW. I just want to stick these random 3rd party packages into a repo
> and download and install them with pkgutil. Is that possible?
Yes, it's possible but it's unlikely that 3rd party packages work as
is. To create a proper catalog pkgutil can understand some package
metadata must conform to CSW standards. It's easy to do this yourself
and if you're going to install these packages over and over again it's
worthwhile. On the other hand, if you're only going to install them
once or twice it's quicker to just use pkgadd and be done with it.
Since you're using jumpstart I assume you want this to work so here we go...
> 2) I forgot that the package name is important. Can I just rename these
> files, or do I need to change something internal to the packages themselves?
The filename is the least of your problems. You need to edit the
package metadata in the pkginfo file.
> 3) As an experiment, i just went ahead and added these packages locally on a
> test machine using pkgadd. That worked.
>
> $ pkginfo AmandaEnterpriseBackupClient
> system AmandaEnterpriseBackupClient Amanda Enterprise Backup Client
> from Zmanda
> $ pkginfo AmandaEnterpriseClientExt
> system AmandaEnterpriseClientExt Amanda Enterprise Client Extensions
> from Zmanda
>
> But I am guessing when you say "pkginfo files" you are asking for something
> else?
Yes, please do a "pkginfo -l" on those packages to see what we have
there. To compare with here's the output from CSWpkgutil:
$ pkginfo -l CSWpkgutil
PKGINST: CSWpkgutil
NAME: pkgutil - Installs Solaris packages easily
CATEGORY: application
ARCH: i386
VERSION: 2.1,REV=2010.07.28
BASEDIR: /
VENDOR: http://pkgutil.wikidot.com/ packaged for CSW by Peter Bonivart
PSTAMP: bonivart@current8x-20100728140726
INSTDATE: Jul 28 2010 14:32
HOTLINE: http://www.opencsw.org/bugtrack/
EMAIL: bon...@op...
STATUS: completely installed
FILES: 26 installed pathnames
13 shared pathnames
17 directories
2 executables
574 blocks used (approx)
Note that NAME and VERSION fields, they are important. NAME must be
unique and separated by " - " (space dash space) from the description.
I think your VERSION should be good.
> You need to follow these guidelines:
> http://www.opencsw.org/extend-it/contribute-packages/build-standards/#versioning
>
> Do I need to follow this even if I am not submitting to OpenCSW? (which I
> am not)
Yes, you need to follow the guidelines if you want to enter a package
into a CSW catalog. I will try to help you do minimal work to do so.
What you need to do, after posting the "pkginfo -l" output, is to
unpack the packages, edit the pkginfo file and reassemble the package
again. Then you can build a new catalog.
Basic steps (simplified names):
# gunzip amanda.pkg.gz
# pkgtrans amanda.pkg . all (this will unpack the package)
# cd amanda (the package name just unpacked)
# vi pkginfo (edit especially NAME and VERSION fields to comply with CSW)
# ls -l pkginfo (note size)
# sum pkginfo (note checksum)
# vi pkgmap (edit size (column 4) and checksum (column 5) values of
pkginfo line)
# cd ..
# pkgtrans . newamanda.pkg amanda (reassemble the package as newamanda.pkg)
--
/peter
|
|
From: <bon...@us...> - 2010-10-07 07:46:23
|
Revision: 311
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=311&view=rev
Author: bonivart
Date: 2010-10-07 07:46:16 +0000 (Thu, 07 Oct 2010)
Log Message:
-----------
pkgutil.conf: add reminder to add distribution to mirror url
Modified Paths:
--------------
trunk/pkgutil.conf
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Don J. <pkg...@cl...> - 2010-10-06 23:38:06
|
Responses inline below: On Oct 6, 2010, at 1:21 AM, Peter Bonivart wrote: > On Wed, Oct 6, 2010 at 9:03 AM, Don Jackson > <pkg...@cl...> wrote: >> >> Hello, >> I use pkgutil to add packages during Jumpstart installs, and afterwards. >> I have successfully used a local package store to retrieve some packages (in >> front of blastwave.org). >> I track the latest version of pkgutil, and edit the conf file to point to >> blastwave… >> So today, I wanted to create a new package directory for two new packages I >> am trying to install. >> Here is the contents of the directory. I of course used bldcat to create >> the catalog. >> >> # pwd >> /naspool/solaris/packages-local/i386/5.10 >> # ls -lt >> total 3774 >> -rw-r--r-- 1 root root 378 Oct 5 20:48 catalog >> -rw-r--r-- 1 root root 92 Oct 5 20:48 descriptions >> -rw-r--r-- 1 dcj other 1705240 Oct 5 16:41 >> AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz >> -rw-r--r-- 1 dcj other 93122 Oct 5 16:41 >> AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz > > Those filenames look weird to me. Can you post the pkginfo files for > those packages please? 1) These are random generic packages that I obtained not from Blastwave Nor OpenCSW. I just want to stick these random 3rd party packages into a repo and download and install them with pkgutil. Is that possible? 2) I forgot that the package name is important. Can I just rename these files, or do I need to change something internal to the packages themselves? 3) As an experiment, i just went ahead and added these packages locally on a test machine using pkgadd. That worked. $ pkginfo AmandaEnterpriseBackupClient system AmandaEnterpriseBackupClient Amanda Enterprise Backup Client from Zmanda $ pkginfo AmandaEnterpriseClientExt system AmandaEnterpriseClientExt Amanda Enterprise Client Extensions from Zmanda But I am guessing when you say "pkginfo files" you are asking for something else? > You need to follow these guidelines: > http://www.opencsw.org/extend-it/contribute-packages/build-standards/#versioning Do I need to follow this even if I am not submitting to OpenCSW? (which I am not) On Oct 6, 2010, at 1:28 AM, Dagobert Michelsen wrote: > The problem is that you have two entries with the same catalogname ("Amanda"). I noticed this too, after sending my email to this list. As a quick workaround, I manually edited the catalog file to change one name. After I did so, I was able to see both packages via the -a flag, but I was still unable to install one of them. Is there something "broken" inside these packages, and that whatever that is needs to be changed in order for the install to work? > >> And here are the resulting contents of catalog and descriptions >> >> # cat catalog >> Amanda 3.1.2 AmandaEnterpriseBackupClient >> AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz >> 2efff7d45d53d11752b8810a892f2f6d 1705240 CSWgtar|CSWperl none >> AmandaEnterpriseBackupServer >> Amanda 3.1.2 AmandaEnterpriseClientExt >> AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz >> 7a1ce6cc3cd5b3c20b55d7bb4545c8bf 93122 AmandaEnterpriseBackupClient none >> none >> # cat descriptions >> Amanda Enterprise Backup Client from Zmanda >> Amanda Enterprise Client Extensions from Zmanda > > Here's the Amanda lines from the OpenCSW catalog and description files > to compare with: > > amanda 3.1.1,REV=2010.07.20 CSWamanda > amanda-3.1.1,REV=2010.07.20-SunOS5.8-i386-CSW.pkg.gz > c7c8c0361519aadb36bf97dd8a0bdeba 9423413 > CSWmtx|CSWgnuplot|CSWgtar|CSWstar|CSWreadline|CSWcommon|CSWcurlrt|CSWggettextrt|CSWglib2|CSWlibidn|CSWlibnet|CSWoldaprt|CSWosslrt|CSWsasl|CSWzlib|CSWsambaclient|CSWperl|CSWgawk|CSWcswclassutils|CSWgzip|CSWlibcares > none none > > amanda - The Advanced Maryland Automatic Network Disk Archiver > > Maybe it would be easiest to just install it from OpenCSW? :-) I am trying to install packages from Zmanda, not opensource packages. This is not a blastwave vs opencsw question, I don't think. I do use blastwave as my main package source, but in this case I am using -t to point to my newly created repo that contains only these two packages. |
|
From: <bon...@us...> - 2010-10-06 17:12:38
|
Revision: 310
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=310&view=rev
Author: bonivart
Date: 2010-10-06 17:12:32 +0000 (Wed, 06 Oct 2010)
Log Message:
-----------
pkgutil: add yet another last resort for wget
Modified Paths:
--------------
trunk/pkgutil
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bon...@us...> - 2010-10-06 16:31:50
|
Revision: 309
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=309&view=rev
Author: bonivart
Date: 2010-10-06 16:31:44 +0000 (Wed, 06 Oct 2010)
Log Message:
-----------
readme: update with 2.2 info
Modified Paths:
--------------
trunk/readme
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Dagobert M. <da...@op...> - 2010-10-06 08:28:46
|
Hi Don,
Am 06.10.2010 um 09:03 schrieb Don Jackson:
> And here are the resulting contents of catalog and descriptions
>
> # cat catalog
> Amanda 3.1.2 AmandaEnterpriseBackupClient
> AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz
> 2efff7d45d53d11752b8810a892f2f6d 1705240 CSWgtar|CSWperl none
> AmandaEnterpriseBackupServer
> Amanda 3.1.2 AmandaEnterpriseClientExt
> AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz
> 7a1ce6cc3cd5b3c20b55d7bb4545c8bf 93122 AmandaEnterpriseBackupClient
> none none
The problem is that you have two entries with the same catalogname
("Amanda").
Best regards
-- Dago
|
|
From: Peter B. <bon...@op...> - 2010-10-06 08:22:20
|
On Wed, Oct 6, 2010 at 9:03 AM, Don Jackson <pkg...@cl...> wrote: > > Hello, > I use pkgutil to add packages during Jumpstart installs, and afterwards. > I have successfully used a local package store to retrieve some packages (in > front of blastwave.org). > I track the latest version of pkgutil, and edit the conf file to point to > blastwave… > So today, I wanted to create a new package directory for two new packages I > am trying to install. > Here is the contents of the directory. I of course used bldcat to create > the catalog. > > # pwd > /naspool/solaris/packages-local/i386/5.10 > # ls -lt > total 3774 > -rw-r--r-- 1 root root 378 Oct 5 20:48 catalog > -rw-r--r-- 1 root root 92 Oct 5 20:48 descriptions > -rw-r--r-- 1 dcj other 1705240 Oct 5 16:41 > AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz > -rw-r--r-- 1 dcj other 93122 Oct 5 16:41 > AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz Those filenames look weird to me. Can you post the pkginfo files for those packages please? You need to follow these guidelines: http://www.opencsw.org/extend-it/contribute-packages/build-standards/#versioning > And here are the resulting contents of catalog and descriptions > > # cat catalog > Amanda 3.1.2 AmandaEnterpriseBackupClient > AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz > 2efff7d45d53d11752b8810a892f2f6d 1705240 CSWgtar|CSWperl none > AmandaEnterpriseBackupServer > Amanda 3.1.2 AmandaEnterpriseClientExt > AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz > 7a1ce6cc3cd5b3c20b55d7bb4545c8bf 93122 AmandaEnterpriseBackupClient none > none > # cat descriptions > Amanda Enterprise Backup Client from Zmanda > Amanda Enterprise Client Extensions from Zmanda Here's the Amanda lines from the OpenCSW catalog and description files to compare with: amanda 3.1.1,REV=2010.07.20 CSWamanda amanda-3.1.1,REV=2010.07.20-SunOS5.8-i386-CSW.pkg.gz c7c8c0361519aadb36bf97dd8a0bdeba 9423413 CSWmtx|CSWgnuplot|CSWgtar|CSWstar|CSWreadline|CSWcommon|CSWcurlrt|CSWggettextrt|CSWglib2|CSWlibidn|CSWlibnet|CSWoldaprt|CSWosslrt|CSWsasl|CSWzlib|CSWsambaclient|CSWperl|CSWgawk|CSWcswclassutils|CSWgzip|CSWlibcares none none amanda - The Advanced Maryland Automatic Network Disk Archiver Maybe it would be easiest to just install it from OpenCSW? :-) -- /peter |
|
From: Don J. <pkg...@cl...> - 2010-10-06 07:03:49
|
Hello, I use pkgutil to add packages during Jumpstart installs, and afterwards. I have successfully used a local package store to retrieve some packages (in front of blastwave.org). I track the latest version of pkgutil, and edit the conf file to point to blastwave… So today, I wanted to create a new package directory for two new packages I am trying to install. Here is the contents of the directory. I of course used bldcat to create the catalog. # pwd /naspool/solaris/packages-local/i386/5.10 # ls -lt total 3774 -rw-r--r-- 1 root root 378 Oct 5 20:48 catalog -rw-r--r-- 1 root root 92 Oct 5 20:48 descriptions -rw-r--r-- 1 dcj other 1705240 Oct 5 16:41 AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz -rw-r--r-- 1 dcj other 93122 Oct 5 16:41 AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz And here are the resulting contents of catalog and descriptions # cat catalog Amanda 3.1.2 AmandaEnterpriseBackupClient AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz 2efff7d45d53d11752b8810a892f2f6d 1705240 CSWgtar|CSWperl none AmandaEnterpriseBackupServer Amanda 3.1.2 AmandaEnterpriseClientExt AmandaEnterpriseClientExtensions-3.1.2-i386-pc-solaris2.10.pkg.gz 7a1ce6cc3cd5b3c20b55d7bb4545c8bf 93122 AmandaEnterpriseBackupClient none none # cat descriptions Amanda Enterprise Backup Client from Zmanda Amanda Enterprise Client Extensions from Zmanda On the machine I am attempting to install the packages on, I cannot seem to see one of the packages: /usr/local/bin/pkgutil -t http://nas02.clark-communications.com/solaris/packages-local -a | grep manda 20:38:36 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/catalog [378/378] -> "/export/home/dcj/.pkgutil/catalog.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] 20:38:36 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/descriptions [92/92] -> "/export/home/dcj/.pkgutil/descriptions.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] 20:38:36 URL:http://download.blastwave.org/csw/unstable/i386/5.10/catalog [401498/401498] -> "/export/home/dcj/.pkgutil/catalog.download.blastwave.org_csw_unstable_i386_5.10" [1] 20:38:36 URL:http://download.blastwave.org/csw/unstable/i386/5.10/descriptions [107125/107125] -> "/export/home/dcj/.pkgutil/descriptions.download.blastwave.org_csw_unstable_i386_5.10" [1] Amanda AmandaEnterpriseClientExt 3.1.2 90.9 KB amanda CSWamanda 2.5.2p1,REV=2008.05.21 3.0 MB So I just can't see the one package ( AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz ) Why not? Is there something wrong with the package(s) themselves? Or am I using the tool incorrectly? # /usr/local/bin/pkgutil -t http://nas02.clark-communications.com/solaris/packages-local -i AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz => Fetching new catalog and descriptions (http://nas02.clark-communications.com/solaris/packages-local/i386/5.10) if available ... 20:51:07 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/catalog [378/378] -> "/var/opt/csw/pkgutil/catalog.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] 20:51:07 URL:http://nas02.clark-communications.com/solaris/packages-local/i386/5.10/descriptions [92/92] -> "/var/opt/csw/pkgutil/descriptions.nas02.clark-communications.com_solaris_packages-local_i386_5.10" [1] => Fetching new catalog and descriptions (http://download.blastwave.org/csw/unstable/i386/5.10) if available ... 20:51:07 URL:http://download.blastwave.org/csw/unstable/i386/5.10/catalog [401498/401498] -> "/var/opt/csw/pkgutil/catalog.download.blastwave.org_csw_unstable_i386_5.10" [1] 20:51:07 URL:http://download.blastwave.org/csw/unstable/i386/5.10/descriptions [107125/107125] -> "/var/opt/csw/pkgutil/descriptions.download.blastwave.org_csw_unstable_i386_5.10" [1] Solving needed dependencies ... Package AmandaEnterpriseBackupClient-3.1.2-i386-pc-solaris2.10.pkg.gz not in catalog. Exiting. head -20 /usr/local/bin/pkgutil #!/usr/bin/env perl -w # pkgutil - manages packages on Sun Solaris systems # Copyright (C) 2008-2010 Peter Bonivart # $Id: pkgutil 286 2010-07-28 08:54:11Z bonivart $ |
|
From: <bon...@us...> - 2010-10-05 20:21:50
|
Revision: 308
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=308&view=rev
Author: bonivart
Date: 2010-10-05 20:21:44 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
pkgutil: change from textutils to coreutils
Modified Paths:
--------------
trunk/pkgutil
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bon...@us...> - 2010-10-05 17:13:02
|
Revision: 307
http://pkgutil.svn.sourceforge.net/pkgutil/?rev=307&view=rev
Author: bonivart
Date: 2010-10-05 17:12:56 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
pkgutil: download to temp file
Modified Paths:
--------------
trunk/pkgutil
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Peter B. <bon...@op...> - 2010-10-05 08:59:18
|
On Tue, Oct 5, 2010 at 10:06 AM, Dagobert Michelsen <da...@op...> wrote: > Hi Peter, > > I still get these output-mangling when doing batch-installations > with ssh: > >> 1900K ........ => Fetching CSWdbusglib-0.86,REV=2010.10.05 >> (6/7) ... >> 100% 9.94M=0.2s >> >> 200K .......... .......... .=> Fetching >> CSWdbusglibdev-0.86,REV=2010.10.05 (7/7) ... >> ......... .......... .......... 96% 10.8M 0s >> 250K .......... 100% >> 12.8M=0.03s > > Maybe I just try setting output to unbuffered in Perl next time. Is it wget and pkgutil not getting along? Any options you use in wget I could try? Anyone else on the list seen similar things? I have never seen it myself. I have experimented with buffering in Perl and couldn't see any difference. It shouldn't affect it either since every newline flushes the buffer anyway. -- /peter |