I'd like to check which packages were installed from non-free
component on my server, following the recent announcement by the Debian team
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
I briefly looked into man dpkg
, man apt-cache
but couldn't find a quick answer to my question. Could anyone suggest a command or a one-liner?
(I didn't even know the main
/contrib
/non-free
field is called a "component": https://wiki.debian.org/SourcesList#Component )