Talk:Pacman/Rosetta

From ArchWiki
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 -.

zypper >= 1.9.2 can list orphans after a package was removed by using --unneeded. See this issue and the manual.

--Markus00000 (talk) 07:39, 25 August 2016 (UTC)

Indeed. It seems zypper rm -u is equivalent to pacman -Ru. On the other side, the command zypper pa --unneeded prints all unneeded packages, but not in easily pipe-able output for a remove command. How about "zypper pa --unneeded to list packages, then append them to zypper rm" ? -- Josephgbr (talk) 17:35, 27 August 2019 (UTC)

pacdiff?

I think a row for pacdiff with stuff like rpmconf -a would be helpful, but I'm not sure which would be the best section for it. -- ImNtReal (talk) 14:16, 4 January 2017 (UTC)