You are not logged in.
Over the course of the year, I have used sudo abs to keep a back up copy of my packages that were installed. And of course some packages were removed via pacman, but their "ghost" is still in the /var/abs/ folder
Is there a way to delete from /var/abs/ packages that are no longer installed in my system?
Offline
I have used sudo abs to keep a back up copy of my packages that were installed.
And how did you do that? Abs, by default, does not just get PKGBUILDs for packages you have installed, but for all packages in the repos (unless you specify a specific package on the command line).
EDIT: I'm not sure it's relevant, but abs does not help keep backups of anything - it just retrieves current PKGBUILDs (and .install files) for repo packages. Packages are kept in /var/cache/pacman/pkg/ - but this has nothing to do with abs.
Last edited by Trilby (2014-10-09 01:55:32)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
3xOSC wrote:I have used sudo abs to keep a back up copy of my packages that were installed.
And how did you do that? Abs, by default, does not just get PKGBUILDs for packages you have installed, but for all packages in the repos (unless you specify a specific package on the command line).
EDIT: I'm not sure it's relevant, but abs does not help keep backups of anything - it just retrieves current PKGBUILDs (and .install files) for repo packages. Packages are kept in /var/cache/pacman/pkg/ - but this has nothing to do with abs.
I did it by running sudo abs.
And you are correct, it does get PKGBUILDS for the packages, not all of them.
I thought what abs did was, take a look at the current version of the package of, say, ncmpcpp, and when you run sudo abs, it copies the PKGBUILD of the current version of ncmpcpp to /var/abs
Offline
3xOSC, the "abs" application might worke a little differently from how you think it works...
When you run:
sudo abs...you are downloading every PKGBUILD file for every package available from the Arch Linux repositories. I don't understand how using "abs" will help you keep a backup copy of the packages you have installed. I mean, "pacman" already keeps a backup cache of all the packages you install (...the full package, not just the PKGBUILD files like "abs" does).
Offline
Please read https://wiki.archlinux.org/index.php/Arch_Build_System
You can just remove /var/abs/ if you want.
Offline