From owner-freebsd-ports@FreeBSD.ORG Thu Apr 10 20:16:03 2014 Return-Path: Delivered-To: freebsd-ports@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 1C20D239 for ; Thu, 10 Apr 2014 20:16:03 +0000 (UTC) Received: from mail-oa0-x236.google.com (mail-oa0-x236.google.com [IPv6:2607:f8b0:4003:c02::236]) (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 DC1471FC6 for ; Thu, 10 Apr 2014 20:16:02 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n16so5151250oag.27 for ; Thu, 10 Apr 2014 13:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=uKUCoPYN2TYsxMHK/XRC0VD2cdQ6pNrpuehxc0Y7uog=; b=S3kc5ffBJzzrdLNUNGXWbtYn7jo/+OD/VcM3n+PCHARBjl7WynJMgYxMU1zQq1I8Rp IoBxgT2iHX1FrPgPGWxnMXGS+FAuH1ehfbP4JFRAK638tQQbbH+ydFymNFGLjxgZsTgb CGlaM0VMoBUP6L4CTOGfxecwUODHjoNU3JJUky6+EmmsoYo91+9EeYodU8GvhGIRIAP9 TkTFGyBBv9NvIZYTEQxRpeUS9Y4OJ4JbOCYXuCBEl6KqmJx7Yo4xSqXA2CHY4Yy5koSK 8uR50SlRBUXhPwSgIYYgQ1labbZ3/r+Dkvr+TOiZAD+XQOULPe4IOcIFN27q7jXNK1+D nYBQ== MIME-Version: 1.0 X-Received: by 10.60.115.129 with SMTP id jo1mr15929451oeb.0.1397160962137; Thu, 10 Apr 2014 13:16:02 -0700 (PDT) Received: by 10.60.60.105 with HTTP; Thu, 10 Apr 2014 13:16:02 -0700 (PDT) Date: Thu, 10 Apr 2014 22:16:02 +0200 Message-ID: Subject: Re: PKGNG + portmaster /var/db/pkg/ not empty From: Michael Schuh To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Scot Hetzel X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 20:16:03 -0000 ---------- Weitergeleitete Nachricht ---------- > From: Scot Hetzel > To: Michael Schuh > Cc: FreeBSD Ports > Date: Wed, 9 Apr 2014 22:31:01 -0500 > Subject: Re: PKGNG + portmaster /var/db/pkg/ not empty > On Wed, Apr 9, 2014 at 5:22 PM, Michael Schuh > wrote: > > Hi there, > > > > > > as far as i understood /var/db/pkg should be empty, after an fresh update > > to stable 10 and > > > > # pkg delete -a -f > > > > WITH_PKGNG=yes > > is set in /etc/make.conf > > > > the next inquiry of pkg asks for > > the installation of pkg. everything fine so far. > > > > now i would going to use the freshly updated ports tree > > to reinstall all packages starting with portmaster. > > the call up of > > > > # make config > > > > shows only a message like options changed, but no dialog. > > thanks google i could figure out to install dialog4 ports first, > > then i got this working again. > > > > for my opinion: > > it should get installed automatically or the dialog from the system > should > > get used > > or at least iot should printout a hint or error message. > > > > > > installing portmaster now and inquire an > > portmaster `cat installed-ports-list` like in the man page of portmaster > > recommended, i get the > > /var/db/pkg filled again. beside the local.sqlite db from pkng. > > > > for the fun, some packages didn'r installed files in /var/db/pkg. > > > > it are exactly 4 packages difference, any relation to MAKEARGS=-j4 ? > > > > Any ideas how to get rid of this behaviour? > > > > When portmaster is run, it creates a > /var/db/pkg/${PKGNAME}/PM_UPGRADE_DONE_FLAG file to keep track of > which ports it has upgraded. This allows portmaster to skip over > ports it has already upgraded. When it has successfully completed the > run, the PM_UPGRADE_DONE_FLAG is removed, but the > /var/db/pkg/$PKGNAME} is left behind. > > -- > DISCLAIMER: > > No electrons were maimed while sending this message. Only slightly bruised. > > Ha, ok thank you. Right the electrons get a bit more bruised then. i expected the portmaster consitent in his behaviour and cleanup. i thought of he respects WITH_PKGNG he would be aware, that he is the only one, who uses those dirs.