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#48818 - [paccache] false and misleading output if number of packages to keep is 0
Attached to Project:
Pacman
Opened by Gordian Edenhofer (Edenhofer) - Tuesday, 05 April 2016, 13:11 GMT
Last edited by Allan McRae (Allan) - Tuesday, 11 October 2016, 10:30 GMT
Opened by Gordian Edenhofer (Edenhofer) - Tuesday, 05 April 2016, 13:11 GMT
Last edited by Allan McRae (Allan) - Tuesday, 11 October 2016, 10:30 GMT
|
DetailsThe script paccache produces false and misleading output if the number of packages to keep is set to 0.
To reproduce this bug simply run "paccache -rk0 -c <FOLDER WITH NO PACKAGES>" as test. The output looks similiar to this: stat: cannot stat '/srv/http/*.pkg.tar?(.+([^.]))': No such file or directory rm: cannot remove '/srv/http/*.pkg.tar?(.+([^.]))': No such file or directory ==> finished: 1 packages removed (disk space saved: 0 B) |
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
I just encountered this bug. I don't get what this has to do with the contrib directory.
I am using paccache (pacman) v5.0.1
Running `paccache -rk0` with an empty cache directory gives:
stat: cannot stat '/var/cache/pacman/pkg/*.pkg.tar?(.+([^.]))': No such file or directory
==> Privilege escalation required
rm: cannot remove '/var/cache/pacman/pkg/*.pkg.tar?(.+([^.]))': No such file or directory
==> finished: 1 packages removed (disk space saved: 0 B)