From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 05:42:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC2F637B401 for ; Wed, 16 Apr 2003 05:42:37 -0700 (PDT) Received: from web11503.mail.yahoo.com (web11503.mail.yahoo.com [216.136.172.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E73D43F3F for ; Wed, 16 Apr 2003 05:42:37 -0700 (PDT) (envelope-from tom_hines@yahoo.com) Message-ID: <20030416124237.26488.qmail@web11503.mail.yahoo.com> Received: from [68.50.228.42] by web11503.mail.yahoo.com via HTTP; Wed, 16 Apr 2003 05:42:37 PDT Date: Wed, 16 Apr 2003 05:42:37 -0700 (PDT) From: Tom Hines To: Kris Kennaway In-Reply-To: <20030415070347.GA62600@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd questions Subject: Re: pkg_add ignoring PKG_PATH! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 12:42:38 -0000 --- Kris Kennaway wrote: > On Mon, Apr 14, 2003 at 09:40:26PM -0700, Tom Hines > wrote: > > > 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' > > ktrace suggests setting > PKG_PATH=/usr/ports/packages/All and using > pkg_add -n ispell-3.2.06_3 Still fails whether or not I add the '.tgz'. Here's my ktrace: cp838536-b# set PKG_PATH=/usr/ports/packages/All cp838536-b# echo $PKG_PATH /usr/ports/packages/All 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 cp838536-b# ktrace pkg_add -n ispell-3.2.06_3.tgz cp838536-b# kdump 289 ktrace RET ktrace 0 289 ktrace CALL execve(0xbfbff640,0xbfbffb4c,0xbfbffb58) 289 ktrace NAMI "/sbin/pkg_add" 289 ktrace RET execve -1 errno 2 No such file or directory 289 ktrace CALL execve(0xbfbff640,0xbfbffb4c,0xbfbffb58) 289 ktrace NAMI "/bin/pkg_add" 289 ktrace RET execve -1 errno 2 No such file or directory 289 ktrace CALL execve(0xbfbff640,0xbfbffb4c,0xbfbffb58) 289 ktrace NAMI "/usr/sbin/pkg_add" 289 ktrace NAMI "/usr/libexec/ld-elf.so.1" 289 pkg_add RET execve 0 289 pkg_add CALL mmap(0,0x7b8,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 671510528/0x28067000 289 pkg_add CALL munmap(0x28067000,0x7b8) 289 pkg_add RET munmap 0 289 pkg_add CALL __sysctl(0xbfbffa00,0x2,0x28066168,0xbfbff9fc,0,0) 289 pkg_add RET __sysctl 0 289 pkg_add CALL mmap(0,0x8000,0x3,0x1002,0xffffffff,0,0,0) 289 pkg_add RET mmap 671510528/0x28067000 289 pkg_add CALL geteuid 289 pkg_add RET geteuid 0 289 pkg_add CALL getuid 289 pkg_add RET getuid 0 289 pkg_add CALL getegid 289 pkg_add RET getegid 0 289 pkg_add CALL getgid 289 pkg_add RET getgid 0 289 pkg_add CALL open(0x28062192,0,0) 289 pkg_add NAMI "/var/run/ld-elf.so.hints" 289 pkg_add RET open 3 289 pkg_add CALL read(0x3,0xbfbff9e0,0x80) 289 pkg_add GIO fd 3 read 128 bytes 289 pkg_add RET read 128/0x80 289 pkg_add CALL lseek(0x3,0,0x80,0,0) 289 pkg_add RET lseek 128/0x80 289 pkg_add CALL read(0x3,0x2806b000,0x65) 289 pkg_add GIO fd 3 read 101 bytes "/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compa\ t/pkg:/usr/local/lib/kde3\0" 289 pkg_add RET read 101/0x65 289 pkg_add CALL close(0x3) 289 pkg_add RET close 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libfetch.so.3" 289 pkg_add RET access 0 289 pkg_add CALL open(0x28068020,0,0x28058297) 289 pkg_add NAMI "/usr/lib/libfetch.so.3" 289 pkg_add RET open 3 289 pkg_add CALL fstat(0x3,0xbfbffa28) 289 pkg_add RET fstat 0 289 pkg_add CALL read(0x3,0xbfbfe9f8,0x1000) 289 pkg_add GIO fd 3 read 4096 bytes 289 pkg_add RET read 4096/0x1000 289 pkg_add CALL mmap(0,0xc000,0x5,0x20002,0x3,0,0,0) 289 pkg_add RET mmap 671543296/0x2806f000 289 pkg_add CALL mprotect(0x28078000,0x1000,0x7) 289 pkg_add RET mprotect 0 289 pkg_add CALL mprotect(0x28078000,0x1000,0x5) 289 pkg_add RET mprotect 0 289 pkg_add CALL mmap(0x28079000,0x1000,0x3,0x12,0x3,0,0x9000,0) 289 pkg_add RET mmap 671584256/0x28079000 289 pkg_add CALL mmap(0x2807a000,0x1000,0x3,0x1012,0xffffffff,0,0,0) 289 pkg_add RET mmap 671588352/0x2807a000 289 pkg_add CALL close(0x3) 289 pkg_add RET close 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libmd.so.2" 289 pkg_add RET access 0 289 pkg_add CALL open(0x28068040,0,0x28058297) 289 pkg_add NAMI "/usr/lib/libmd.so.2" 289 pkg_add RET open 3 289 pkg_add CALL fstat(0x3,0xbfbffa28) 289 pkg_add RET fstat 0 289 pkg_add CALL read(0x3,0xbfbfe9f8,0x1000) 289 pkg_add GIO fd 3 read 4096 bytes 289 pkg_add RET read 4096/0x1000 289 pkg_add CALL mmap(0,0x9000,0x5,0x20002,0x3,0,0,0) 289 pkg_add RET mmap 671592448/0x2807b000 289 pkg_add CALL mprotect(0x28082000,0x1000,0x7) 289 pkg_add RET mprotect 0 289 pkg_add CALL mprotect(0x28082000,0x1000,0x5) 289 pkg_add RET mprotect 0 289 pkg_add CALL mmap(0x28083000,0x1000,0x3,0x12,0x3,0,0x7000,0) 289 pkg_add RET mmap 671625216/0x28083000 289 pkg_add CALL close(0x3) 289 pkg_add RET close 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libssl.so.3" 289 pkg_add RET access 0 289 pkg_add CALL open(0x28068060,0,0x28058297) 289 pkg_add NAMI "/usr/lib/libssl.so.3" 289 pkg_add RET open 3 289 pkg_add CALL fstat(0x3,0xbfbffa28) 289 pkg_add RET fstat 0 289 pkg_add CALL read(0x3,0xbfbfe9f8,0x1000) 289 pkg_add GIO fd 3 read 4096 bytes 289 pkg_add RET read 4096/0x1000 289 pkg_add CALL mmap(0,0x2f000,0x5,0x20002,0x3,0,0,0) 289 pkg_add RET mmap 671629312/0x28084000 289 pkg_add CALL mprotect(0x280ae000,0x1000,0x7) 289 pkg_add RET mprotect 0 289 pkg_add CALL mprotect(0x280ae000,0x1000,0x5) 289 pkg_add RET mprotect 0 289 pkg_add CALL mmap(0x280af000,0x3000,0x3,0x12,0x3,0,0x2a000,0) 289 pkg_add RET mmap 671805440/0x280af000 289 pkg_add CALL mmap(0x280b2000,0x1000,0x3,0x1012,0xffffffff,0,0,0) 289 pkg_add RET mmap 671817728/0x280b2000 289 pkg_add CALL close(0x3) 289 pkg_add RET close 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libcrypto.so.3" 289 pkg_add RET access 0 289 pkg_add CALL open(0x28068080,0,0x28058297) 289 pkg_add NAMI "/usr/lib/libcrypto.so.3" 289 pkg_add RET open 3 289 pkg_add CALL fstat(0x3,0xbfbffa28) 289 pkg_add RET fstat 0 289 pkg_add CALL read(0x3,0xbfbfe9f8,0x1000) 289 pkg_add GIO fd 3 read 4096 bytes 289 pkg_add RET read 4096/0x1000 289 pkg_add CALL mmap(0,0xf7000,0x5,0x20002,0x3,0,0,0) 289 pkg_add RET mmap 671821824/0x280b3000 289 pkg_add CALL mprotect(0x28193000,0x1000,0x7) 289 pkg_add RET mprotect 0 289 pkg_add CALL mprotect(0x28193000,0x1000,0x5) 289 pkg_add RET mprotect 0 289 pkg_add CALL mmap(0x28194000,0x13000,0x3,0x12,0x3,0,0xe0000,0) 289 pkg_add RET mmap 672743424/0x28194000 289 pkg_add CALL mmap(0x281a7000,0x3000,0x3,0x1012,0xffffffff,0,0,0) 289 pkg_add RET mmap 672821248/0x281a7000 289 pkg_add CALL close(0x3) 289 pkg_add RET close 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libc.so.4" 289 pkg_add RET access 0 289 pkg_add CALL open(0x280680a0,0,0x28058297) 289 pkg_add NAMI "/usr/lib/libc.so.4" 289 pkg_add RET open 3 289 pkg_add CALL fstat(0x3,0xbfbffa28) 289 pkg_add RET fstat 0 289 pkg_add CALL read(0x3,0xbfbfe9f8,0x1000) 289 pkg_add GIO fd 3 read 4096 bytes 289 pkg_add RET read 4096/0x1000 289 pkg_add CALL mmap(0,0x99000,0x5,0x20002,0x3,0,0,0) 289 pkg_add RET mmap 672833536/0x281aa000 289 pkg_add CALL mprotect(0x2822a000,0x1000,0x7) 289 pkg_add RET mprotect 0 289 pkg_add CALL mprotect(0x2822a000,0x1000,0x5) 289 pkg_add RET mprotect 0 289 pkg_add CALL mmap(0x2822b000,0x5000,0x3,0x12,0x3,0,0x80000,0) 289 pkg_add RET mmap 673361920/0x2822b000 289 pkg_add CALL mmap(0x28230000,0x13000,0x3,0x1012,0xffffffff,0,0,0) 289 pkg_add RET mmap 673382400/0x28230000 289 pkg_add CALL close(0x3) 289 pkg_add RET close 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libssl.so.3" 289 pkg_add RET access 0 289 pkg_add CALL access(0x2806c000,0) 289 pkg_add NAMI "/usr/lib/libcrypto.so.3" 289 pkg_add RET access 0 289 pkg_add CALL mmap(0,0x3b8,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 673460224/0x28243000 289 pkg_add CALL munmap(0x28243000,0x3b8) 289 pkg_add RET munmap 0 289 pkg_add CALL mmap(0,0x548,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 673460224/0x28243000 289 pkg_add CALL munmap(0x28243000,0x548) 289 pkg_add RET munmap 0 289 pkg_add CALL mmap(0,0x2a0,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 673460224/0x28243000 289 pkg_add CALL munmap(0x28243000,0x2a0) 289 pkg_add RET munmap 0 289 pkg_add CALL mmap(0,0x1160,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 673460224/0x28243000 289 pkg_add CALL munmap(0x28243000,0x1160) 289 pkg_add RET munmap 0 289 pkg_add CALL mmap(0,0x5570,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 673460224/0x28243000 289 pkg_add CALL munmap(0x28243000,0x5570) 289 pkg_add RET munmap 0 289 pkg_add CALL mmap(0,0x3400,0x3,0x1000,0xffffffff,0,0,0) 289 pkg_add RET mmap 673460224/0x28243000 289 pkg_add CALL munmap(0x28243000,0x3400) 289 pkg_add RET munmap 0 289 pkg_add CALL sigaction(0x4,0xbfbffa80,0xbfbffa68) 289 pkg_add RET sigaction 0 289 pkg_add CALL sigprocmask(0x1,0,0x2806609c) 289 pkg_add RET sigprocmask 0 289 pkg_add CALL sigaction(0x4,0xbfbffa68,0) 289 pkg_add RET sigaction 0 289 pkg_add CALL sigprocmask(0x1,0x28066060,0xbfbffaa8) 289 pkg_add RET sigprocmask 0 289 pkg_add CALL sigprocmask(0x3,0x28066070,0) 289 pkg_add RET sigprocmask 0 289 pkg_add CALL lstat(0xbfbffc5c,0xbfbffa60) 289 pkg_add NAMI "ispell-3.2.06_3.tgz" 289 pkg_add RET lstat -1 errno 2 No such file or directory 289 pkg_add CALL lstat(0xbfbffc5c,0xbfbffa20) 289 pkg_add NAMI "ispell-3.2.06_3.tgz" 289 pkg_add RET lstat -1 errno 2 No such file or directory 289 pkg_add CALL umask(0x12) 289 pkg_add RET umask 18/0x12 289 pkg_add CALL sigaction(0x2,0xbfbffa78,0xbfbffa60) 289 pkg_add RET sigaction 0 289 pkg_add CALL sigaction(0x1,0xbfbffa68,0xbfbffa50) 289 pkg_add RET sigaction 0 289 pkg_add CALL stat(0xbfbff690,0xbfbfee30) 289 pkg_add NAMI "ispell-3.2.06_3.tgz" 289 pkg_add RET stat -1 errno 2 No such file or directory 289 pkg_add CALL write(0x2,0xbfbfce98,0x9) 289 pkg_add GIO fd 2 wrote 9 bytes "pkg_add: " 289 pkg_add RET write 9 289 pkg_add CALL write(0x2,0xbfbfcec8,0x2d) 289 pkg_add GIO fd 2 wrote 45 bytes "can't stat package file 'ispell-3.2.06_3.tgz'" 289 pkg_add RET write 45/0x2d 289 pkg_add CALL write(0x2,0xbfbfce98,0x1) 289 pkg_add GIO fd 2 wrote 1 byte " " 289 pkg_add RET write 1 289 pkg_add CALL sigaction(0x2,0xbfbfd5a8,0xbfbfd590) 289 pkg_add RET sigaction 0 289 pkg_add CALL sigaction(0x2,0xbfbfd5a8,0xbfbfd590) 289 pkg_add RET sigaction 0 289 pkg_add CALL exit(0x1) __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com