You are not logged in.
Pages: 1
Hi,
Being a rolling distribution, Arch eventually fills up the / (or /var) partition with all the packages that had been downloaded since the initial install (or last "clean up").
While I know pacman can remove all former version packages, this disables the option to revert to the former version of any package (in case of problem).
Is there, or will be in the future, a pacman option to remove all older packages except for version <last-1> version (assuming <last> is the newest?
e.g.,
If current version of package aaa is 1.7.3, keep 1.7.2, yet remove all older versions of aaa.
Best reagrds,
Michael Badt
Best regards,
Michael Badt
Offline
Wouldn't that be
pacman -Sc
That cleans the cache from packages not currently installed. My assumption is that pacman recognizes, that the older versions are not installed and removes them.
Offline
Sorry if I haven't cleared myself.
I want to retain the option to downgrade to the former (latest-1) version.
As far as I understand it, pacman -Sc won't enable this.
Best regards,
Michael Badt
Offline
I have seen scripts posted here that do this.... I am just not motivated enough to find the for you.
Offline
Pages: 1