Package Details: apt-cacher-ng 3.7.4-11

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: BSD-4-clause
Submitter: dequis
Maintainer: solsticedhiver
Last Packager: solsticedhiver
Votes: 13
Popularity: 0.006410
First Submitted: 2015-08-26 17:11 (UTC)
Last Updated: 2025-01-08 22:08 (UTC)

Latest Comments

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

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)

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 (https://launchpad.net/debian/+source/apt-cacher-ng/+changelog) zst is added in 3.3.1-1.

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

I suggest using snapshot.debian.org instead of ftp.debian.org for permanant reference to the original tarball. Using ftp.debian.org is risky: once upstream made the upgrade, the original tarball on ftp.debian.org 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 https://github.com/madlynx/apt-cacher-ng.aur/commit/cc2e349bbb522817d5e350d4da936b13a87a6e38

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

Thanks.

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

Thx for your comment, will update in a minute