[csw-users] No such file `SunOS'.

Sam Nelson blastwave at unix.ms
Sat Dec 10 20:12:04 CET 2005


Hey all

Hopefully someone can help me, I'm going slightly mad with this one.

All of a sudden a few days ago I seem to be getting an error when running
pkg-get. I log into the ftp site ok, then get "No such file `SunOS'."
after A RETR SunOS (presumably by the wget/ftp client). But why is it
looking for a SunOS file? This doesn't exist on any server iirc.

Checked pkg-get.conf for gremlins, nothing bad there.

Tried a different mirror, same problem.

Checked wgetrc - nothing bad there.

Here's the error in full:

root at fatty|/> pkg-get -U
WARNING: gpg not found
NOTE: To have checksums compared, you must install one of:
  md5  or gmd5sum (gmd5sum is available with GNU textutils)
  try 'pkg-get install textutils'
Getting catalog...
--18:57:25--  ftp://ftp.ibiblio.org/pub/packages/solaris/csw/unstable/SunOS
           => `SunOS'
Resolving ftp.ibiblio.org... 152.2.210.80
Connecting to ftp.ibiblio.org|152.2.210.80|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/packages/solaris/csw/unstable ... done.
==> PASV ... done.    ==> RETR SunOS ...
No such file `SunOS'.

ERROR: could not get catalog file

root at fatty|/> which pkg-get wget
/opt/csw/bin/pkg-get
/opt/csw/bin/wget

root at fatty|/> echo $PATH
/opt/csw/bin:/opt/csw/sbin:/cw/local/bin:/cw/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/nsr:/usr/sbin/nsr:/opt/simian/bin:/opt/simian/sbin:/opt/NTLIservl/sbin/:/opt/NTLIservl/bin/:.

root at fatty|~> echo $LD_LIBRARY_PATH
<returns nothing>

And here's my pkg-get.conf

root at fatty|~> cat /opt/csw/etc/pkg-get.conf
# Configuration file for "pkg-get"
# man pkg-get for details on the program

# This config file has been pre-customized for use with CSW packages.
# The latest set of CSW mirrors is always available at
#  http://www.blastwave.org/mirrors.html

# default site, in USA:
#url=http://ibiblio.org/pub/packages/solaris/csw/unstable
#url=ftp://ftp.mirror.ac.uk/sites/blastwave.org/unstable
url=ftp://ftp.ibiblio.org/pub/packages/solaris/csw/unstable
# secondary US mirror
#url= http://mirrors.usc.edu/pub/blastwave/unstable

# Denmark mirror. FTP preferred.
#url=ftp://mirrors.sunsite.dk/mirrors/csw/unstable
#url=http://mirrors.sunsite.dk/csw/unstable


# If you are behind a firewall, set one of these as appropriate
#ftp_proxy=http://your-proxy:8023
#http_proxy=http://your-proxy:8023
#export http_proxy ftp_proxy

# You may also set PROXYFLAGS in your environment to set flags
# for wget like
# export PROXYFLAGS="--proxy-user=xxxx --proxy-passwd=yyy"
# Or set them here. but make sure the perms are readable.
# And consider that anyone on the machine can check your environment
# and grab the user/password combo.

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


# pkg-get defaults to downloading to /var/run/[special]
# Since this is a memory-based filesystem, you may want to change this
# to some other secure location.
# Note that it MUST HAVE $$ -- tempdir MUST BE UNIQUE TO EACH PROCESS
# PKGGET_DOWNLOAD_DIR=/some/large/dir/pkg-get.$$

# To disable use of gpg or md5, uncomment these
#use_gpg=false
#use_md5=false

Anyone have an idea?

cheers

Sam




More information about the users mailing list