Package Details: apt-cacher-ng 3.7.4-8

Git Clone URL: (read-only, click to copy)
Package Base: apt-cacher-ng
Description: A caching proxy specialized for package files
Upstream URL:
Licenses: custom
Submitter: dequis
Maintainer: solsticedhiver
Last Packager: solsticedhiver
Votes: 11
Popularity: 0.026550
First Submitted: 2015-08-26 17:11 (UTC)
Last Updated: 2022-06-06 12:57 (UTC)

Latest Comments

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 (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)

qupfer commented on 2021-03-02 15:13 (UTC) (edited on 2021-03-02 15:17 (UTC) by qupfer)

Hi, I have some points/comments :-)

  • version 3.6 is release and update would be nice :-)

  • To "respect" the documentation

# [...] should not be
# set without good reason, because they would override the built-in defaults
# (that might impact updates to future versions of apt-cacher-ng).

I would remove the "PfilePattern = ..." from the config file. If (I don't believe it) zst is still missing, it could be add via PfilePatternEx: (\.zst)$

In the changelog ( zst is added in 3.3.1-1.

hosiet commented on 2020-07-06 17:32 (UTC)

I suggest using instead of for permanant reference to the original tarball. Using is risky: once upstream made the upgrade, the original tarball on will be replaced by the new one, making the old PKGBUILD fail.

madlynx commented on 2020-02-05 08:05 (UTC)

Thus 3.3 version of package does not exist on debian mirrors anymore I modified sources and PKGBUILD for building against Debian's 3.3.1 version

sausix commented on 2020-01-06 21:36 (UTC)

Thank you for fast response. It works again. Shame on me already digging in source code and not looking for that config option.

Could you add this setting as default to acng.conf.patch? I assume, most people use your PKB to serve Arch clients. Thank you anyway!

sulaweyo commented on 2020-01-06 12:25 (UTC)

zst is not in the default pattern for allowed files. You can add it to the PfilePattern. The following is what i use:

PfilePattern = .(.d?deb|.db|.rpm|.drpm|.dsc|.tar(.gz|.bz2|.lzma|.xz|.zst)(.gpg)?|.diff(.gz|.bz2|.lzma|.zst|.xz)|.jigdo|.template|changelog|copyright|.udeb|.debdelta|.diff/..gz|(Devel)?ReleaseAnnouncement(\?.)?|[a-f0-9]+-(susedata|updateinfo|primary|deltainfo).xml.gz|fonts/(final/)?[a-z]+32.exe(\?download.)?|/dists/./installer-[^/]+/[0-9][^/]+/images/.)$

sausix commented on 2020-01-06 01:18 (UTC)

The new zstd compressed files are forbidden by proxy. Tested a zst file by firefox over apt-cacher-ng to confirm. Config files seem not to cover that. Grepping xz in source shows a lot of hardcoded occurances. Did really nobody experience that too before?

sulaweyo commented on 2019-12-22 10:29 (UTC)

@tony_42 thx for your comment, dependency added

tony_42 commented on 2019-12-20 11:21 (UTC)

Hi sulaweyo, 'libevent' is missing from the dependencies (or at list makedependencies, I haven't checked).


sulaweyo commented on 2017-12-06 13:06 (UTC)

Thx for your comment, will update in a minute

fjdebruijn commented on 2017-12-06 07:28 (UTC)

The package will not build as debian is no longer hosting version 3 but hosting version 3.1. the pkgbuild will need to be updated on these lines





sulaweyo commented on 2017-04-28 06:10 (UTC)

If your apt-cacher-ng instance fails to start after the current update (openssl 1.1.0*) just do a rebuild of this package.

sulaweyo commented on 2017-04-16 14:43 (UTC)

Thx @tschiex Can't verify it myself so if anybody runs into problems please report.

tschiex commented on 2017-04-15 16:33 (UTC)

I would just suggest to add 'armv7h' is the list of arch in PKGBUILD. Just to save time for others. Compiles and runs fine on Exynos with this.

sulaweyo commented on 2016-12-25 01:30 (UTC)

I'll update asap but i'm currently travelling and no laptop on me

adamknube commented on 2016-12-24 20:57 (UTC)

If anyone still uses this, version 2.0 is now available. If you're lazy, theres an updated package at: But all you really need to do is change the package version and the md5sum.

sulaweyo commented on 2016-03-10 16:55 (UTC)

Thx for your work dequis. As is till use this heavily for myself and at work as well (bunch of OS types) i'll have a look if i can keep on maintaining it. Don' expect wonders though ;)

dequis commented on 2016-01-29 13:00 (UTC)

Updated to 0.8.9, dropped one patch and updated the other. Orphaning since I don't use this anymore, and the way they release tarballs is a pain in the ass.

bchretien commented on 2016-01-27 08:44 (UTC)

Version 0.8.9 is available.

dequis commented on 2015-10-07 07:33 (UTC)

Updated to 0.8.6. I sure wish they had proper release tarballs instead of just the debian pool, which deletes every release older than the latest. The build system changed in the last release, had to use cmake, which didn't even work out of the box for some reason, had to add -DEXTRA_LIBS_ACNG=pthread. Some files that were in /etc/apt-cacher-ng/ are now in /usr/lib/apt-cacher-ng/