Re: pkg_add

From: Evren Yurtesen <yurtesen_at_ispro.net.tr>
Date: Fri, 19 Mar 2004 01:30:48 +0200
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Mar 18 2004 - 14:30:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC