Apt-Cacher NG Usage Information

You attempted to browse the contents of a virtual HTTP repository. However, the intended way of use is the configuration of APT and related package management systems to retrieve the software packages through this service.

To configure APT for use of Apt-Cacher NG you need to...

- EITHER: Configure APT to use a HTTP proxy by specifying it in apt.conf or related configuration files, see apt.conf manual page for details. Server and Port need to match the values used to visit this page. For example, edit /etc/apt/apt.conf (or create a new file called like /etc/apt/apt.conf.d/00aptproxy) and add the line:

  Acquire::http::Proxy "http://${serverhostport}";

- OR: Edit the /etc/apt/sources.list file and edit the source lines therein, replacing the mirror hostname with the hostname of this server machine and the port with ${cfg:port} (adding a port if none specified). For example:

  deb http://ftp.debian.org/debian stable main contrib non-free
  deb-src http://ftp.debian.org/debian stable main contrib non-free
  deb https://get.docker.com/ubuntu docker main

  becomes:

  deb http://${serverhostport}/ftp.debian.org/debian stable main contrib non-free
  deb-src http://${serverhostport}/ftp.debian.org/debian stable main contrib non-free
  deb http://${serverhostport}/HTTPS///get.docker.com/ubuntu docker main

  Depending on the configuration, it might be possible to use a shortcut for the base URLs without knowing the mirror, for example:

  deb http://${serverhostport}/debian stable main contrib non-free

  Ask your system administrator for details.

### Related links

- Statistics report and configuration page for this Apt-Cacher NG installation. Also see Notes below.
- Project Homepage

### Notes

This page is a pre-installed template not customized by the system administrator. The links given above may contain default or guessed (and therefore incorrect) components. The system administrator could adapt the file userinfo.html in Apt-Cacher NG's configuration directory to set the correct contents. ${footer}