Date: Wed, 2 Apr 2014 14:27:16 +0200 From: Jakob Breivik Grimstveit <jakob@grimstveit.no> To: FreeBSD Ports mailing list <freebsd-ports@freebsd.org> Subject: Repair pkgng Message-ID: <CAFVH1KULq8wfn4HDTE6L6v5hg0XQhYZFOj4QVfsCVUMZ9hTKGw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFVH1KULq8wfn4HDTE6L6v5hg0XQhYZFOj4QVfsCVUMZ9hTKGw>