Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 09:00:49 -0800
From:      "Noah" <admin2@enabled.com>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: updating pkgdb results invalid argument
Message-ID:  <20041216170013.M32896@enabled.com>
In-Reply-To: <20041216153127.GA36199@toxic.magnesium.net>
References:  <20041216152827.M31428@enabled.com> <20041216153127.GA36199@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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