pkg_add ignoring PKG_PATH!
Tom Hines
tom_hines at yahoo.com
Mon Apr 14 21:43:41 PDT 2003
> --- Kris Kennaway <kris at obsecurity.org> wrote:
> > On Mon, Apr 14, 2003 at 08:28:52PM -0700, Tom
> Hines
> > wrote:
> >
> > > cp838536-b# set PKG_PATH=/usr/ports/packages/All
> >
> > Set it to /usr/ports/packages/ instead; the
> > subdirectories are
> > automatically appended by pkg_add according to the
> > canonical structure
> > (see the layout of the package directories on the
> > ftp site).
> >
> > Kris
>
> cp838536-b# set PKG_PATH=/usr/ports/packages
> cp838536-b# pkg_add -n ispell-3.2.06_3.tgz
> pkg_add: can't stat package file
> 'ispell-3.2.06_3.tgz'
> pkg_add: 1 package addition(s) failed
> cp838536-b# set PKG_PATH=/usr/ports/packages/
> cp838536-b# pkg_add -n ispell-3.2.06_3.tgz
> pkg_add: can't stat package file
> 'ispell-3.2.06_3.tgz'
> pkg_add: 1 package addition(s) failed
> cp838536-b# echo $PKG_PATH
> /usr/ports/packages/
>
> cp838536-b# uname -a
> FreeBSD cp838536-b 4.8-STABLE FreeBSD 4.8-STABLE #0:
> Sun Apr 13 01:06:43 EDT 2003
> tom at cp838536-b:/usr/obj/usr/src/sys/CUSTOM i38
cp838536-b# ls -l /usr/ports/packages/All/ispell*
-rw-r--r-- 1 root wheel 2665091 Nov 13 08:48
/usr/ports/packages/All/ispell-3.2.06_2.tgz
-rw-r--r-- 1 root wheel 2665345 Mar 19 06:40 /usr/ports/packages/All/ispell-3.2.06_3.tgz
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
More information about the freebsd-questions
mailing list