updating pkgdb results invalid argument

Joshua Lokken joshua.lokken at gmail.com
Thu Dec 16 08:50:36 PST 2004


> 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 at 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


More information about the freebsd-questions mailing list