On 16/11/2017 19:58, Paul Schmehl wrote: > --On November 16, 2017 at 8:49:24 PM +0100 Kurt Jaeger <[email protected]> > wrote: > >> Hi! >> >>> > ???There's nothing to iterate over. There's nothing in /var/db/pkg >>> > anymore except the SQLite databases. >>> >>> Then what is all this? (I'm only showing part of it. >>> >>> ls /var/db/pkg/ >>> FreeBSD.meta libXfixes-5.0.3 >>> p5-Net-Domain-TLD-1.74 >>> py27-qt4-dbussupport-4.12_1 >>> ImageMagick-6.9.2.10,1 libXfont-1.5.2,2 >>> p5-Package-Stash-0.37_1 >> >> Looks like you have some old-style pkg_xxxx leftovers. > > So, what should I do? I didn't setup this server to begin with. I > recall, a while back, instructions for switching to pkgng. Is that what > wasn't done?
Have you been using portmaster by any chance? portmaster uses old-style
per package directories in /var/db/pkg to keep some state. IIRC it's
not critical state and removing it will not break portmaster.
Given you have a working pkg(8) setup and pkg has an accurate
representation of the packages you have installed, then you can probably
remove all of those old-style directories without significant penalty.
Cheers,
Matthew
signature.asc
Description: OpenPGP digital signature
