19 Apr
2023
19 Apr
'23
20:54
On Wednesday 2023-04-19 22:36, Achim Gratz wrote:
Jan Engelhardt writes:
Have you tried `rpm -qa --qf="%{NAME}\n"` and then feeding that list back into zypper?
That just gives me all installed packages, which is 8370 of them. I was hoping for some incantation that at least weeds out packages that were installed as dependencies of others or as part of a pattern from this list.
comm -23 <(rpm -qa --qf="%{NAME}\n" | sort) <(sort /var/lib/zypp/AutoInstalled)