updating pkgdb results invalid argument

Noah admin2 at enabled.com
Thu Dec 16 09:00:51 PST 2004


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 at magnesium.net || adamw at FreeBSD.org
> adamw at vectors.cx    ||   adamw at gnome.org
> http://www.vectors.cx
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list