Problema con apt-proxy
Buenas, el proble que tengo es el siguiente:
hace poco instalé apt'proxy en una de mis 3 maquinas, todas con debian
testing, la derección de la maquina la que instalé este programa es
192.168.1.20
mi archivo /etc/apt-proxy/apt-proxy-v2.conf
------------------------------------------------------------------------
[DEFAULT]
;; Server IP to listen on
address = 192.168.1.20
;; Server port to listen on
port = 9999
;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to refresh a file
min_refresh_delay = 1h
;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h
;; Uncomment to make apt-proxy continue downloading even if all
;; clients disconnect. This is probably not a good idea on a
;; dial up line.
;; complete_clientless_downloads = 1
;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
debug = all:4 db:0
;; Debugging remote python console
;; Do not enable in an untrusted environment
;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret
;; Network timeout when retrieving from backend servers
timeout = 15
;; Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy
;; Use passive FTP? (default=on)
;passive_ftp = on
;; Use HTTP proxy?
;http_proxy = host:port
;; Enable HTTP pipelining within apt-proxy (for test purposes)
disable_pipelining=1
;;--------------------------------------------------------------
;; Cache housekeeping
;; Time to perform periodic housekeeping:
;; - delete files that have not been accessed in max_age
;; - scan cache directories and update internal tables
cleanup_freq = 1d
;; Maximum age of files before deletion from the cache (seconds)
max_age = 120d
;; Maximum number of versions of a .deb to keep per distribution
max_versions = 3
;; Add HTTP backends dynamicaly if not already defined? (default=on)
;dynamic_backends = on
;;---------------------------------------------------------------
;;---------------------------------------------------------------
;; Backend servers
;;
;; Place each server in its own [section]
[debian]
;; The main Debian archive
;; You can override the default timeout like this:
;timeout = 30
;; Rsync server used to rsync the Packages file (NOT YET IMPLEMENTED)
;;rsyncpackages = rsync://ftp.de.debian.org/debian
;; Backend servers, in order of preference
backends = http://ftp.debian.org/debian
[security]
;; Debian security archive
backends = http://security.debian.org/debian-security
[multimedia]
;; Mplayer
backends = http://www.debian-multimedia.org
------------------------------------------------------------------------------------------------------
y la configuracion de mi /etc/apt/sources.list es como sigue
------------------------------------------------------------------------------------------------------
deb http://192.168.1.20:9999/debian/ testing main contrib
deb-src http://192.168.1.20:9999/debian/ testing main contrib
deb http://192.168.1.20:9999/security testing/updates main contrib
deb-src http://192.168.1.20:9999/security testing/updates main contrib
deb http://192.168.1.20:9999/multimedia testing main
------------------------------------------------------------------------------------------------------
despues de editar ambos archivos, hice lo siguiente:
# /etc/init.d/apt-proxy restart
# apt-get update
y se queda durante un largo rato con el mensaje [Waiting for Headers]
, para luego mostrar un error de coneccion
connection failed
busque algo de informacion al respecto, y creo que tanto el
apt-proxy-v2.conf como esl sources.list estan correctos.
En algun foro encontre un problema similar, el mismo que se
solucionaba cambian la linea:
disable pipelining = 0 por disable pipelining = 1, pero aun asi el
problema persiste.
Espero puedan ayudarme, gracias.
--
Linux user # 412897
Reply to: