From owner-freebsd-current@FreeBSD.ORG Sun May 4 10:43:32 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BD206C9 for ; Sun, 4 May 2014 10:43:32 +0000 (UTC) Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9515117B9 for ; Sun, 4 May 2014 10:43:31 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id b15so3277544eek.26 for ; Sun, 04 May 2014 03:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=0KfOB1ht0Gbb44725Rs8S86gKtcvAmW4RbMtj5Pi8eY=; b=OrRpS+wbIIphjbDD9U2QnztagKuqPDOTsOlhnizfYY5QeUaseM1I+k64Jpc9OkFINB m4kxFLU3BH++r1FvAFNePf8khYAdgi80pywF97y0W49dyG1iYPqBZWrh+73zlilVeM+O o6lIGKuHyuYvD8Ek5Iu5HnoK9PP0yYL0MBNbYK8Fis7kC9HNuoRt7T4dG6gTfjWZjF8G N4Etq59yfcCDQh8kNy5KemV5VsAVNHL3XWQE7bftjkbLmUS1AKFZPXh3mgEiIRrHECWm FBKJoOQkHHmqHzvGpQ5ocF7cNujRM8+afWdI+zV3xwat7mcZ79vsptCgac9V5Ne3MUCu gkmg== X-Received: by 10.15.102.74 with SMTP id bq50mr25095210eeb.21.1399200209929; Sun, 04 May 2014 03:43:29 -0700 (PDT) Received: from ubm.strangled.net (188-195-103-177-dynip.superkabel.de. [188.195.103.177]) by mx.google.com with ESMTPSA id y7sm20043014eev.5.2014.05.04.03.43.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 May 2014 03:43:29 -0700 (PDT) X-Google-Original-From: Marc "UBM" Bocklet Date: Sun, 4 May 2014 12:43:27 +0200 From: Marc UBM To: freebsd-current@freebsd.org Subject: Re: portmaster/pkg still populating /var/db/pkg/ Message-Id: <20140504124327.6b9a65f1a5e1276fce7eb51e@gmail.com> In-Reply-To: <536602A5.60301@FreeBSD.org> References: <20140504104621.86c2af9210cd9d865f191ffc@gmail.com> <536602A5.60301@FreeBSD.org> X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 10:43:32 -0000 On Sun, 04 May 2014 10:04:37 +0100 Matthew Seaman wrote: > 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 Thanks a lot for the quick response - good to know there's no need to worry about that. With that out of the way, I have another question. On the same machine mentioned above, the pkg delete command aborts with (for example): root@ubm:/usr/ports/www/mod_scgi# pkg delete xmms Assertion failed: (pkg != NULL), function pkg_get2, file pkg.c, line 267. Child process pid=9220 terminated abnormally by signal: 6 I know I'm running the alpha branch of pkg, so if there is anything I can help with debugging that, let me know. Thanks, Marc