On 7/1/2016 7:38 PM, Warren Young wrote:
On Jul 1, 2016, at 4:40 PM, Warren Young wrote:

I’ve written a script to do that automatically.

I’ve improved the script so that it no longer requires any parameters.  It 
finds the last-used setup.ini file and extracts the list of currently-installed 
packages, all on its own.

This script has a couple of problems. First, it doesn't take dependency loops into account. For example, if package p requires q and q requires p, then both will be marked as non-root. Second, if the mirror was used for both an x86 and x86_64 installation, it always uses the x86 setup.ini, regardless of the current architecture.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to