From owner-freebsd-ports@FreeBSD.ORG Thu Dec 16 17:00:50 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD4CF16A4E5; Thu, 16 Dec 2004 17:00:50 +0000 (GMT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACA4443D39; Thu, 16 Dec 2004 17:00:50 +0000 (GMT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.13.1/8.13.1) with ESMTP id iBGH0nUc066089; Thu, 16 Dec 2004 09:00:49 -0800 (PST) (envelope-from admin2@enabled.com) From: "Noah" To: Adam Weinberger Date: Thu, 16 Dec 2004 09:00:49 -0800 Message-Id: <20041216170013.M32896@enabled.com> In-Reply-To: <20041216153127.GA36199@toxic.magnesium.net> References: <20041216152827.M31428@enabled.com> <20041216153127.GA36199@toxic.magnesium.net> X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 67.161.56.189 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: freebsd-ports@freebsd.org Subject: Re: updating pkgdb results invalid argument X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 17:00:51 -0000 On Thu, 16 Dec 2004 10:31:27 -0500, Adam Weinberger wrote > >> (12.16.2004 @ 1028 PST): Noah said, in 0.4K: << > > FreeBSD-4.9 > > > > any clues why this is happening? the update of the package DB ends off with > > invalid argument. > > > > --- snip ---- > > > > # pkgdb -Fu > > ---> Updating the pkgdb > > Invalid argument > >> end of "updating pkgdb results invalid argument" from Noah << > > The arguments -F and -u are incompatible. One fixes a preexisting > database, and one creates a new one. Did you mean to use pkgdb -fu? > actually I dont see it that way from the man page. they are not incompatible arguments and have worked before for me. --- snip --- from man pkgdb(1): -F --fix Interactively fix the package registry database. -u --update Update or create the package database file pkgdb.db in $PKG_DBDIR, which is /var/db/pkg by default. Note: if the ports database files are stale, pkgdb will automatically update them before proceding, so manual updating is not mandatory. --- snip --- cheers, Noah > # Adam > > -- > Adam Weinberger > adamw@magnesium.net || adamw@FreeBSD.org > adamw@vectors.cx || adamw@gnome.org > http://www.vectors.cx > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"