FS#44850 - [paccache] prints success message even if no packages were removed due to an error.
Attached to Project:
Pacman
Opened by Karol Błażewicz (karol) - Monday, 04 May 2015, 19:22 GMT
Last edited by Allan McRae (Allan) - Tuesday, 11 October 2016, 10:30 GMT
Opened by Karol Błażewicz (karol) - Monday, 04 May 2015, 19:22 GMT
Last edited by Allan McRae (Allan) - Tuesday, 11 October 2016, 10:30 GMT
|
Details
I ran paccache w/o sudo and used ^C to quit when asked for
password. I got an error ... and a success message:
$ paccache -r ==> Privilege escalation required [sudo] password for karol: ==> ERROR: Unable to escalate privileges using sudo ==> finished: 23 packages removed (disk space saved: 154.37 MiB) $ paccache -d ==> finished dry run: 23 candidates (disk space saved: 154.37 MiB) $ sudo paccache -r ==> finished: 23 packages removed (disk space saved: 154.37 MiB) $ sudo paccache -r ==> no candidate packages found for pruning $ paccache --version paccache 4.2.1 Copyright (C) 2011 Dave Reisner <dreisner@archlinux.org> |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 11 October 2016, 10:30 GMT
Reason for closing: Won't fix
Additional comments about closing: the contrib directory has been removed
Tuesday, 11 October 2016, 10:30 GMT
Reason for closing: Won't fix
Additional comments about closing: the contrib directory has been removed