Join GitHub today
A tool for deleting old cached package files for the `pacman` package manager. http://ikn.org.uk/pacman-expire-cache
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
pacman-expire-cache 0.2-next. http://ikn.org.uk/pacman-expire-cache A tool for deleting old cached package files for the `pacman` package manager. Existing cache cleaners generally offer the ability to retain the latest X versions of each package, or of each installed package. This is not useful in the following cases: - a package has been broken for a while, but not used recently, and has been updated many times recently, such that you only notice the issue once all working versions have been deleted - a package has been accidentally removed, and then an update pushed which breaks it `pacman-expire-cache` solves these issues by allowing you to retain: - package files newer than X days - the latest Y versions (older than X days) for each installed package - the latest Z versions (older than X days) for each not-installed package http://ikn.org.uk/pacman-expire-cache LICENSE Distributed under the terms of the BSD 3-Clause license.; if this was not included, you can find it here: https://opensource.org/licenses/BSD-3-Clause DEPENDENCIES Bash (>= 3.2): https://www.gnu.org/software/bash/ getopt (Linux version): https://www.kernel.org/pub/linux/utils/util-linux/ INSTALLATION Run `make install`. The usual `DESTDIR`, etc. arguments to `make` are supported. USAGE Run `pacman-expire-cache --help` to print usage information. Error codes are as follows: 1: other error 2: incorrect usage 3: the program reached the end, but failed to process some package files