Package Details: pacleaner 2.2-1

Git Clone URL: https://aur.archlinux.org/pacleaner.git (read-only, click to copy)
Package Base: pacleaner
Description: Script to clean up pacman cache in a more flexible way than with paccache or pacman itself. Fully configurable and flexible
Upstream URL: https://github.com/lesebas/pacleaner
Keywords: cache paccache package pacman
Licenses: GPL
Submitter: None
Maintainer: lesebas
Last Packager: lesebas
Votes: 18
Popularity: 0.000000
First Submitted: 2009-07-09 19:07 (UTC)
Last Updated: 2020-09-16 19:59 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

lesebas commented on 2015-03-07 18:14 (UTC)

Hello, you're right. This particular case is that always the same version of xmonad and only the "build version change. It keeps the n-1 version instead of n. It's a bug I've to check why.

vollekannehoschi commented on 2015-03-07 17:32 (UTC)

This helped, now pacleaner runs without errors. Another problem I get is that it deletes the wrong (newest) packages. Here is an example, it should not delete the current version, should it? pkg > pacman -Q | acki xmonad xmonad 0.11-10 xmonad-contrib 0.11.3-2 pkg > pacleaner -m | acki xmonad xmonad-contrib-0.11.2-2 xmonad-0.11-10 pkg > ll | acki xmonad -rw-r--r-- 1 root root 722K 28. Dez 23:30 xmonad-0.11-10-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 755K 5. Sep 2013 xmonad-0.11-7-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 723K 27. Apr 2014 xmonad-0.11-8-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 722K 12. Jul 2014 xmonad-0.11-9-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 4,9M 6. Sep 2013 xmonad-contrib-0.11.2-2-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 3,6M 27. Apr 2014 xmonad-contrib-0.11.2-3-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 3,6M 26. Jul 2014 xmonad-contrib-0.11.3-1-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 3,6M 28. Dez 23:45 xmonad-contrib-0.11.3-2-x86_64.pkg.tar.xz

lesebas commented on 2015-03-04 21:04 (UTC)

Ok I've got it, in your cache directory you have some package named hipchat : hipchat-2.2.1221-x86_64.pkg.tar.xz hipchat-2.2.1287-x86_64.pkg.tar.xz hipchat-2.2.1309-x86_64.pkg.tar.xz hipchat-2.2.1328-x86_64.pkg.tar.xz This is not an official archlinux package and the format of file's name is wrong (package release is missing between version number and arch version). To solved your problem delete or move manually these package from /var/cache/pacman/pkg/ I will check to improve the code to ignore wrong format file.

lesebas commented on 2015-03-04 18:31 (UTC)

Do you have python3 installed? Let's continue this thread on github https://gist.github.com/hoschi/2864d41b9e63bf19a317

vollekannehoschi commented on 2015-03-04 18:12 (UTC)

~/.config/pacleaner/pacleaner_config doesn't exist, but here is all other info you requested -> https://gist.github.com/hoschi/2864d41b9e63bf19a317 I can translate the german part if you need this.

lesebas commented on 2015-03-04 13:14 (UTC)

@vollekannehoschi Could you check the default pacman path : $ pacman -v and listing the content of the cache : $ ls /var/cache/pacman/pkg/ and the content of the file /usr/share/paclaner/pacleaner_config and ~/.config/pacleaner/pacleaner_config if existing.

vollekannehoschi commented on 2015-03-04 09:04 (UTC)

Current version doesn't work for me :( ~ > pacleaner usage: pacleaner [-h] [--uninstalled] [--morethan] [--delete] [--no-confirm] [--number n] [--cache_path PATH] [--installed_path PATH] pacleaner: error: Need to specify -u, -t or both ~ > pacleaner -u Traceback (most recent call last): File "/usr/bin/pacleaner", line 218, in <module> pkgfiles = PkgFileList(args.cache_path) File "/usr/bin/pacleaner", line 121, in __init__ self.pkg_list.append(PkgFile(f, path)) File "/usr/bin/pacleaner", line 71, in __init__ self.name, self.version, self.pkg_version, rest = filename.rsplit('-', 3) ValueError: need more than 3 values to unpack ~ >

lesebas commented on 2015-01-16 12:17 (UTC)

Version 2.0 include delete confirmation, more options and config file to tune the default options : - database Path - cache Path - Number of package to keep in cache - Delete with or without confirmation

lesebas commented on 2015-01-06 21:50 (UTC)

Hello, Script and PKGBUILD updated. Fully compliant with pacman 4.2. Enjoy!