From owner-freebsd-questions Fri Feb 28 08:23:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA04093 for questions-outgoing; Fri, 28 Feb 1997 08:23:54 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA04085 for ; Fri, 28 Feb 1997 08:23:51 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id IAA00305; Fri, 28 Feb 1997 08:23:38 -0800 (PST) To: Michael Alwan cc: questions@freebsd.org Subject: Re: bug in pkg_install with large packages In-reply-to: Your message of "Fri, 28 Feb 1997 10:38:19 EST." <3.0.1.32.19970228103819.006d7324@rma.edu> Date: Fri, 28 Feb 1997 08:23:38 -0800 Message-ID: <301.857147018@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Any more ideas? I downloaded /usr-sbin/pkg_install from the stable tree > along with the Makefile and Makefile.inc that you suggested. "Make all > install" appeared to succeed. Rebooted, tried again to install xemacs, ran > into same problem with "file dosen't really exist" messages and no files > installed. How did you get the -stable tree, if I may ask? Via CVSup? If it was via FTP, then you will actually have to wait another 20 hours or so since I *just* fixed that problem in 2.1-stable (I'd already fixed it in -current and 2.2 when your message reminded me that I needed to put it in 2.1 as well) and the update scripts are only run once a day (at 3am or so). Actually, now that I think about it, the fix is simple enough that I can just describe here so that you can make the change by hand if necessary. :-) Go into pkg_install/add and edit extract.c, going to line 56. If you see this: maxargs = sysconf(_SC_ARG_MAX); maxargs -= 64; Then change it to this: maxargs = sysconf(_SC_ARG_MAX) / 2; (and delete the line where maxargs is further decremented). Thanks! Jordan