Bug#596286: apt.conf examples should include caching/proxy setup
Package: apt
Version: 0.8.3
Severity: wishlist
Forwarding this Ubuntu wishlist bug report:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/134201
>From Lars Noodén:
"Many sites have an HTTP+FTP proxy/cache already set up and running. If I
understand correctly would be possible to use Apt.conf to run requests
to Ubuntu's repositories through the proxy/cache. I would like the
examples document for apt.conf to include a sample configuration for
squid or some other common proxy/cache. (Note, this should not be
"apt-cacher", though it might be useful to mention "apt-cacher" in
*addition* to a regular proxy cache. However, since few sites have
apt-cacher in place, using an example of a regular proxy/cache is
needed.)
When setting up, updating, patching or upgrading a large site, speed
would be increased several orders of magnitude by having a local cache.
This would also be good for the Internet as it would reduce unnecessary
congestion."
I have confirmed that the examples in apt for 0.8.3 still do not contain
any examples for proxy setup.
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-7 GCC support library
ii libstdc++6 4.4.4-7 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.3-3.1 terminal-based package manager (te
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii dpkg-dev 1.15.7.2 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.97.1 Python interface to libapt-pkg
-- no debconf information
Reply to: