Package Details: apt-cacher-ng 3.6.4-1

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: None
Last Packager: sulaweyo
Votes: 10
Popularity: 0.045999
First Submitted: 2015-08-26 17:11
Last Updated: 2021-06-04 10:00

Latest Comments

1 2 3 Next › Last »

sulaweyo commented on 2021-06-04 10:02

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

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

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

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

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

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

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

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

@tony_42 thx for your comment, dependency added

tony_42 commented on 2019-12-20 11:21

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

Thanks.