Do I want to switch to the new pkg(8) format?

Andrew Berg aberg010 at my.hennepintech.edu
Sat Dec 27 15:35:22 UTC 2014


On 2014.12.27 07:36, Matt Smith wrote:
> On Dec 26 19:10, Andrew Berg wrote:
>>On 2014.12.26 18:48, Warren Block wrote:
>>> Actually, pkg_cutleaves is a port and should be okay to use.  The name
>>> is due to it trying to look like the old pkg_* system programs.
>>> Probably we should say "do not use /usr/sbin/pkg_*".
>>Unless it has been updated recently, pkg_cutleaves doesn't support pkgng. It
>>does some weird things that make it look like it kind of works, but it doesn't.
>>pkg-rmleaf, however, does work with pkgng.
> 
> Hmmmm. I've been using pkg_cutleaves with pkgng for what must be coming 
> up to a year and haven't ever seen it do anything strange. Seems to work 
> fine to me. It definitely picks appropriate ports to delete and actually 
> uninstalls them using the proper pkgng tools. Can you elaborate a bit on 
> the weird things?
Perhaps it was just a bug or two that I encountered. It left the pkg database
in a bad state (or it couldn't read the database correctly), but I can't
remember the details since it's been so long.



More information about the freebsd-questions mailing list