[bug-notifications] [pkg_get 0003023]: pkg-get fails to bootstrap wget

Mantis Bug Tracker noreply at opencsw.org
Fri Feb 27 11:10:29 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://opencsw.org/mantis/view.php?id=3023 
====================================================================== 
Reported By:                skayser
Assigned To:                phil
====================================================================== 
Project:                    pkg_get
Issue ID:                   3023
Category:                   other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-01-16 23:51 CET
Last Modified:              2009-02-27 11:10 CET
====================================================================== 
Summary:                    pkg-get fails to bootstrap wget
Description: 
Just downloaded pkg-get from http://opencsw.org/pkg-get to a Solaris 8 box.
As i didn't have wget, pkg-get offered me to download one via ftp. This
however fails, as $MASTERBASE isn't set correctly.

# This is only for fallback purposes in extreme measures
# The target package must be UNCOMPRESSED in any way!!
MASTERSITE=${MASTERSITE:-ftp.ibiblio.org}
MASTERBASE=${MASTERSITE:-pub/packages/solaris/opencsw/current}

Even when this is corrected, the installation fails. See second invocation
in additional information.

The suggestions made by pkg-get on where to get wget ($SITE/wget) after
failing to download / install wget don't help either, because no wget can
be found there. Unfortunately the wget download links on
http://opencsw.org/pkg-get are broken also.
====================================================================== 

---------------------------------------------------------------------- 
 (0005487) skayser (administrator) - 2009-01-16 23:52
 http://opencsw.org/mantis/view.php?id=3023#c5487 
---------------------------------------------------------------------- 
# pkginfo -x CSWpkgget
CSWpkgget       pkg_get - CSW version of automated package download tool
                (all) 4.0.1,REV=2008.12.15 

---------------------------------------------------------------------- 
 (0005577) phil (manager) - 2009-02-27 02:33
 http://opencsw.org/mantis/view.php?id=3023#c5577 
---------------------------------------------------------------------- 
Urrrr. drat.

Please try replacing


MASTERBASE=${MASTERSITE:-pub/packages/solaris/opencsw/current}


with
MASTERBASE=${MASTERBASE:-pub/packages/solaris/opencsw/current}

and seeing if it works for you.

I'm thinking it will NOT; that it also needs a patch around line 1289, to
change

anonymous
cd $MASTERBASE/$CPU/$OSREV

to be


anonymous
pkg-get-user
cd $MASTERBASE/$CPU/$OSREV



but please let me know what works. 

---------------------------------------------------------------------- 
 (0005581) skayser (administrator) - 2009-02-27 11:10
 http://opencsw.org/mantis/view.php?id=3023#c5581 
---------------------------------------------------------------------- 
See the second (!) invocation of pkg-get -U in that "additional
information" field. That is where i had corrected MASTERBASE as you suggest
now. ;) The FTP login went smoothly so the second issue you are refering to
was not a problem in my case.

Instead please look at the dependency error messages, pkgadd seems to bail
out because it can't find the CSWcommon dependency for CSWwget (which is
obvious as it is just trying to get the whole catalog download thingie
started by installing CSWwget ...).

What about just distributing a wget binary with CSWpkgget like CSWpkgutil
does it? Seems less error prone to me. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-16 23:51 skayser        New Issue                                    
2009-01-16 23:52 skayser        Note Added: 0005487                          
2009-02-27 02:31 phil           Status                   new => assigned     
2009-02-27 02:31 phil           Assigned To               => phil            
2009-02-27 02:33 phil           Note Added: 0005577                          
2009-02-27 11:10 skayser        Note Added: 0005581                          
======================================================================




More information about the bug-notifications mailing list