From owner-freebsd-bugs Sun Mar 31 21:40:17 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C771437B41C for ; Sun, 31 Mar 2002 21:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g315e1U23623; Sun, 31 Mar 2002 21:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 434D537B41E for ; Sun, 31 Mar 2002 21:32:10 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g315WAC22059; Sun, 31 Mar 2002 21:32:10 -0800 (PST) (envelope-from nobody) Message-Id: <200204010532.g315WAC22059@freefall.freebsd.org> Date: Sun, 31 Mar 2002 21:32:10 -0800 (PST) From: Mark Fullmer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/36606: Adding packages with sysinstall failes after Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36606 >Category: conf >Synopsis: Adding packages with sysinstall failes after >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 31 21:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mark Fullmer >Release: 4.5-STABLE (20020327) >Organization: OARNet >Environment: FreeBSD base4.oar.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Mar 27 14:47:36 EST 2002 maf@base4.oar.net:/usr/src/sys/compile/BASE4 i386 >Description: pkg_add fails when the package is delivered via stdin (pkg_add -). This appears to have been triggered by gnu/30876, but the problem seems to be in pkg_add itself. sysinstall can no longer install packages. >How-To-Repeat: Before the buffer.c patch to tar in gnu/30876: char:/tmp# pkg_add - < zoo-2.10.1.tgz gzip: stdin: unexpected end of file tar: child returned status 1 The package is successfully installed though. After the buffer.c patch: char:/tmp# pkg_add - < zoo-2.10.1.tgz gzip: stdin: unexpected end of file tar: child returned status 1 pkg_add: tar extract of - failed! pkg_add: unable to extract `-'! >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message