On 6/25/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Indiana fans,
>
>  When trying to install the mpg123 package from Blastwave, I get:
>
>  % pfexec pkg install -v
>
>  pkg://blastwave.org/[EMAIL PROTECTED]
>  Before evaluation:
>  UNEVALUATED:
>  +pkg://blastwave.org/[EMAIL PROTECTED],5.10-2.6:20080514T155610Z
>
>  After evaluation:
>  None -> pkg://blastwave.org/[EMAIL PROTECTED],5.10-2.6:20080514T155610Z
>  None -> pkg://blastwave.org/[EMAIL PROTECTED],5.10-2.6:20080514T152919Z
>  None -> pkg://blastwave.org/[EMAIL PROTECTED],5.10-2.6:20080514T150703Z
>  None
>  DOWNLOAD                                    PKGS       FILES     XFER (MB)
>  IPSglib2                                     2/3       0/371    0.00/10.25
>  PHASE                                        ACTIONS
>  Install Phase                                586/604 Action install failed
>  for 'opt/csw/bin/mpg123' (pkg://blastwave.org/IPSmpg123):
>    OSError: [Errno 2] No such file or directory
>  pkg: An unexpected error happened during installation: [Errno 2] No such
>  file or directory

yep .. that directory does not exist because the files do not reside there.

Not sure how you are going about this.

With OpenSolaris and the packages from Blastwave, for now at least,
you are better off to just install the SVR4 packages as per old-style
usual.

Use wget to fetch the basic foundation packages from a primary mirror site :

look in http://blastwave.network.com/csw/unstable

fetch/download/wget the following four packages in any order :

1) common-1.4.6
2) openssl_rt-0.9.8
3) wget-1.11
4) pkg_get-3.8.4

then install them thus ( just copy and paste these lines )

 gunzip *CSW.pkg.gz
 /usr/sbin/pkgadd -S -d ./common-1.4.6* all
 /usr/sbin/pkgadd -S -d ./openssl_rt-0.9.8* all
 /usr/sbin/pkgadd -S -d ./wget-1.11* all
 /usr/sbin/pkgadd -S -d ./pkg_get-3.8.4* all

Then edit the /opt/csw/etc/pkg-get.conf file to point to a decent
mirror and to set your proxy settings. Look out for this option also :

# Solaris 10: If you wish to limit pkg-get to installing packages
# ONLY to the global zone, then uncomment this line
PKGADDFLAGS=-G

ALSO , if you like a running record of all that you do .. set this
stuff into your /opt/csw/etc/pkg-get.conf

# pkg-get now defaults to downloading to /var/pkg-get/downloads
# If you'd like it somewhere else, change it here
# PKGGET_DOWNLOAD_DIR=/some/large/dir/pkg-get
PKGGET_DOWNLOAD_DIR=/var/spool/pkg-get/pkg-get.$$

  BUT BE SURE TO DO THIS !!
mkdir -m 0700 /var/spool/pkg-get

Get your catalog :

/opt/csw/bin/pkg-get -U


Then pkg-get whatever you want. GCC4 at least.  See details below.

Dennis

========= details

-bash-3.2# /opt/csw/bin/pkg-get -U
WARNING: gpg not found
Getting catalog...
--2008-06-25 20:20:49--
http://blastwave.network.com/csw/unstable/i386/5.11/catalog
Resolving blastwave.network.com... 64.79.150.209
Connecting to blastwave.network.com|64.79.150.209|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 357602 (349K) [text/plain]
Saving to: `catalog'

     0K .....                                                100%  255K=1.4s

2008-06-25 20:20:54 (255 KB/s) - `catalog' saved [357602/357602]

WARNING: gpg not available.
Stripping off catalog signature without verifying
Updating catalog file
/var/pkg-get/catalog-blastwave.network.com updated

--2008-06-25 20:20:54--
http://blastwave.network.com/csw/unstable/i386/5.11/descriptions
Resolving blastwave.network.com... 64.79.150.209
Connecting to blastwave.network.com|64.79.150.209|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 96686 (94K) [text/plain]
Saving to: `descriptions'

     0K .                                                    100%  127K=0.7s

2008-06-25 20:20:55 (127 KB/s) - `descriptions' saved [96686/96686]

Updated description file
-bash-3.2#

-bash-3.2# date
Wed Jun 25 20:22:56 GMT 2008
-bash-3.2# uname -a
SunOS aequitas 5.11 snv_86 i86pc i386 i86pc
-bash-3.2# cat /etc/release
                        OpenSolaris 2008.05 snv_86_rc3 X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 26 April 2008
-bash-3.2# /opt/csw/bin/pkg-get -a | grep gcc4
             gcc4ada 4.0.2,REV=2005.09.29
           gcc4adart 4.0.2,REV=2005.09.29
            gcc4core 4.0.2,REV=2005.09.29
          gcc4corert 4.0.2,REV=2005.09.29
             gcc4g++ 4.0.2,REV=2005.09.29
           gcc4g++rt 4.0.2,REV=2005.09.29
             gcc4g95 4.0.2,REV=2005.09.29
           gcc4g95rt 4.0.2,REV=2005.09.29
            gcc4java 4.0.2,REV=2005.09.29
          gcc4javart 4.0.2,REV=2005.09.29
            gcc4objc 4.0.2,REV=2005.09.29
          gcc4objcrt 4.0.2,REV=2005.09.29
-bash-3.2# /opt/csw/bin/pkg-get -i binutils gcc4core star cdrtools
textutils gnupg

a little later all that stuff will be installed
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to