Concerning pkgng

Ben Morrow ben at morrow.me.uk
Tue Feb 11 05:01:30 UTC 2014


Quoth "Montgomery-Smith, Stephen" <stephen at missouri.edu>:
> So I have started using pkgng.  It is extremely easy to convert, it runs
> very fast, and I really like it.
> 
> However, it would be nice if the old pkg_install, pkg_info, etc programs
> were somehow disabled on FreeBSD-8.  Maybe they could look inside
> /etc/make.conf and see if /var/db/pkg/local.sqlite exists, and then
> decide not to operate.
> 
> The reason for this is because I can easily see me accidentally doing
> pkg_delete instead of pkg delete.  And especially since pkg convert
> seems to leave all the old directories in /var/db/pkg, I can see this
> creating quite a mess.
> 
> I know I can simply delete the pkg_delete, pkg_info binaries.  But I'll
> have to remember to do that each time I remake world.

Put

    WITHOUT_PKGTOOLS=1

in your /etc/src.conf. (Remember to make delete-old next time you build
world.)

Ben



More information about the freebsd-stable mailing list