Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#58379 - pacman -Rs does not remove unrequired optional dependencies
Attached to Project:
Pacman
Opened by Reeto Chatterjee (ratorx) - Saturday, 28 April 2018, 14:39 GMT
Opened by Reeto Chatterjee (ratorx) - Saturday, 28 April 2018, 14:39 GMT
|
DetailsSummary and Info:
pacman -Rs does not install unrequired optional dependencies when uninstalling a package. The optional package becomes an orphan and is removed when subsequently running pacman -Rs $(pacman -Qtdq) afterwards. Steps to Reproduce: 1. Install a package which has optional dependencies and at least one of these dependencies (which is unrequired by another package) 2. Run pacman -Rs package As a concrete example, neofetch can be installed with the dependency xorg-xrandr. When uninstalling neofetch with pacman -Rs, xorg-xrandr is not added to the uninstall list. |
This task depends upon
Comment by Eli Schwartz (eschwartz) -
Sunday, 29 April 2018, 03:25 GMT
Currently we do very little optdepends handling at all. This could be seen as useful for general improvements along the lines of FS#11337.