*BSD News Article 54137


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!news.gmi.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!hoho.quake.net!hilbert.dnai.com!usenet
From: Karl Wiebe <karl@dnai.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Pkg_add fails on 1026 SNAP
Date: 2 Nov 1995 13:27:59 GMT
Organization: Direct Network Access 
Lines: 25
Message-ID: <47ah0v$2t4@hilbert.dnai.com>
References: <479d33$mih@shore.shore.net> <DHEtnH.B0I@ritz.mordor.com>
NNTP-Posting-Host: sol.dnai.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.4 sun4m)
X-URL: news:DHEtnH.B0I@ritz.mordor.com

ritz@ritz.mordor.com (Chris Mauritz) wrote:
>witr@spooky.rwwa.com wrote:
>: Is it me or the software?  Every pkg I try to install fails...:
[ snip, snip, snip! ]
>: harvey# pkg_add bash-1.14.5.tgz
>: tar: can't open archive ./bash-1.14.5.tgz : No such file or directory
>: tar: child returned status 3
>: tar: +CONTENTS not found in archive
>: Unable to open table of contents file `+CONTENTS' - not a package?

There appear to be *many* bugs in the pkg_{add,remove,info} utilities in the
last few SNAPs.

I think Jordan mentioned this himself. I only hope they don't make it onto the
2.1-RELEASE CD...

As workaround, in many cases pkg_add will work if you give the full pathname
of the .tgz file, but there are other bugs too. As an example, I tried to abort
a very verbose pkg_info command with multiple ^C ( OK, I know it was not the
most sensible way... ) and the result was ALL MY PACKAGES WERE DELETED!!!

I must therefore recommend extreme caution using these utilities.

--Karl