Jump to navigation Jump to search
zypper rm -u does not remove orphans of a package that was removed
zypper rm -u requires an argument, for example a package name. The command can only remove orphans of a package during removal of that package. Once the package is removed, the command will not be equivalent to
pacman -Qdtq | pacman -Rs -.
- Indeed. It seems
zypper rm -uis equivalent to
pacman -Ru. On the other side, the command
zypper pa --unneededprints all unneeded packages, but not in easily pipe-able output for a remove command. How about "
zypper pa --unneededto list packages, then append them to
zypper rm" ? -- Josephgbr (talk) 17:35, 27 August 2019 (UTC)