[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-proxy & debian-security



Salut à tous,

J'ai fait une net-install _Sarge_ sur une machine destinée à devenir un serveur
mais qui n'est pas encore connectée au net via un serveur apt-proxy _Etch_ sur
une machine connectée au net.

Jusque là, tous c'est parfaitement bien déroulé. Par contre, lorsque j'essaie
d'ajouter la source concernant les mises-à-jour de securité sur le futur
serveur, ça part en vrille.

Voici ce que j'obtiens après un apt-get update sur la _Sarge_ :
#
# Ca ce sont les sources d'install.
Hit http://192.168.1.2 stable/main Packages
Hit http://192.168.1.2 stable/main Release
Hit http://192.168.1.2 stable/non-free Packages
Hit http://192.168.1.2 stable/non-free Release
Hit http://192.168.1.2 stable/contrib Packages
Hit http://192.168.1.2 stable/contrib Release
Hit http://192.168.1.2 stable/main Sources
Hit http://192.168.1.2 stable/main Release
Hit http://192.168.1.2 stable/non-free Sources
Hit http://192.168.1.2 stable/non-free Release
Hit http://192.168.1.2 stable/contrib Sources
Hit http://192.168.1.2 stable/contrib Release
#
# Ca c'est la source des mises-à-jour de sécurité.
Err http://192.168.1.2 stable/updates/main Packages
  503 Service Unavailable
Ign http://192.168.1.2 stable/updates/main Release
Err http://192.168.1.2 stable/updates/contrib Packages
  503 Service Unavailable
Ign http://192.168.1.2 stable/updates/contrib Release
Err http://192.168.1.2 stable/updates/non-free Packages
  503 Service Unavailable
Ign http://192.168.1.2 stable/updates/non-free Release
Failed to fetch http://192.168.1.2:9999/debian-security/dists/stable/updates/mai
n/binary-i386/Packages.gz  503 Service Unavailable
Failed to fetch http://192.168.1.2:9999/debian-security/dists/stable/updates/con
trib/binary-i386/Packages.gz  503 Service Unavailable
Failed to fetch http://192.168.1.2:9999/debian-security/dists/stable/updates/non
-free/binary-i386/Packages.gz  503 Service Unavailable
Reading Package Lists... Done
W: Couldn't stat source package list http://192.168.1.2 stable/updates/main Pack
ages (/var/lib/apt/lists/192.168.1.2:9999_debian-security_dists_stable_updates_m
ain_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://192.168.1.2 stable/updates/contrib P
ackages (/var/lib/apt/lists/192.168.1.2:9999_debian-security_dists_stable_update
s_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://192.168.1.2 stable/updates/non-free
Packages (/var/lib/apt/lists/192.168.1.2:9999_debian-security_dists_stable_updat
es_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used
 instead.

Le /etc/apt/sources.list sur la _Sarge_ :
#deb file:///cdrom/ sarge main

########
##
## Sources pointing to apt-proxy on 192.168.1.2
##
deb http://192.168.1.2:9999/debian stable main non-free contrib
deb-src http://192.168.1.2:9999/debian stable main non-free contrib

########
##
## Security updates pointing to apt-proxy on 192.168.1.2
##
# deb http://192.168.1.2:9999/debian-security stable/updates main contrib non-fr
ee
deb http://192.168.1.2:9999/debian-security stable/updates main contrib non-free

########
##
## Security updates pointing to official Debian primary FTP sites.
##
# deb http://security.debian.org/ stable/updates main contrib non-free


Et enfin, le /etc/apt-proxy/apt-proxy-v2.conf sur _Etch_ :
[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
backends =
        ftp://ftp.cz.debian.org/debian
        ftp://ftp2.fr.debian.org/debian
        ftp://ftp.debian.org/debian

[security]
;; Debian security archive
backends =
        ftp://security.debian.org/debian-security
;;;     http://security.debian.org/debian-security

Et pour le fun : /var/log/apt-proxy.log :
2005/07/03 19:03 CEST [Channel,32,192.168.1.1] Starting factory
<apt_proxy.apt_proxy.ClientFactory instance at 0x4070b58c>
2005/07/03 19:03 CEST [-] "[error] [debian-security] Connection Failed:
/dists/stable/updates/contrib/binary-i386/Packages.gz (DNS lookup failed:
address 'debian-security' not found.)"
2005/07/03 19:03 CEST [-] Stopping factory <apt_proxy.apt_proxy.ClientFactory
instance at 0x4070b58c>
2005/07/03 19:03 CEST [Channel,32,192.168.1.1] [debug] Client connection closed
2005/07/03 19:03 CEST [Channel,33,192.168.1.1] [debug] Headers: Host:
192.168.1.2:9999, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
2005/07/03 19:03 CEST [Channel,33,192.168.1.1] [debug] Request: GET
/debian-security/dists/stable/updates/contrib/binary-i386/Release
2005/07/03 19:03 CEST [Channel,33,192.168.1.1] [debug] Adding debian-security
backend dynamicaly
2005/07/03 19:03 CEST [Channel,33,192.168.1.1] [debug] Created new
BackendServer: http://debian-security



Reply to: