logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 03-08-2018 10:39:20

Userdebutant
Membre
Distrib. : Debian GNU/Linux 9.5 (stretch)
Noyau : Linux 4.9.0-7-amd64
(G)UI : Openbox / compiz
Inscription : 14-07-2018

Installation de pip, problème

Bonjour, je tente d'installer pip (pas intégré dans python2.7.13, la version que j'ai) via

apt-get install python-pip

ce qui me retourne

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
The following additional packages will be installed:
  libexpat1-dev libpython-all-dev libpython-dev libpython2.7-dev python-all
  python-all-dev python-crypto python-dbus python-dev python-keyring
  python-keyrings.alt python-pip-whl python-secretstorage python-wheel
  python-xdg python2.7-dev
Paquets suggérés :
  python-crypto-dbg python-crypto-doc python-dbus-dbg python-dbus-doc
  python-fs python-gdata python-kde4 python-keyczar python-secretstorage-doc
Les NOUVEAUX paquets suivants seront installés :
  libexpat1-dev libpython-all-dev libpython-dev libpython2.7-dev python-all
  python-all-dev python-crypto python-dbus python-dev python-keyring
  python-keyrings.alt python-pip python-pip-whl python-secretstorage
  python-wheel python-xdg python2.7-dev
0 mis à jour, 17 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 28,2 Mo/30,8 Mo dans les archives.
Après cette opération, 47,8 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n]
Réception de:1 http://ftp.fr.debian.org/debian stretch/main amd64 libpython2.7-dev amd64 2.7.13-2+deb9u2 [28,2 MB]
Err:1 http://ftp.fr.debian.org/debian stretch/main amd64 libpython2.7-dev amd64 2.7.13-2+deb9u2
  Somme de contrôle de hachage incohérente
  Hashes of expected file:
   - SHA256:4583f378a00294ae674f3a533be0c9c72dbb2c20b104f50df3303a81003a5631
   - MD5Sum:c729517d99384e76ce7260f2e5f15806 [weak]
   - Filesize:28197152 [weak]
  Hashes of received file:
   - SHA256:d7ace5db8520918f712bf80b111f8bbb443733eb5a02e6da3a52758474a170f2
   - MD5Sum:78e48464b2cae885af1c88171180b510 [weak]
   - Filesize:1989804 [weak]
  Last modification reported: Sun, 26 Nov 2017 15:39:18 +0000
1 990 ko réceptionnés en 47s (41,5 ko/s)    
E: Impossible de récupérer http://ftp.fr.debian.org/debian/pool/main/p/python2.7/libpython2.7-dev_2.7.13-2+deb9u2_amd64.deb  Somme de contrôle de hachage incohérente
   Hashes of expected file:
    - SHA256:4583f378a00294ae674f3a533be0c9c72dbb2c20b104f50df3303a81003a5631
    - MD5Sum:c729517d99384e76ce7260f2e5f15806 [weak]
    - Filesize:28197152 [weak]
   Hashes of received file:
    - SHA256:d7ace5db8520918f712bf80b111f8bbb443733eb5a02e6da3a52758474a170f2
    - MD5Sum:78e48464b2cae885af1c88171180b510 [weak]
    - Filesize:1989804 [weak]
   Last modification reported: Sun, 26 Nov 2017 15:39:18 +0000
E: Impossible de récupérer certaines archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing ?
 



apt-get update && apt-get install python-pip donne la même chose, et apt-get --fix-missing ne renvoie rien d'important. J'ai lu que ça pouvait être un problème de connexion internet, mais je suis bien connecté (avec un débit correct) et d'ailleurs il commence à télécharger les paquets avant de se bloquer et d'afficher le message d'erreur (d'ailleurs le pourcentage de téléchargement atteint avant le plantage varie).
Je ne vois pas trop pourquoi ça ne marche pas, j'ai suivi trouvé la ligne de commande sur le site de python, j'ai pu installer d'autres paquets ce matin...

Hors ligne

#2 03-08-2018 10:52:40

Beta-Pictoris
Membre
Lieu : Angers
Distrib. : Buster
Inscription : 11-08-2015

Re : Installation de pip, problème

Change de dépôt pour voir:

cp /etc/apt/sources.list /etc/apt/sources.list.old
sed -i 's/ftp\.fr\.debian.org/ftp.univ-nantes.fr/' /etc/apt/sources.list


Vide le cache apt:

apt clean

Dernière modification par Beta-Pictoris (03-08-2018 10:55:01)

Hors ligne

#3 03-08-2018 11:03:12

Userdebutant
Membre
Distrib. : Debian GNU/Linux 9.5 (stretch)
Noyau : Linux 4.9.0-7-amd64
(G)UI : Openbox / compiz
Inscription : 14-07-2018

Re : Installation de pip, problème

J'ai executé le deuxième en root, ça ne marchait pas en user. En réessayant apt-get update && apt-get install python-pip j'ai un téléchargement entre 100 et 300kB/s (et ça a l'air encore plus lent qu'avant, le apt-get update n'aboutit pas pour l'instant, et le apt-get install python-pip va donc être vraiment très long à supposer qu'il fonctionne).
Ça semble avoir fonctionné, mais ça a été très long (plus d'une demie-heure). Voilà le résultat :

apt-get update && apt-get install python-pip


Atteint:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.univ-nantes.fr/debian stretch InRelease                      
Réception de:4 http://ftp.univ-nantes.fr/debian stretch-updates InRelease [91,0 kB]
Réception de:5 http://ftp.univ-nantes.fr/debian stretch Release [118 kB]
Atteint:3 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease  
Réception de:6 http://ftp.univ-nantes.fr/debian stretch-updates/main Sources [3 752 B]
Réception de:7 http://ftp.univ-nantes.fr/debian stretch-updates/main amd64 Packages [5 148 B]
Réception de:8 http://ftp.univ-nantes.fr/debian stretch-updates/main i386 Packages [5 164 B]
Réception de:9 http://ftp.univ-nantes.fr/debian stretch-updates/main Translation-en [4 512 B]
Réception de:10 http://ftp.univ-nantes.fr/debian stretch Release.gpg [2 434 B]
Réception de:11 http://ftp.univ-nantes.fr/debian stretch/non-free Sources [79,7 kB]
Réception de:12 http://ftp.univ-nantes.fr/debian stretch/main Sources [6 758 kB]
Réception de:13 http://ftp.univ-nantes.fr/debian stretch/main i386 Packages [7 078 kB]
Réception de:14 http://ftp.univ-nantes.fr/debian stretch/main amd64 Packages [7 099 kB]
Réception de:14 http://ftp.univ-nantes.fr/debian stretch/main amd64 Packages [7 099 kB]
Réception de:15 http://ftp.univ-nantes.fr/debian stretch/main Translation-fr [1 894 kB]
Réception de:15 http://ftp.univ-nantes.fr/debian stretch/main Translation-fr [1 894 kB]
Réception de:16 http://ftp.univ-nantes.fr/debian stretch/main Translation-en [5 393 kB]
Réception de:16 http://ftp.univ-nantes.fr/debian stretch/main Translation-en [5 393 kB]
Réception de:16 http://ftp.univ-nantes.fr/debian stretch/main Translation-en [5 393 kB]
Réception de:17 http://ftp.univ-nantes.fr/debian stretch/main amd64 DEP-11 Metadata [3 066 kB]
Réception de:18 http://ftp.univ-nantes.fr/debian stretch/main DEP-11 64x64 Icons [6 804 kB]
Réception de:18 http://ftp.univ-nantes.fr/debian stretch/main DEP-11 64x64 Icons [6 804 kB]
Réception de:18 http://ftp.univ-nantes.fr/debian stretch/main DEP-11 64x64 Icons [6 804 kB]
Réception de:19 http://ftp.univ-nantes.fr/debian stretch/non-free i386 Packages [69,7 kB]
Réception de:20 http://ftp.univ-nantes.fr/debian stretch/non-free amd64 Packages [78,7 kB]
Réception de:21 http://ftp.univ-nantes.fr/debian stretch/non-free Translation-en [80,6 kB]
Réception de:22 http://ftp.univ-nantes.fr/debian stretch/non-free amd64 DEP-11 Metadata [7 180 B]
Réception de:23 http://ftp.univ-nantes.fr/debian stretch/non-free DEP-11 64x64 Icons [30,0 kB]
23,8 Mo réceptionnés en 31min 45s (12,5 ko/s)
Lecture des listes de paquets... Fait
N: « winehq.li » dans le répertoire « /etc/apt/sources.list.d/ » a été ignoré car il utilise une extension non valable
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
The following additional packages will be installed:
  libexpat1-dev libpython-all-dev libpython-dev libpython2.7-dev python-all
  python-all-dev python-crypto python-dbus python-dev python-keyring
  python-keyrings.alt python-pip-whl python-secretstorage python-wheel
  python-xdg python2.7-dev
Paquets suggérés :
  python-crypto-dbg python-crypto-doc python-dbus-dbg python-dbus-doc
  python-fs python-gdata python-kde4 python-keyczar python-secretstorage-doc
Les NOUVEAUX paquets suivants seront installés :
  libexpat1-dev libpython-all-dev libpython-dev libpython2.7-dev python-all
  python-all-dev python-crypto python-dbus python-dev python-keyring
  python-keyrings.alt python-pip python-pip-whl python-secretstorage
  python-wheel python-xdg python2.7-dev
0 mis à jour, 17 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 30,8 Mo dans les archives.
Après cette opération, 47,8 Mo d'espace disque supplémentaires seront utilisés.
N: « winehq.li » dans le répertoire « /etc/apt/sources.list.d/ » a été ignoré car il utilise une extension non valable
Souhaitez-vous continuer ? [O/n]
Réception de:1 http://ftp.univ-nantes.fr/debian stretch/main amd64 libexpat1-dev amd64 2.2.0-2+deb9u1 [134 kB]
Réception de:2 http://ftp.univ-nantes.fr/debian stretch/main amd64 libpython2.7-dev amd64 2.7.13-2+deb9u2 [28,2 MB]
Réception de:3 http://ftp.univ-nantes.fr/debian stretch/main amd64 libpython-dev amd64 2.7.13-2 [20,1 kB]
Réception de:4 http://ftp.univ-nantes.fr/debian stretch/main amd64 libpython-all-dev amd64 2.7.13-2 [960 B]
Réception de:5 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-all amd64 2.7.13-2 [942 B]
Réception de:6 http://ftp.univ-nantes.fr/debian stretch/main amd64 python2.7-dev amd64 2.7.13-2+deb9u2 [290 kB]
Réception de:7 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-dev amd64 2.7.13-2 [1 126 B]
Réception de:8 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-all-dev amd64 2.7.13-2 [962 B]
Réception de:9 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-crypto amd64 2.6.1-7 [259 kB]
Réception de:10 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-dbus amd64 1.2.4-1+b1 [185 kB]
Réception de:11 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-secretstorage all 2.3.1-2 [13,8 kB]
Réception de:12 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-keyring all 10.1-1 [40,7 kB]
Réception de:13 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-keyrings.alt all 1.3-1 [16,4 kB]
Réception de:14 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-pip-whl all 9.0.1-2 [1 406 kB]
Réception de:15 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-pip all 9.0.1-2 [179 kB]
Réception de:16 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-wheel all 0.29.0-2 [51,7 kB]
Réception de:17 http://ftp.univ-nantes.fr/debian stretch/main amd64 python-xdg all 0.25-4 [35,8 kB]
30,8 Mo réceptionnés en 8min 25s (61,0 ko/s)                                  
N: « winehq.li » dans le répertoire « /etc/apt/sources.list.d/ » a été ignoré car il utilise une extension non valable
Sélection du paquet libexpat1-dev:amd64 précédemment désélectionné.
(Lecture de la base de données... 208721 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../00-libexpat1-dev_2.2.0-2+deb9u1_amd64.deb ...
Dépaquetage de libexpat1-dev:amd64 (2.2.0-2+deb9u1) ...
Sélection du paquet libpython2.7-dev:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../01-libpython2.7-dev_2.7.13-2+deb9u2_amd64.deb ...
Dépaquetage de libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ...
Sélection du paquet libpython-dev:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../02-libpython-dev_2.7.13-2_amd64.deb ...
Dépaquetage de libpython-dev:amd64 (2.7.13-2) ...
Sélection du paquet libpython-all-dev:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../03-libpython-all-dev_2.7.13-2_amd64.deb ...
Dépaquetage de libpython-all-dev:amd64 (2.7.13-2) ...
Sélection du paquet python-all précédemment désélectionné.
Préparation du dépaquetage de .../04-python-all_2.7.13-2_amd64.deb ...
Dépaquetage de python-all (2.7.13-2) ...
Sélection du paquet python2.7-dev précédemment désélectionné.
Préparation du dépaquetage de .../05-python2.7-dev_2.7.13-2+deb9u2_amd64.deb ...
Dépaquetage de python2.7-dev (2.7.13-2+deb9u2) ...
Sélection du paquet python-dev précédemment désélectionné.
Préparation du dépaquetage de .../06-python-dev_2.7.13-2_amd64.deb ...
Dépaquetage de python-dev (2.7.13-2) ...
Sélection du paquet python-all-dev précédemment désélectionné.
Préparation du dépaquetage de .../07-python-all-dev_2.7.13-2_amd64.deb ...
Dépaquetage de python-all-dev (2.7.13-2) ...
Sélection du paquet python-crypto précédemment désélectionné.
Préparation du dépaquetage de .../08-python-crypto_2.6.1-7_amd64.deb ...
Dépaquetage de python-crypto (2.6.1-7) ...
Sélection du paquet python-dbus précédemment désélectionné.
Préparation du dépaquetage de .../09-python-dbus_1.2.4-1+b1_amd64.deb ...
Dépaquetage de python-dbus (1.2.4-1+b1) ...
Sélection du paquet python-secretstorage précédemment désélectionné.
Préparation du dépaquetage de .../10-python-secretstorage_2.3.1-2_all.deb ...
Dépaquetage de python-secretstorage (2.3.1-2) ...
Sélection du paquet python-keyring précédemment désélectionné.
Préparation du dépaquetage de .../11-python-keyring_10.1-1_all.deb ...
Dépaquetage de python-keyring (10.1-1) ...
Sélection du paquet python-keyrings.alt précédemment désélectionné.
Préparation du dépaquetage de .../12-python-keyrings.alt_1.3-1_all.deb ...
Dépaquetage de python-keyrings.alt (1.3-1) ...
Sélection du paquet python-pip-whl précédemment désélectionné.
Préparation du dépaquetage de .../13-python-pip-whl_9.0.1-2_all.deb ...
Dépaquetage de python-pip-whl (9.0.1-2) ...
Sélection du paquet python-pip précédemment désélectionné.
Préparation du dépaquetage de .../14-python-pip_9.0.1-2_all.deb ...
Dépaquetage de python-pip (9.0.1-2) ...
Sélection du paquet python-wheel précédemment désélectionné.
Préparation du dépaquetage de .../15-python-wheel_0.29.0-2_all.deb ...
Dépaquetage de python-wheel (0.29.0-2) ...
Sélection du paquet python-xdg précédemment désélectionné.
Préparation du dépaquetage de .../16-python-xdg_0.25-4_all.deb ...
Dépaquetage de python-xdg (0.25-4) ...
Paramétrage de python-pip-whl (9.0.1-2) ...
Paramétrage de python-crypto (2.6.1-7) ...
Paramétrage de python-wheel (0.29.0-2) ...
Paramétrage de python-keyrings.alt (1.3-1) ...
Paramétrage de libexpat1-dev:amd64 (2.2.0-2+deb9u1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.6.1-2) ...
Paramétrage de libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ...
Paramétrage de python-dbus (1.2.4-1+b1) ...
Remove stale byte-compiled files...
Paramétrage de python-pip (9.0.1-2) ...
Paramétrage de python2.7-dev (2.7.13-2+deb9u2) ...
Paramétrage de python-all (2.7.13-2) ...
Paramétrage de python-xdg (0.25-4) ...
Paramétrage de python-secretstorage (2.3.1-2) ...
Paramétrage de libpython-dev:amd64 (2.7.13-2) ...
Paramétrage de python-keyring (10.1-1) ...
Paramétrage de python-dev (2.7.13-2) ...
Paramétrage de libpython-all-dev:amd64 (2.7.13-2) ...
Paramétrage de python-all-dev (2.7.13-2) ...
 



23,8 Mo réceptionnés en 31min 45s (12,5 ko/s), c'est vraiment lent non ?

Dernière modification par Userdebutant (03-08-2018 11:46:11)

Hors ligne

Pied de page des forums