[csw-users] Fetching catalog does nothing?

Andrew Gaylard ag at computer.org
Fri Apr 19 10:32:47 CEST 2013


Hi OpenCSW people,

I'm new to OpenCSW, but have used blastwave for 10 years or so.
I'm having trouble installing any packages. Here's the transcript of
me configuring a fresh, new Solaris 10u11 zone with OpenCSW:

-bash-3.2# pkgadd -d http://get.opencsw.org/now

## Downloading...
..............25%..............50%.............
## Timed out, retrying...

## Downloading...
..............75%..............100%..............125%..............100%
## Download Complete


The following packages are available:
   1  CSWpkgutil     pkgutil - Installs Solaris packages easily
                     (all) 2.6.5,REV=2012.08.15

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

Processing package instance <CSWpkgutil> from <http://get.opencsw.org/now>

pkgutil - Installs Solaris packages easily(all) 2.6.5,REV=2012.08.15
Please see /opt/csw/share/doc/pkgutil/license for license information.
## Processing package information.
## Processing system information.
    1 package pathname is already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <CSWpkgutil> [y,n,?] y

Installing pkgutil - Installs Solaris packages easily as <CSWpkgutil>

## Installing part 1 of 1.
/etc/opt/csw/pkgutil.conf.CSW
/opt/csw/bin/pkgutil
/opt/csw/etc/pkgutil.conf.CSW
/opt/csw/libexec/pkgutil/wget-i386
/opt/csw/libexec/pkgutil/wget-sparc
/opt/csw/share/doc/pkgutil/license
/opt/csw/share/doc/pkgutil/readme
/opt/csw/share/man/man1/pkgutil.1
/opt/csw/var/pkgutil/admin.CSW
[ verifying class <none> ]
## Executing postinstall script.

Copying sample pkgutil.conf to /opt/csw/etc.
/etc/opt/csw/pkgutil.conf already exists, will not copy pkgutil.conf.CSW 
to it.
Copying sample admin from /opt/csw/var/pkgutil to /var/opt/csw/pkgutil.

NOTE!
NOTE! Make sure to check out any changes in /etc/opt/csw/pkgutil.conf.CSW.
NOTE!


Installation of <CSWpkgutil> was successful.

-bash-3.2# /opt/csw/bin/pkgutil -l
CSWpkgutil

OK, the list is empty, so I'd better refresh the catalog.
-bash-3.2# /opt/csw/bin/pkgutil -U
=> Fetching new catalog and descriptions 
(http://mirror.opencsw.org/opencsw/testing/sparc/5.10) if available ...
==> 0 package loaded from 
/var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_testing_sparc_5.10

-bash-3.2# /opt/csw/bin/pkgutil -l
CSWpkgutil

Huh?

If I fetch the catalog manually:

-bash-3.2# /opt/csw/libexec/pkgutil/wget-sparc 
http://mirror.opencsw.org/opencsw/testing/sparc/5.10/catalog
--10:30:11-- http://mirror.opencsw.org/opencsw/testing/sparc/5.10/catalog
            => `catalog'
Resolving mirror.opencsw.org... done.
Connecting to mirror.opencsw.org[131.188.40.82]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 241 [text/plain]

100%[===========================================================================================>] 
241            1.06K/s    ETA 00:00

10:30:11 (1.06 KB/s) - `catalog' saved [241/241]

-bash-3.2# cat catalog
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)

iEYEARECAAYFAlFw6uEACgkQBfQtZpMGzHftiwCcDJ7UQiHCsftGJZg3qCf+qTBn
DW4Anjs3/Jp7htXNDHmwf5QnmIQ5YAAF
=nEDi
-----END PGP SIGNATURE-----

So this looks like an empty catalog???

What did I do wrong?


-- 
Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20130419/714289bc/attachment-0001.html>


More information about the users mailing list