slipbits via Cygwin writes:
> But It won't work - well. I have 1446 packages. I could, through the
> magic of sed, gawk, cut, ... create a single -P list, but that looks
> so unbelievably ugly that I must defer. But I didn't notice -P and
> thanks for that.
>
> The reference
> https://cygwin.com/pipermail/cygwin/2023-November/254868.html does
> produce a big -P.

I have a considerably larger installation and there are only 407 leaf
packages (that are not required by other installed packages) after
filtering out source, debuginfo and development packages (development
would be another 374).  Each of these sets is around 7000 characters, so
easily within the limits of the Windows command line even when stitched
together:

 ( cygcheck -cn | grep -Ev -- '-(debuginfo|src|devel)' | \
 xargs -P0 -I: sh -c \
 'cygcheck --requires -e : | wc | sed -nE "/ +0 +0 +0/c\:"' ) | tr \\n ,

That set actually includes base packages too (as those are not listed in
the requirements of other packages and cygcheck does not offer a way to
filter them out), but aside from them getting unnecessarily listed (and
later marked as manually installed) no real harm is done.

> The reference
> https://cygwin.com/pipermail/cygwin/2015-September/223509.html I have
> yet to try. I have to find out how to make the packages 'outdated' and
> then I'm good to go - I know that this was spelled out in the email
> but I'd like to see if there is an alternative.

It gives you the necessary command to do that edit right there, I don't
get what alternatives you're looking for.  Do a barebones base-install,
drop in the installed.db from the old computer, run that command in a
Cygwin terminal, leave Cygwin and restart setup.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

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

Reply via email to