From owner-freebsd-ports@FreeBSD.ORG Wed Apr 2 12:27:37 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 BC33537A for ; Wed, 2 Apr 2014 12:27:37 +0000 (UTC) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (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 81C59A22 for ; Wed, 2 Apr 2014 12:27:37 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i4so119720oah.38 for ; Wed, 02 Apr 2014 05:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grimstveit.no; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=5a4IHtCT8lOvKZXPgu5dMA2iVMsc9Rk6a5S1347h/kg=; b=cQD1UM9Ahjwjg951XBL4+By3Nki0UdRAAcn3HQicxWD5OayfDM66UPBX6YDPu0WP5s kXORzJuTJUcl6dpFhZuGBaV/J+SmLWdWL2i3nnydibEsCapaxmY8dGE3BwLupG6r9GCo dOcYTdWSf6Iag+CzHo1BIsUmRmssuY0XjDjMs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=5a4IHtCT8lOvKZXPgu5dMA2iVMsc9Rk6a5S1347h/kg=; b=ls0sXARZFM9ACQ+mCMQkBCt5xhrlA8PYIQWiQIEVJaiSNGnDxIY/3GwbBdYBNRwOmH Pa6L+LBG77L3Juut4npoHS8eh/8OF6ORAhXdYhfYfE2HETWNhlnY7iPKPFgcOe77/sk8 u/UQw0FxzXwDfCIE2uGBlA/D7dP76R42YM32bSYUey14xVb3mFbb2Cx27WxhS4xaDYHo yR8tqAU7b/tWzzM5nBDDF0ScKeiVl+N/RI1kYH4VImeGQCL4x6FMEz/5yd0GX1QTJwhd 9S/6vpllBnPeEwaq8Y68PmmJrjlGVCt6CQcxR7cwCrDOww+dLmcf853xbXqrWMCWLY9A 0kNA== X-Gm-Message-State: ALoCoQl32bgagEFFrr4Q7ihhtQkN9GSwePNxPHfaS4iIuKoRyeCPyezHOB0+8JvJmokSizVohOtg X-Received: by 10.60.115.129 with SMTP id jo1mr34387696oeb.0.1396441656753; Wed, 02 Apr 2014 05:27:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.80.225 with HTTP; Wed, 2 Apr 2014 05:27:16 -0700 (PDT) From: Jakob Breivik Grimstveit Date: Wed, 2 Apr 2014 14:27:16 +0200 Message-ID: Subject: Repair pkgng To: FreeBSD Ports mailing list Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Wed, 02 Apr 2014 12:27:37 -0000 Hi, After having done some half-hearted pkgng conversions back in the fbsd 9.x days I'm now on fbsd 10. I use `portmaster -a -v -d --delete-packages` to upgrade packages Trying to convert to new pkg format fails: # pkg2ng Converting packages from /var/db/pkg [...] Converting libyaml-0.1.6... pkg: Unable to open plist file: /var/db/pkg/libyaml-0.1.6/+CONTENTS Skipping invalid package: /var/db/pkg/libyaml-0.1.6 Converting gcc-ecj-4.5... pkg: Unable to open plist file: /var/db/pkg/gcc-ecj-4.5/+CONTENTS Skipping invalid package: /var/db/pkg/gcc-ecj-4.5 Converting cmake-modules-2.8.10.2... pkg: Unable to open plist file: /var/db/pkg/cmake-modules-2.8.10.2/+CONTENTS Skipping invalid package: /var/db/pkg/cmake-modules-2.8.10.2 [...] Analysing shared libraries, this will take a while... done These lines I get for every installed package (I assume). /etc/make.conf contains WITH_PKGNG=YES /var/db/pkg only contains these files: $ find /var/db/pkg [...] /var/db/pkg/libyaml-0.1.6 /var/db/pkg/libyaml-0.1.6/distfiles /var/db/pkg/gcc-ecj-4.5 /var/db/pkg/gcc-ecj-4.5/distfiles /var/db/pkg/cmake-modules-2.8.10.2 /var/db/pkg/cmake-modules-2.8.10.2/distfiles [...] portmaster -l and /contents of /var/db/pkg are also different (not very strange, I assume): $ portmaster -l | wc -l && find /var/db/pkg -type d -maxdepth 1|wc -l 206 267 How do I get myself safely over to using just pkgng, as I should on fbsd10? -- Vyrdsamt, Jakob Breivik Grimstveit | +47 4829 8152 http://grimstveit.no/jakob