FS#11049 - Teach pacman how to clean the cach with respect to some history preserving
Attached to Project:
Pacman
Opened by Mathieu Clabaut (mathieu.clabaut) - Tuesday, 29 July 2008, 14:17 GMT
Last edited by Xavier (shining) - Monday, 18 August 2008, 08:53 GMT
Opened by Mathieu Clabaut (mathieu.clabaut) - Tuesday, 29 July 2008, 14:17 GMT
Last edited by Xavier (shining) - Monday, 18 August 2008, 08:53 GMT
|
Details
See
http://bbs.archlinux.org/viewtopic.php?pid=398937
for a python script that clean /var/cache/pacman, while
preserving some history for the packages (for example the
last 3 versions).
for example, pacman -Sc 3 would be a nice UI. |
This task depends upon
Closed by Xavier (shining)
Monday, 18 August 2008, 08:53 GMT
Reason for closing: Won't implement
Additional comments about closing: No one seems to be interested for implementing this.
If you are, you can reopen and submit a patch adding a new CleanMethod
Monday, 18 August 2008, 08:53 GMT
Reason for closing: Won't implement
Additional comments about closing: No one seems to be interested for implementing this.
If you are, you can reopen and submit a patch adding a new CleanMethod
In sync_cleancache we do pkg_load and pkg_vercmp.
It is possible to collect packages by name in cache and sort them by version; then finally keep the last 3 versions for each package.
But I am not sure that it would be a useful feature.