[csw-users] pkg-get: no config file is used

Alex S Moore asmoore at edge.net
Wed Mar 30 02:45:07 CEST 2005

Daniel Seichter wrote:
> Hello Alex,
> I only have one pkg-get on my system, and the location is /opt/csw/bin.
> When I delete all files (pkg-get.conf and backup-files...) a find only
> found one pkg-get.conf in /opt/csw/etc and one pkg-get in /opt/csw/bin.
> The output of starting /opt/csw/bin/pkg-get without parameters:
> **************************************
> # /opt/csw/bin/pkg-get
> pkg-get (SCCS revision 2.59)
> from http://www.bolthole.com/solaris/
> ...
> **************************************
> Daniel
Interesting Daniel.  Well, I thought that sounded fine, i.e., until I 
ran pkg-get without parameters and saw that I had SCCS revision 2.55. 
So I updated CSWpkgget.  Then I changed my /opt/csw/etc/pkg-get.conf to 
set the uni-erlangen.de as my mirror.  Then running `pkg-get -U` 
produced the following:
[root at sws602 ~]# pkg-get -U
ERROR: /etc/pkg-get.conf not present
Creating a default file
Getting catalog...
--18:20:56--  ftp://ftp.sunfreeware.com/pub/freeware/sparc/5.10/catalog
            => `catalog'
Resolving mcsrv1.mcs.local...
Connecting to mcsrv1.mcs.local[]:8080... connected.
Proxy request sent, awaiting response... ^C[root at sws602 ~]#

So...  Time to get Phil involved.  The file /etc/pkg-get.conf was 
created by pkg-get and look where the default is pointing.  Maybe there 
is some reason for this, but I do not see it.

Current version:
[root at sws602 ~]# pkgparam CSWpkgget VERSION

For now, please add the uni-erlangen.de lines just above the proxy 
information in the file /etc/pkg-get.conf.  Or if you had a working 
/opt/csw/etc/pkg-get.conf, copy it to /etc/pkg-get.conf and add the 
desired lines.  Or from the root directory, apply the attached patch to 
the default /etc/pkg-get.conf.

I will email Phil.

Thanks for reporting this,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-pkg-get.conf
URL: <http://lists.opencsw.org/pipermail/users/attachments/20050329/b2a29fbf/attachment.conf>

More information about the users mailing list