portmaster/pkg still populating /var/db/pkg/

Matthew Seaman matthew at FreeBSD.org
Sun May 4 09:05:01 UTC 2014


On 04/05/2014 09:46, Marc UBM wrote:
> After my last port rebuild (libxml, libxcb, etc.) I realized that
> portmaster is still populating /var/db/pkg with the old db scheme (i.e.
> one directory for each port). At the same time, local.sqlite exists and
> is up to date (I can query the db via pkg just fine).
> 
> I switched to pkgng ages ago (sometime during the winter of 2011, I
> believe) - have I missed any necessary steps or is this a known quirk?
> 
> I'm using pkg-1.3.0.a10 and pkgconf-0.9.5, uname:
> 
> FreeBSD xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #19
> r258254:264321M: Fri Apr 11 06:31:35 CEST 2014
> xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP  amd64

It's a known thing.  portmaster uses a per-package subdir under
/var/db/pkg to stash some data about distfiles.  It just looks
superficially like the old-style pkg DB -- but rest assured, all the
data describing your installed packages is stored in local.sqlite

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140504/ff024820/attachment-0001.sig>


More information about the freebsd-current mailing list