FS#58832 - [pacman] pacman -Rs should check for dependencies

Attached to Project: Arch Linux
Opened by Christian Rebischke (Shibumi) - Friday, 01 June 2018, 18:28 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 01 June 2018, 23:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Correct me If I am wrong.. but shouldn't `pacman -Rs` check for unused dependencies?
I tried this with openssl and wpa_supplicant (checkout my attached log).

I am not able to remove openssl via `pacman -R openssl`. But i can remove it with `pacman -Rs wpa_supplicant`
According to zsh completions -Rs does:

-s -- Remove dependencies not required by other packages

> not required by other packages..

But according to pactree -r openssl it's required by python, curl, git, and many others..
   tmp (2.6 KiB)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 01 June 2018, 23:00 GMT
Reason for closing:  Not a bug

Loading...