handy
December 17th, 2008, 11:22 PM
Has anyone written, found such a script, or like to write one? :-) 8)
It just has to delete all older duplicate packages in /var/cache/pacman/pkg/ . After which keeping a superseded copy of packages just comes down to when you use the script.
It would keep the /var/cache/pacman/pkg/ directory slimmer, (though it would still have more than is required in it I know) & ensure a quick recovery through downgrading to a known good package when required.
It would be so easy to run the script before an -Syu --aur so that if you have any problems you still have the superseded version of whatever, that you can downgrade to until the problem is solved.
(The title of this thread is incorrect, sorry about that.)
It just has to delete all older duplicate packages in /var/cache/pacman/pkg/ . After which keeping a superseded copy of packages just comes down to when you use the script.
It would keep the /var/cache/pacman/pkg/ directory slimmer, (though it would still have more than is required in it I know) & ensure a quick recovery through downgrading to a known good package when required.
It would be so easy to run the script before an -Syu --aur so that if you have any problems you still have the superseded version of whatever, that you can downgrade to until the problem is solved.
(The title of this thread is incorrect, sorry about that.)