Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 12:29:37 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        gahn <ipfreak@yahoo.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: pkgng and pkgdb
Message-ID:  <alpine.BSF.2.00.1402251221150.11582@wonkity.com>
In-Reply-To: <1393343788.39710.YahooMailNeo@web122301.mail.ne1.yahoo.com>
References:  <1393343788.39710.YahooMailNeo@web122301.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Feb 2014, gahn wrote:

> hi, all:
>
> i used to use "pkgdb -Ff" along with old wonderful "pkg_whatever" to keep my freebsd station healthy. but i was told the new era of pkg is coming and so i made switch to pkgng.
>
> the question is: what is the equivalent of "pkgdb -Ff"? for pkg?
>
> for "pkgdb -Ff", i am especially fond of its ability to fix those duplicated registrations. is the "pkg check -dB -av" the same as that "pkgdb -Ff"?

pkgdb is actually part of ports-mgmt/portupgrade, not the base system. 
It should not be needed with pkg, and pkg should be more resistant to 
getting two versions of the same port installed.

Be careful with pkg check, some of those options install missing 
dependencies, and it looks to me like some happily recalculate checksums 
to match installed files rather than detect changes.  The pkg-check(8) 
man page could use some examples, and possibly warnings.



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