Date: Tue, 8 Apr 2014 20:52:29 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Melvyn Sopacua <melvyn@magemana.nl> Cc: Jakob Breivik Grimstveit <jakob@grimstveit.no>, FreeBSD Ports mailing list <freebsd-ports@freebsd.org> Subject: Re: Repair pkgng Message-ID: <CAN6yY1tAUuua5CsrZOgVnLZrk88rzFqNMi2opakejPPExROcSA@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.1404082141290.61221@fire.magemana.nl> References: <CAFVH1KULq8wfn4HDTE6L6v5hg0XQhYZFOj4QVfsCVUMZ9hTKGw@mail.gmail.com> <alpine.BSF.2.00.1404082141290.61221@fire.magemana.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 8, 2014 at 12:44 PM, Melvyn Sopacua <melvyn@magemana.nl> wrote: > Hi, > > On Wed, 2 Apr 2014, Jakob Breivik Grimstveit wrote: > > > /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 >> [...] >> > > Why do you have files that portmaster sticks in /var/db/ports in > /var/db/pkg? > Did you perhaps switch those directories on restore or have a faulty > value in PORT_DBDIR? > If so, does +CONTENTS exist in /var/db/ports/libyaml-0.1.6? > No, once you run pkgng, these files are in /var/db/pkg. The only files in /var/db/ports are options files. What a large number of people seem to miss is that pkgng no longer uses /var/db/pkg/PORTNAME. It uses only /var/db/pkg/local.sqlite. All of the stuff that used to be in the /var/db/pkg/PORTNAME directories like +CONTENTS is obsolete. If you have it, it's leftovers from before converting to pkgng except for distfiles. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tAUuua5CsrZOgVnLZrk88rzFqNMi2opakejPPExROcSA>