Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 01:30:48 +0200
From:      Evren Yurtesen <yurtesen@ispro.net.tr>
To:        Zen <zen8061@zen.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: pkg_add
Message-ID:  <405A3128.6010702@ispro.net.tr>
In-Reply-To: <FGECJDEHFNLFJMKMFJEOOEOKCMAA.zen8061@zen.co.uk>
References:  <FGECJDEHFNLFJMKMFJEOOEOKCMAA.zen8061@zen.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
You cant just add a tgz file as a package. It must be a special tgz file 
prepared as a package. You can think about this like sending chocolate 
with mail, the chocolate is packaged but not in a way that your local 
post would accept, you should repackage the chocolate and write 
instructions(address) over it. Some people who creates these packages 
for FreeBSD makes some information for pkg_add program to understand 
ready inside the tgz/tbz files and you can use the pkg_add program to 
install these packages.

Please read...
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html

I would suggest that you open the file with
tar zxvf scan-devel-4.29.2.tgz
and find installation instructions inside...
There must be some README or INSTALL files...or perhaps on the web site 
of this application...there should be some documentation...

You can get packages of many of the programs at
http://www.freebsd.org/ports/

Evren

Zen wrote:
> Hi,
> 
> I am on a big learning curve with FreeBSD but enjoying it every step of the
> way.  I have been sent a update which I am having trouble installing can
> some one tell me the error of my ways or point to the correct manual page
> for adding this package.  I can not use the ports program as it has not been
> added as a up date yet.
> 
> Below is the error I get
> 
> 
> pkg_add scan-devel-4.29.2.tgz
> tar: +CONTENTS: Not found in archive
> tar: Error exit delayed from previous errors
> pkg_add: tar extract of /tmp/scan-devel-4.29.2.tgz failed!
> pkg_add: unable to extract table of contents file from
> '/tmp/scan-devel-4.29.2.tgz' - not a package?
> 
> Thanks for any help or suggestions
> 
> Zen
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405A3128.6010702>