zypper question

I’ve been updating a TW minimal mate installation since May with the default settings in /etc/zypp/zypp.conf. After noticing that unrequired packages were sometimes being installed during updates, I changed solver.onlyRequires to true in the zypp.conf file. Is there any way to get a list of packages that have been installed as recommends during the “zypper dup” commands?

Thanks,
Gene

erlangen:~ # zypper packages --help
packages (pa) [OPTIONS] [REPOSITORY] ...

List all packages available in specified repositories.

  Command options:

    --orphaned              Show packages which are orphaned (without repository). Default: false
    --suggested             Show packages which are suggested. Default: false
    --recommended           Show packages which are recommended. Default: false
    --unneeded              Show packages which are unneeded. Default: false
-N, --sort-by-name          Sort the list by package name. Default: false
-R, --sort-by-repo          Sort the list by repository. Default: false
-r, --repo <ALIAS|#|URI>    Work only with the specified repository.
-i, --installed-only        Show only installed packages.
-u, --not-installed-only    Show only packages which are not installed.

erlangen:~ # 

Thanks!

Gene

A grep command is needed to filter the auto installed packages:

zypper pa --recommended -i | grep ‘^i^+]’

Gene