Ya lo he puesto, pero por si acaso...:
deb http://mi_servidor:9999/debian unstable main contrib non-free
deb http://mi_servidor:9999/debian-non-US unstable/non-US main contrib non-free
deb http://debian.tu-bs.de/mplayer/ unstable main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
Lo que hago en "mi_servidor" es: apt-get update apt-get dist-upgrade apt-proxy-import -vi /var/cache/apt/archives
Y luego voy al cliente, y otra vez: apt-get update apt-get dist-upgrade
Hector Muñoz escribió:
En el sources.list hacia donde apunta? A la URL de antes o al del apt-proxy??
On 5/17/05, Jon <[EMAIL PROTECTED]> wrote:
Hola otra vez:
Tengo instalado el apt-proxy, pero cuando intento hacer:
apt-proxy-import -vi /var/cache/apt/archives
Me sale una larga lista con casi todos los paquetes descargados que me viene a decir que:
---------------------------------------------------------- ... 2005/05/17 12:25 CEST [-] [import] considering: /var/cache/apt/archives/libedata-cal5_1.0.4-1_i386.deb 2005/05/17 12:25 CEST [-] [import] Not found, trying to guess 2005/05/17 12:25 CEST [-] [import] libedata-cal5_1.0.4-1_i386.deb skipped - no suitable backend found 2005/05/17 12:25 CEST [-] [import] considering: /var/cache/apt/archives/xmms-synaesthesia_0.0.3-9_i386.deb 2005/05/17 12:25 CEST [-] [import] Not found, trying to guess 2005/05/17 12:25 CEST [-] [import] xmms-synaesthesia_0.0.3-9_i386.deb skipped - no suitable backend found ...----------------------------------------------------------
El caso es que cuando voy al cliente, que tiene este /etc/apt/sources.list:
---------------------------------------------------------- deb http://mi_servidor:9999/debian unstable main contrib non-free deb http://mi_servidor:9999/debian-non-US unstable/non-US main contrib non-free deb http://debian.tu-bs.de/mplayer/ unstable main deb ftp://ftp.nerim.net/debian-marillat/ unstable main ----------------------------------------------------------
El servidor tiene este otro:
---------------------------------------------------------- deb http://ftp.us.debian.org/debian unstable main contrib non-free deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free deb http://non-us.debian.org/debian-nonUS sid/non-US main contrib non-free deb http://www.fs.tum.de/~bunk/debian woody/kernel-26 main deb http://debian.tu-bs.de/mplayer/ unstable main deb ftp://ftp.nerim.net/debian-marillat/ unstable main deb http://synce.sourceforge.net/debian/ unstable/$(ARCH)/ deb-src http://synce.sourceforge.net/debian/ unstable/source/ deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./ deb http://linley.Informatik.TU-Cottbus.DE/debian/ kso main deb-src http://linley.Informatik.TU-Cottbus.DE/debian/ kso main ----------------------------------------------------------
hago "apt-get update" y me coge bien las fuentes, pero con el "apt-get dist-upgrade" se me va a descargar los paquetes a los servidores originales en lugar de cogerlos de mi servidor apt-proxy.
Incluyo aquí el fichero /etc/apt-proxy/apt-proxy-v2.conf:
----------------------------------------------------------
[DEFAULT] ;; All times are in seconds, but you can add a suffix ;; for minutes(m), hours(h) or days(d)
;; Server IP to listen on ;address = 192.168.0.254
;; 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=0
;;-------------------------------------------------------------- ;; 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.us.debian.org/debian http://ftp.de.debian.org/debian http://ftp2.de.debian.org/debian ftp://ftp.uk.debian.org/debian
[debian-non-US] ;; Debian debian-non-US archive ;timeout will be the global value backends = http://ftp.uk.debian.org/debian-non-US http://ftp.de.debian.org/debian-non-US ftp://ftp.uk.debian.org/debian
[security] ;; Debian security archive backends = http://security.debian.org/debian-security http://ftp2.de.debian.org/debian-security
[mplayer] backends= http://debian.tu-bs.de/mplayer ftp://ftp.nerim.net/debian-marillat
-------------------------------------------------------------------
Y es que llevo ya un tiempo rompiéndome el coco
Gracias.
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]