On 2020-06-26 10:34, Yasuhiro KIMURA wrote:
> When installing one package, it is quite common for several other
> packages to be automatically installed as dependencies. And output of
> `cygcheck -c` includes both of them. Then is there any way to list
> only manually installed package?

$ grep '\s1$' /etc/setup/installed.db   # manual
$ grep '\s0$' /etc/setup/installed.db   # auto

$ awk '1 == $3' /etc/setup/installed.db # manual
$ awk '0 == $3' /etc/setup/installed.db # auto

I can't remember what the pristine state of the Base category packages are,
I've messed around with the setup files so much for so long.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
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