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#16279 - pacman -Sc extension with arguments
Attached to Project:
Pacman
Opened by Laszlo Papp (djszapi) - Sunday, 20 September 2009, 08:35 GMT
Last edited by Allan McRae (Allan) - Saturday, 03 October 2009, 10:08 GMT
Opened by Laszlo Papp (djszapi) - Sunday, 20 September 2009, 08:35 GMT
Last edited by Allan McRae (Allan) - Saturday, 03 October 2009, 10:08 GMT
|
DetailsHello!
It would be nice if pacman could handle package cleaning with arguments in regex way. Example usage: pacman -Sc alsa* -> remove the files from package cache dir which start with 'alsa' pacman -Sc mpd-0.15.2 mc-4.6.1 -> remove mpd-0.15.2-1-$arch.pkg.tar.gz and mc-4.6.1-5-$arch.pkg.tar.gz. (you could combine with =, =>, =< too e.g.) Thanks in advance. |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 03 October 2009, 10:08 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Saturday, 03 October 2009, 10:08 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Anyway, I know what Dan is going to say to this. Same as he always says to advanced cache cleaning... "pacman is not a cache cleaning tool".
Considering what you said is simply an alias for "rm /var/cache/pacman/pkg/<globexpression>", I see very little added value here.
As a side note, I realized there was still one TODO in our current cache cleaning code, so I will have a patch for that shortly...