apt-proxy
bonjour, j'ai mis en place apt-proxy chez moi, j'ai un soucis lors de
l'import du cache:
naios@toxic:~$ sudo apt-proxy-import -i /var/cache/apt/archives/
Updating twisted's process module.
No updating required.
2005/03/23 08:03 CET [-] Log opened.
2005/03/23 08:03 CET [-] [apt_pkg] Loading Packages database for
/var/cache/apt-proxy/.apt-proxy/backends/non-US
2005/03/23 08:03 CET [-] [apt_pkg] Loading Packages database for
/var/cache/apt-proxy/.apt-proxy/backends/security
2005/03/23 08:03 CET [-] [apt_pkg] Loading Packages database for
/var/cache/apt-proxy/.apt-proxy/backends/blackdown
2005/03/23 08:03 CET [-] [apt_pkg] Loading Packages database for
/var/cache/apt-proxy/.apt-proxy/backends/debian
2005/03/23 08:03 CET [-] [apt_pkg] Loading Packages database for
/var/cache/apt-proxy/.apt-proxy/backends/apt-proxy
2005/03/23 08:04 CET [-] [import] sudo_1.6.8p5-1_i386.deb skipped - no
suitable backend found
2005/03/23 08:04 CET [-] [import] libexif10_0.6.9-5_i386.deb skipped -
no suitable backend found
(.....)
2005/03/23 08:01 CET [-] [import] dia-common_0.94.0-4_all.deb skipped -
no suitable backend found
2005/03/23 08:01 CET [-] [import] dia-libs_0.94.0-4_i386.deb skipped -
no suitable backend found
avec systématiquement cette erreur de "skipped - no suitable backend found"
les logs :
naios@toxic:~$ tail -f /var/log/apt-proxy.log
2005/03/23 07:58 CET [Channel,32,192.168.1.9] [debug] Client connection
closed
2005/03/23 07:58 CET [Channel,33,192.168.1.9] [debug] Headers: Host:
hypercube.dynalias.org:9999, Connection: keep-alive, If-Modified-Since:
Tue, 22 Mar 2005 10:49:35 GMT, User-Agent: Debian APT-HTTP/1.3
2005/03/23 07:58 CET [Channel,33,192.168.1.9] [debug] Request: GET
/security/dists/testing/updates/contrib/binary-i386/Release
2005/03/23 07:58 CET [Channel,33,192.168.1.9] [debug] Client connection
closed
2005/03/23 07:58 CET [Channel,34,192.168.1.9] [debug] Headers: Host:
hypercube.dynalias.org:9999, Connection: keep-alive, If-Modified-Since:
Sat, 20 Jul 2002 14:41:00 GMT, User-Agent: Debian APT-HTTP/1.3
2005/03/23 07:58 CET [Channel,34,192.168.1.9] [debug] Request: GET
/security/dists/testing/updates/non-free/binary-i386/Packages.gz
2005/03/23 07:58 CET [Channel,34,192.168.1.9] [debug] Client connection
closed
2005/03/23 07:58 CET [Channel,35,192.168.1.9] [debug] Headers: Host:
hypercube.dynalias.org:9999, Connection: keep-alive, If-Modified-Since:
Tue, 22 Mar 2005 10:49:35 GMT, User-Agent: Debian APT-HTTP/1.3
2005/03/23 07:58 CET [Channel,35,192.168.1.9] [debug] Request: GET
/security/dists/testing/updates/non-free/binary-i386/Release
2005/03/23 07:58 CET [Channel,35,192.168.1.9] [debug] Client connection
closed
/var/cache/apt-proxy est un montage de partition (hdb1 - ext3 - 20Gb)
(ci-joint mon fichier de config de apt-proxy)
voyez vous quelque chose qui ne va pas?
merci d'avance
--
Erwann PENCREACH
Les gens petits sont défavorisés parce qu'ils sont les derniers à
savoir quand il pleut.
[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 = 7d
;; 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
[debian]
;; Backend servers, in order of preference
backends =
http://ftp.debian.org/debian
http://ftp2.fr.debian.org/debian
http://ftp.fr.debian.org/debian
[non-US]
;; Debian debian-non-US archive
;timeout will be the global value
backends =
http://ftp.fr.debian.org/debian-non-US
http://ftp2.fr.debian.org/debian-non-US
http://non-us.debian.org/debian-non-US
[security]
;; Debian security archive
backends =
http://security.debian.org
;[openoffice]
;; OpenOffice.org packages
;backends =
; http://ftp.freenet.de/pub/debian-openoffice
; http://ftp.sh.cvut.cz/MIRRORS/OpenOffice.deb
; http://borft.student.utwente.nl/debian
[apt-proxy]
;; Apt-proxy new versions
backends = http://apt-proxy.sourceforge.net/apt-proxy
[blackdown]
;; Blackdown Java
backends = http://ftp.gwdg.de/pub/languages/java/linux/debian
;[debian-people]
;; people.debian.org
;backends = http://people.debian.org
;[rsync]
;; An example using an rsync server. This is not recommended
;; unless http is not available, becuause rsync is only more
;; efficient for transferring uncompressed files and puts much
;; more overhead on the server. See the rsyncpacakges parameter
;; for a way of rsyncing just the Packages files.
;backends = rsync://ftp.uk.debian.org/debian
Reply to: