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

Mantis Bug Tracker noreply at opencsw.org
Fri Feb 27 02:33:35 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 02:33 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. 

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                          
======================================================================




More information about the bug-notifications mailing list