FS#8061 - Remove uninstalled packages from pacman-cache

Attached to Project: Pacman
Opened by Anonymous (Chaos-Keeper) - Wednesday, 19 September 2007, 12:23 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 28 November 2007, 21:50 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.5
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
I would like to have the possibility to remove uninstalled packages from /var/cache/pacman/pkg/ with something like "pacman -Sc*" (instead of * something that could fit there). I think this would be nice, because right now, I think I have about 50-100mb unused packages in this directory, simply because they are not installed any longer!
This task depends upon

This task blocks these from closing
 FS#8109 - Pacman 3.1 Release Roadmap 
Closed by  Dan McGee (toofishes)
Wednesday, 28 November 2007, 21:50 GMT
Reason for closing:  Implemented
Additional comments about closing:  implemented in pacman 3.1
Comment by Aaron Griffin (phrakture) - Wednesday, 19 September 2007, 16:25 GMT
Hm, this makes me think about default behavior.... should we clean up uninstalled packages on an -Sc by default? I know *I* would prefer that, but does the use case fit?
Comment by Anonymous (Chaos-Keeper) - Wednesday, 19 September 2007, 16:30 GMT
I would also like it that way, but just as you, I dunno what others might think about it...
Comment by Xavier (shining) - Wednesday, 19 September 2007, 20:23 GMT
I noticed only recently this behavior of -Sc. I found it a bit strange also, I think I would also prefer if uninstalled packages were removed.
Comment by Xavier (shining) - Wednesday, 28 November 2007, 21:42 GMT
I just felt on this bug report again.
Dan fixed that when rewriting the cache cleaning code a while ago : commit 16cb8e6e61c5
-Sc now removes all uninstalled packages, so this bug can be closed.

Loading...