Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2003 09:39:03 -0500
From:      "Jim Flowers" <jflowers@ezo.net>
To:        freebsd-questions@freebsd.org
Subject:   pkg_create error help
Message-ID:  <20030524142346.M92078@ezo.net>

next in thread | raw e-mail | index | archive | help
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<jflowers@ezo.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030524142346.M92078>