Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 05:01:19 +0000
From:      Ben Morrow <ben@morrow.me.uk>
To:        stephen@missouri.edu, freebsd-stable@freebsd.org
Subject:   Re: Concerning pkgng
Message-ID:  <20140211050114.GA7990@anubis.morrow.me.uk>
In-Reply-To: <52F9A3C9.6090804@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoth "Montgomery-Smith, Stephen" <stephen@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140211050114.GA7990>