Categories: CategoryLinux

see:

install package apt-proxy. Configure /etc/apt-proxy/apt-proxy.conf. For errors look in /var/log/apt-proxy.log

Set apt-backends in apt-proxy-conf.

Make sure that rsync and wget are installed.

On client side add to /etc/apt/sources.list

# using my debian proxy
deb http://proxy.mydomyin.org:9999/main woody main contrib non-free
deb http://proxy.mydomain.org:9999/non-US woody/non-US main contrib non-free
#deb-src http://proxy.domain.org:9999/main woody main contrib non-free
#deb-src http://proxy.domain.org:9999/non-US woody/non-US main contrib non-free

deb http://proxy.domain.org:9999/security stable/updates main contrib non-free
deb http://proxy.domain.org:9999/blackdown woody non-free