pkg replacement for pkg_sort?

Robert Huff roberthuff at rcn.com
Sat Mar 30 14:53:36 UTC 2013


Matthew Seaman writes:
>  On 30/03/2013 13:17, Robert Huff wrote:
>  
>  > 	Am I too much of a zombie this morning, or is there nothing in
>  > the man page about how to do this?
>  
>  That's not functionality provided by pkgng at the moment,
>  although pkgng certainly has all the necessary data in repository
>  catalogues etc. to be able to sort a list of package origins with
>  all dependencies occurring before what requires them.  No one has
>  implemented that yet.
>  
>  However, pkg_sort(1) is part of portupgrade, and portupgrade
>  should be fully pkgng aware nowadays.  Did you try just using
>  pkg_sort?

	I did and do.
	I'm trying to move to a single tool for this set of tasks, and
pkg_sort is one of the (very) few things I haven't been able to
replace.  Unfortunately, that functionality is essential to several
scripts ....
	The other irreplaceable I can think of is "portsclean",
particularly the C, D, and L options.


>  If you'ld like something to be changed about either portupgrade
>  or pkgng in respect to this, then please open an issue --
>  
>    https://github.com/pkgtools/pkgtools/issues
>    https://github.com/pkgng/pkgng/issues

	Depends on how lazy I'm feeling at the moment.  :-)



				Robert Huff



More information about the freebsd-ports mailing list