From owner-freebsd-current@FreeBSD.ORG Sun May 4 09:05:01 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B56561D8 for ; Sun, 4 May 2014 09:05:01 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4785C107F for ; Sun, 4 May 2014 09:05:01 +0000 (UTC) Received: from seedling.local (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s4494kd6011175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 4 May 2014 10:04:48 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s4494kd6011175 Authentication-Results: smtp.infracaninophile.co.uk/s4494kd6011175; dkim=none reason="no signature"; dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host seedling.black-earth.co.uk [81.2.117.99] claimed to be seedling.local Message-ID: <536602A5.60301@FreeBSD.org> Date: Sun, 04 May 2014 10:04:37 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: portmaster/pkg still populating /var/db/pkg/ References: <20140504104621.86c2af9210cd9d865f191ffc@gmail.com> In-Reply-To: <20140504104621.86c2af9210cd9d865f191ffc@gmail.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r2hVVLANRtqC9TqV4q6VNeOKk3N5mhhS5" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2014 09:05:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --r2hVVLANRtqC9TqV4q6VNeOKk3N5mhhS5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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). >=20 > 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? >=20 > I'm using pkg-1.3.0.a10 and pkgconf-0.9.5, uname: >=20 > 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 --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --r2hVVLANRtqC9TqV4q6VNeOKk3N5mhhS5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTZgKtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATuFYQAIMXlUxZKhAQ/AGYjot8aLkR wdIdnbkOr5o2RuKJA048yaD7Bx2VOZMr6sOwzOoRQRN3BAGlbEXQA3bx4OJCZ99j ROCgWjLlgU+qmRKChTVSnGtTvbjvjcWYdYMdGdiz6Gr9S8a/jRpO59BptY/H8sXo zUpmp+NoRQLZWv1ZC2rzL3+G+VrWGabRaPmbs0EEN1jZP1z5neFfdguNlkDL5sIH QpRZSYJiUo6NTt1+c7l1D+SAco2kz2x6xxFWWho/5SUpJ2OZrZ0SvpeRl8mxC+oU C2W0HZZi8krgj91k0Vec7knOtfBws4i7qiDX/BWEPDpZSyEFkAz1ZMffmEX59Jd3 61WPGzGQnuBOGjGuXzKIS2VCG08sPL2g+4lQmQCI/Lzh+9FrTWhGBsRGlwLeQYYN Yk2iqfDzEdbD2ZHJcicBs+lrRBLp3NCpaiy9oelHWIDOEfjtF+aZky70+d2+idGL h5b77c7tF6UTBjL4JSmitJzqYKd4EuSAC2uN0vxGVfkNI+k1TfheSQncTo1Odi+5 otntJEg0CTsBCNW50JBpYuybOqStu9CnsZau/4gZf2Il+DbCCLgP1cIx3SkV/GfL Lj8GKpMKukrDFW94OVS3e31RiJdnz4xRaVXd8OpWlnSdhRRPgSZYMbdoCt9rDs+I /4jC2uYjKgfeGt4aYO1s =qDn7 -----END PGP SIGNATURE----- --r2hVVLANRtqC9TqV4q6VNeOKk3N5mhhS5--