Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 10:50:34 -0600
From:      Joshua Lokken <joshua.lokken@gmail.com>
To:        Lapo Nustrini <lapo@seanet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: updating pkgdb results invalid argument
Message-ID:  <bc5b63850412160850c910ff3@mail.gmail.com>
In-Reply-To: <F93D98CE-4F80-11D9-94EE-000A958CDFF6@seanet.com>
References:  <20041216062022.M96938@enabled.com> <F93D98CE-4F80-11D9-94EE-000A958CDFF6@seanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Dec 15, 2004, at 10:21 PM, Noah wrote:
> 
> > 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
On Thu, 16 Dec 2004 08:38:54 -0800, Lapo Nustrini <lapo@seanet.com> wrote:
> Are you sure you don't mean to do:
> 
> # pkgdb -fu
> 
> Lapo

Lapo, please don't top post.


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.


-- 
Joshua Lokken
Open Source Advocate



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