APT-MIRROR : erreurs sur serveur et client


#1

Bonjour à tous,

Depuis plusieurs jours et nuits j’essaie de mettre en place sur mon réseau local un dépôt de mirroir local pour Debian avec “apt-mirror”.

J’ai beau lire plein de doc, de tuto et éplucher les forums je n’arrive pas à savoir ce qui cloche. N’étant pas un expert, je ne sais plus quoi faire.

Lorsque je lance une apt-mirror, il m’indique une erreur au moment des [PPPPP]
voici l’affichage :

Downloading 158 index files using 25 threads...
Begin time: Wed Jun  5 23:36:07 2019
[25]... [24]... [23]... [22]... [21]... [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Jun  5 23:36:09 2019

Processing translation indexes: [TTTTTT]

Downloading 50 translation files using 25 threads...
Begin time: Wed Jun  5 23:36:11 2019
[25]... [24]... [23]... [22]... [21]... [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Jun  5 23:36:12 2019

Processing DEP-11 indexes: [DDDDDD]

Downloading 12 dep11 files using 12 threads...
Begin time: Wed Jun  5 23:36:13 2019
[12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Jun  5 23:36:14 2019

Processing indexes: [PPPPPapt-mirror: can't open index deb.debian.org/debian///dists/stretch/updates/binary-amd64/Packages in process_index at /usr/bin/apt-mirror line 800.
P]

0 bytes will be downloaded into archive.
Downloading 0 archive files using 0 threads...
Begin time: Wed Jun  5 23:36:31 2019
[0]... 
End time: Wed Jun  5 23:36:31 2019

voici le fichier de configuration de apt-mirror :apt-mirror-configdebiann.txt (2,0 Ko)

Maintenant voici le résultat de apt-get update sur le client :

Ign:1 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch InRelease
Ign:2 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates InRelease
Réception de:3 http://192.168.0.5/Debian/mirror/security.debian.org stretch/updates InRelease [94,3 kB]
Réception de:4 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch-updates InRelease [91,0 kB]
Réception de:5 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch Release [118 kB]
Ign:6 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates Release
Ign:7 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 Packages
Ign:8 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all Packages
Ign:9 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr_FR
Ign:10 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr
Ign:11 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-en
Ign:12 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:13 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:15 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all Packages
Ign:16 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr_FR
Ign:18 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:21 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:23 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all Packages
Ign:24 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 Packages
Ign:25 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-en
Ign:26 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr_FR
Ign:27 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr
Ign:28 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 DEP-11 Metadata
Ign:29 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all DEP-11 Metadata
Ign:30 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free DEP-11 64x64 Icons
Ign:7 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 Packages
Ign:8 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all Packages
Ign:9 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr_FR
Ign:10 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr
Ign:11 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-en
Ign:12 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:13 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:15 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all Packages
Ign:16 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr_FR
Ign:18 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:21 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:23 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all Packages
Ign:24 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 Packages
Ign:25 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-en
Ign:26 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr_FR
Ign:27 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr
Ign:28 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 DEP-11 Metadata
Ign:29 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all DEP-11 Metadata
Ign:30 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free DEP-11 64x64 Icons
Ign:7 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 Packages
Ign:8 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all Packages
Ign:9 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr_FR
Ign:10 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr
Ign:11 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-en
Ign:12 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:13 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:15 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all Packages
Ign:16 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr_FR
Ign:18 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:21 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:23 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all Packages
Ign:24 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 Packages
Ign:25 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-en
Ign:26 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr_FR
Ign:27 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr
Ign:28 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 DEP-11 Metadata
Ign:29 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all DEP-11 Metadata
Ign:30 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free DEP-11 64x64 Icons
Ign:7 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 Packages
Ign:8 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all Packages
Ign:9 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr_FR
Ign:10 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr
Ign:11 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-en
Ign:12 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:13 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:15 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all Packages
Ign:16 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr_FR
Ign:18 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:21 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:23 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all Packages
Ign:24 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 Packages
Ign:25 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-en
Ign:26 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr_FR
Ign:27 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr
Ign:28 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 DEP-11 Metadata
Ign:29 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all DEP-11 Metadata
Ign:30 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free DEP-11 64x64 Icons
Ign:7 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 Packages
Ign:8 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all Packages
Ign:9 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr_FR
Ign:10 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr
Ign:11 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-en
Ign:12 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:13 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:15 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all Packages
Ign:16 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr_FR
Ign:18 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:21 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:23 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all Packages
Ign:24 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 Packages
Ign:25 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-en
Ign:26 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr_FR
Ign:27 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free Translation-fr
Ign:28 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free amd64 DEP-11 Metadata
Ign:29 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free all DEP-11 Metadata
Ign:30 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/non-free DEP-11 64x64 Icons
Err:7 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 Packages
  404  File not found
Ign:8 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all Packages
Ign:9 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr_FR
Ign:10 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-fr
Ign:11 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main Translation-en
Ign:12 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:13 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:15 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib all Packages
Ign:16 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates/contrib Translation-fr_FR
303 ko réceptionnés en 0s (357 ko/s) 
Lecture des listes de paquets... Fait
W: The repository 'http://192.168.0.5/Debian/mirror/deb.debian.org/debian stretch/updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://192.168.0.5/Debian/mirror/security.debian.org/dists/stretch/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://192.168.0.5/Debian/mirror/deb.debian.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://192.168.0.5/Debian/mirror/deb.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
E: Impossible de récupérer http://192.168.0.5/Debian/mirror/deb.debian.org/debian/dists/stretch/updates/main/binary-amd64/Packages  404  File not found
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.

Et voici le fichier sources.list du client :sources.list.txt (1,0 Ko)

Je vous précise que dans le fichier source.list du client, je peux en enlevant les “#” passer facilement du mirroir local au mirroir en ligne, et lorsque je fait l’essaie en ligne, j’ai les même erreurs.

Je ne sais plus quoi faire, merci par avance pour votre aide.


#2

Si tu essaies ceci :

deb http://deb.debian.org/debian/ stretch main non-free contrib

#01x deb http://deb.debian.org/debian/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://security.debian.org/ stretch/updates main contrib non-free
#01x deb http://deb.debian.org/debian/ stretch-updates main contrib non-free

#3

Bonjour,
Je te remercie, tu m’as résolu mon problème.