Previous | Contents | Next

Chapter 6: Distribution specific instructions

6.1 Debian and Ubuntu

Use as is. Report bugs using reportbug (Debian) or to Launchpad (Ubuntu).

6.2 OpenSUSE

Server can be used as is with limited expiration (see below, and see INSTALL file for compilation hints). The merging mode (multiple servers mapped into the same repository) is not preconfigured in the example configuration. This is object to research, competent support is required.

Clients can configure apt-cacher-ng as central proxy in Yast ("Network devices"/"Proxy" tab). If this is not desirable then each sofware source can be edited to be redirected through the server. This can be done in the Software Installer view of Yast2, see menu Configuration/Repositories. To edit them quickly, switch to URL editing mode and insert host:port/ (of the apt-cacher-ng server) between http:// and the source server name.

6.3 Fedora Core

Attempts to add apt-cacher-ng support ended up in pain and the author lost any motivation in further research on this subject.

6.4 Arch Linux

Mostly usable. The mirror structure design has been identified by trial-and-error and the regular expressions might need some tuning by experts.

The installer seems to have no way to specify a dedicated proxy but it's possible to edit the source URL and insert the host:port/ part into it. The pacman mirror list can be modified the same way.

Expiration code should work in the basic mode (index data is extracted from *.db.tar.gz files). File checksum checking mode might also work (untested). The example configuration contains a preconfigured list of mirrors which can be rebuilt with the Makefile if needed. The preferred backend server can be specified like with other distributions (see above for details).

6.5 Sourceforge mirror network

Not a Linux distro but commonly used by those to download certain files. Therefore most mirrors can get unified access cache sharing the files in the same cache repository. Some .exe files there are never expired.

6.6 Cygwin mirrors

While not being a pure Linux distro it's mostly GNU and has a nice mirror setup. Proxy server can be used as is with limited expiration (see below). Apt-cacher-ng can also be compiled and used on Windows machines in Cygwin environment (see INSTALL file for details).

Clients need to specify the server as HTTP proxy in the setup.exe wizard, only HTTP mirrors should be selected in the mirror list.

6.7 Limited expiration

The expiration code for Non-Debian/Ubuntu repositories is quite limited due to lack of man-power or know-how. For some distros, the support is limited to checks of the filename and no further validation is supported. Therefore, the extra validation of path location or file contents should NOT be turned on when running expiration with data from that distros in the cache, because good data may be deleted in this case.

Comments to
[Eduard Bloch, Sun, 19 Apr 2015 10:25:49 +0200]