Package Details: apt-cacher-ng 3.7.4-9

Git Clone URL: https://aur.archlinux.org/apt-cacher-ng.git (read-only, click to copy)
Package Base: apt-cacher-ng
Description: A caching proxy specialized for package files
Upstream URL: http://www.unix-ag.uni-kl.de/~bloch/acng/
Licenses: custom
Submitter: dequis
Maintainer: solsticedhiver
Last Packager: solsticedhiver
Votes: 12
Popularity: 0.000101
First Submitted: 2015-08-26 17:11 (UTC)
Last Updated: 2024-01-29 09:45 (UTC)

Latest Comments

1 2 3 Next › Last »

nova-2nd commented on 2024-01-28 19:01 (UTC)

@solsticedhiver Hi,

Would you mind integrating this patch from Ubuntu ( https://launchpad.net/ubuntu/+source/apt-cacher-ng/3.7.4-1ubuntu1 ), since it would fix exactly my problem.

Greets, Stefan


In file included from /home/xxxx/.cache/yay/apt-cacher-ng/src/apt-cacher-ng-3.7.4/src/astrop.cc:9:
/home/xxxx/.cache/yay/apt-cacher-ng/src/apt-cacher-ng-3.7.4/src/meta.h:326:44: error: operator '!' has no right operand
  326 | #if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY
      |                                            ^
In file included from /home/xxxx/.cache/yay/apt-cacher-ng/src/apt-cacher-ng-3.7.4/src/acbuf.cc:6,
                 from /home/xxxx/.cache/yay/apt-cacher-ng/src/apt-cacher-ng-3.7.4/client/client.cc:6:
/home/xxxx/.cache/yay/apt-cacher-ng/src/apt-cacher-ng-3.7.4/src/meta.h:326:44: error: operator '!' has no right operand
  326 | #if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY
      |                                            ^

solsticedhiver commented on 2023-04-28 15:29 (UTC)

@DHxchange this is fixed. I have uploaded a libwrap package to AUR.

DHxchange commented on 2023-04-27 04:27 (UTC)

This package no longer builds due to the missing libwrap dependency.

solsticedhiver commented on 2023-01-25 10:23 (UTC)

I couldn't make that change because that's already the dfault value in acng.conf.

I don't know how you end up having the log in /var/tmp. I have them in /var/log/apt-cacher-ng without changing anything...

pellcorp commented on 2023-01-25 01:46 (UTC)

I noticed that logs are currently going to /var/tmp even though the /var/log/apt-cacher-ng/ directory gets created, a simple:

sudo sed -i 's!LogDir.*!LogDir: /var/log/apt-cacher-ng!g' /etc/apt-cacher-ng/acng.conf

after installation fixes this issue, but would be good to get it done by the PKBUILD

Geek_Almighty commented on 2022-01-07 12:23 (UTC)

No one is currently maintaining the package, would anyone like to step in?

I haven't done anything related to AUR pkgs before, don't mind learning, however, I don't want to ruin this for everyone, including myself :D

cherkaba commented on 2021-08-19 17:14 (UTC)

ok i've solved my issue by putting my extra partition in the fstab file ;)

cherkaba commented on 2021-08-19 12:28 (UTC) (edited on 2021-08-19 12:44 (UTC) by cherkaba)

hi, i am facing a probleme with aptCng: it does'nt accepte changing default path for CacheDir.

i did everything too find a solution like:


- # chown -R /NEWPATH/TO/MyCACH = NOK
- # usermod -a -G MYGROUP Apt-Cacher-NG = NOK

the error is same in journalctl:


... apt-cacher-ng[3081]: Error: Cannot create any directory in ...
... systemd[1]: apt-cacher-ng.service: Main process exited, code=exited, status=1/FAILURE

So what's wrong

sulaweyo commented on 2021-06-04 10:02 (UTC)

As I'm no longer using apt-cacher in my environment I'll disown it so somebody who actually uses it can take it over.

docontra commented on 2021-06-02 12:56 (UTC) (edited on 2021-06-02 12:57 (UTC) by docontra)

Pacman 6.0 "broke" apt-cacher-ng (the default config doesn't let .sig files through and replies with HTTP error 403). Please add the "upstream" patch from the debian bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989347 (made by yours truly 0:)). The patches in the bug report are made against 3.3.1 and 3.7.2, but the latter patch (the one that ends in -upstream.patch) should apply by replacing "[ab]/src" with "[ab]/source" at the top.

For those looking for a workaround, add:

PFilePatternEx: .*\.pkg\.tar\.(gz|bz2|lzma|xz|zst)\.sig$

VFilePatternEx: .*\.(db|files|abs)(\.tar\.(gz|bz2|lzma|xz|zst))?\.sig$

to /etc/apt-cacher-ng/acng.conf or in a drop-in (if for some reason you have already set any of these options, add "|" and the text after the colon for the corresponding option at the end of your current config)