URL: https://linuxfr.org/forums/linux-general/posts/mise-a-jour-raspbian-echoue-avec-un-timeout-impossible-de-continuer Title: Mise à jour raspbian échoue avec un timeout, impossible de continuer Authors: FantastIX Date: 2019年11月22日T20:43:08+01:00 License: CC By-SA Tags: buster, update et raspbian Score: 1 Bonjour. Je suis loin d'être spécialiste avec Debian; même si j'ai une bonne expérience du système, je n'ai jamais osé "chipoter" avec le gestionnaire de paquets. Les faits: j'ai formaté une carte SD avec Raspbian Buster, la version du 29 septembre 2019. Le raspberry démarre et veut se mettre à jour mais échoue. J'essaie de me débrouiller avec une mise à jour manuelle mais je ne fais que récolter un message comme celui-ci: ``` Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Error: Timeout was reached ``` J'essaie en modifiant les serveurs source (sans trop comprendre d'où vient le problème) et je recommence. Ça donne pareil. Aucun des paquets ne peut s'installer, il y a des dépendances non satisfaites, notamment avec python 2.7 — mais c'est seulement une conséquence de la mise à jour défaillante, je pense. Je lance la commande (que je découvre quelques instants plus tôt): `apt-get update --list-uris` et je vois ça: ``` 'http://archive.raspberrypi.org/debian/dists/buster/InRelease' archive.raspberrypi.org_debian_dists_buster_InRelease 0 'http://archive.raspberrypi.org/debian/dists/buster/main/binary-armhf/Packages.xz' archive.raspberrypi.org_debian_dists_buster_main_binary-armhf_Packages 0 'http://archive.raspberrypi.org/debian/dists/buster/main/binary-all/Packages.xz' archive.raspberrypi.org_debian_dists_buster_main_binary-all_Packages 0 'http://archive.raspberrypi.org/debian/dists/buster/main/i18n/Translation-en_US.xz' archive.raspberrypi.org_debian_dists_buster_main_i18n_Translation-en%5fUS 0 'http://archive.raspberrypi.org/debian/dists/buster/main/i18n/Translation-en.xz' archive.raspberrypi.org_debian_dists_buster_main_i18n_Translation-en 0 'http://archive.raspberrypi.org/debian/dists/buster/main/i18n/Translation-en_US.UTF-8.xz' archive.raspberrypi.org_debian_dists_buster_main_i18n_Translation-en%5fUS.UTF-8 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease' raspbian.raspberrypi.org_raspbian_dists_buster_InRelease 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/main/binary-armhf/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/main/binary-all/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-all_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/main/i18n/Translation-en_US.xz' raspbian.raspberrypi.org_raspbian_dists_buster_main_i18n_Translation-en%5fUS 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/main/i18n/Translation-en.xz' raspbian.raspberrypi.org_raspbian_dists_buster_main_i18n_Translation-en 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/main/i18n/Translation-en_US.UTF-8.xz' raspbian.raspberrypi.org_raspbian_dists_buster_main_i18n_Translation-en%5fUS.UTF-8 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/contrib/binary-armhf/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_contrib_binary-armhf_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/contrib/binary-all/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_contrib_binary-all_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/contrib/i18n/Translation-en_US.xz' raspbian.raspberrypi.org_raspbian_dists_buster_contrib_i18n_Translation-en%5fUS 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/contrib/i18n/Translation-en.xz' raspbian.raspberrypi.org_raspbian_dists_buster_contrib_i18n_Translation-en 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/contrib/i18n/Translation-en_US.UTF-8.xz' raspbian.raspberrypi.org_raspbian_dists_buster_contrib_i18n_Translation-en%5fUS.UTF-8 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/non-free/binary-armhf/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_non-free_binary-armhf_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/non-free/binary-all/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_non-free_binary-all_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/non-free/i18n/Translation-en_US.xz' raspbian.raspberrypi.org_raspbian_dists_buster_non-free_i18n_Translation-en%5fUS 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/non-free/i18n/Translation-en.xz' raspbian.raspberrypi.org_raspbian_dists_buster_non-free_i18n_Translation-en 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/non-free/i18n/Translation-en_US.UTF-8.xz' raspbian.raspberrypi.org_raspbian_dists_buster_non-free_i18n_Translation-en%5fUS.UTF-8 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/rpi/binary-armhf/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_rpi_binary-armhf_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/rpi/binary-all/Packages.xz' raspbian.raspberrypi.org_raspbian_dists_buster_rpi_binary-all_Packages 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/rpi/i18n/Translation-en_US.xz' raspbian.raspberrypi.org_raspbian_dists_buster_rpi_i18n_Translation-en%5fUS 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/rpi/i18n/Translation-en.xz' raspbian.raspberrypi.org_raspbian_dists_buster_rpi_i18n_Translation-en 0 'http://raspbian.raspberrypi.org/raspbian/dists/buster/rpi/i18n/Translation-en_US.UTF-8.xz' raspbian.raspberrypi.org_raspbian_dists_buster_rpi_i18n_Translation-en%5fUS.UTF-8 0 ``` En testant les URIs l'une après l'autre, je vois que l'une d'entre elles n'aboutit pas: 'http://archive.raspberrypi.org/debian/dists/buster/main/binary-armhf/Packages.xz' d'où je me dis que c'est probablement celle-là qui fait avorter _apt update_. J'élimine alors les fichiers sous _/var/lib/apt/lists/_ et je relance _apt update_... ben non, toujours la même chose. Quand ça veut pas, ça veut pas. Et ça m'emmerde. Je voulais juste tester les transferts bluetooth avec mon raspberry étant donné que ça déconne entre mon PC et le téléphone. Ce faisant, j'ai vu la carte SD se corrompre et je n'ai pas d'alimentation plus puissante. J'ai donc trois problèmes sur les bras au lieu d'un. J'ose pas trop tester davantage de peur d'en avoir un nouveau... (Je plaisante. Enfin juste un peu.) Quelqu'un aurait une idée?

AltStyle によって変換されたページ (->オリジナル) /