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 and add the line:
Acquire::http { Proxy "http://$SERVERIP:$SERVERPORT"; };
-
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 $SERVERPORT (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
becomes:
deb http://$SERVERIP:$SERVERPORT/ftp.debian.org/debian stable main contrib non-free
deb-src http://$SERVERIP:$SERVERPORT/ftp.debian.org/debian stable main contrib non-free
Depending on the configuration, it might be possible to use a shortcut
for the base URLs without knowing the mirror, for example:
deb http://$SERVERIP:$SERVERPORT/debian stable main contrib non-free
Ask your system administrator for details.
Related links
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. Adapt the file
userinfo.html in
Apt-Cacher NG's configuration directory to set the correct contents.