Re: portmaster/pkg still populating /var/db/pkg/

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Sun, 04 May 2014 10:04:37 +0100
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



Received on Sun May 04 2014 - 07:05:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC