Hello, On 2022-02-09 11:49, Andreas Schwab wrote:
On Feb 09 2022, Johannes Meixner wrote:
To show all directly required dependencies for an already installed RPM package I use
# rmp -e --test installed_package
Then one has to do that recursively for what was listed to get the transitive closure.
Running zypper rm --dry-run should show you the whole list.
Yes! Example: # zypper rm --dry-run cups ... The following 7 packages are going to be REMOVED: OpenPrintingPPDs-ghostscript OpenPrintingPPDs-postscript cups cups-filters cups-pk-helper cups-pk-helper-lang hplip # rpm -e --test cups error: Failed dependencies: ... needed by ... cups-filters-... ... needed by ... cups-pk-helper-... ... needed by ... hplip-... # rpm -e --test cups-filters error: Failed dependencies: ... needed by ... OpenPrintingPPDs-postscript-... ... needed by ... OpenPrintingPPDs-ghostscript-... ... needed by ... hplip-... # rpm -e --test cups-pk-helper error: Failed dependencies: ... needed by ... cups-pk-helper-lang-... # rpm -e --test cups-pk-helper-lang [no output] # rpm -e --test OpenPrintingPPDs-postscript [no output] # rpm -e --test OpenPrintingPPDs-ghostscript [no output] # rpm -e --test hplip [no output] Kind Regards Johannes Meixner -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5 - 90409 Nuernberg - Germany (HRB 36809, AG Nuernberg) GF: Ivo Totev