From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:39:02 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 A50A537B401 for ; Sat, 24 May 2003 07:39:02 -0700 (PDT) Received: from lily.ezo.net (nsc.ezo.net [68.23.200.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id E26F143F3F for ; Sat, 24 May 2003 07:39:01 -0700 (PDT) (envelope-from jflowers@ezo.net) Received: from new.ezo.net (peony.ezo.net [68.23.200.11]) by lily.ezo.net (8.12.6/8.12.6) with ESMTP id h4OEd4Fa095321 for ; Sat, 24 May 2003 10:39:04 -0400 (EDT) (envelope-from jflowers@ezo.net) From: "Jim Flowers" To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 09:39:03 -0500 Message-Id: <20030524142346.M92078@ezo.net> X-Mailer: Open WebMail 1.90 20030310 X-OriginatingIP: 24.93.231.122 (jflowers) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: pkg_create error help 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: Sat, 24 May 2003 14:39:02 -0000 I run a number of FreeBSD 4.X servers going back to 4.4. When I download a port that wasn't included in the release, it makes and make installs OK until I get the error below. Then I rm -r /var/db/pkg/portname to get rid of the partial record (else it causes reporting problems) and the port works fine. Is there anything I can do to get around this without updating the OS (these are production servers)? Looks like it is just a wrong parameter or a missing set of quotes wherever pkg_create is called from (/usr/ports/Mk/bsd.port.mk?). Thanks Jim -------------typical error message---------------------------- ===> Registering installation for sarg-1.4.1 pkg_create: only one package name allowed ('analyzer' extraneous) usage: pkg_create [-YNOhvy] [-P pkgs] [-p prefix] [-f contents] [-i iscript] [-I piscript] [-k dscript] [-K pdscript] [-r rscript] [-t template] [-X excludefile] [-D displayfile] [-m mtreefile] [-o origin] -c comment -d description -f packlist pkg-filename pkg_create [-YNhvy] -b pkg-name [pkg-filename] -- Jim Flowers