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#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
|
DetailsSee 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.