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 20-01-2022 18:22:06

fopo
Membre
Inscription : 20-01-2022

Apt-get update ne réponds plus

bonjour,

je lance un apt -get update en mode SU et il bloque a 0%

root@debian-pierre:/home/pierre# apt-get install firmware-realtek
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet firmware-realtek
root@debian-pierre:/home/pierre# apt-get update
Ign:1 http://ftp.be.debian.org/debian stretch InRelease
Ign:2 http://ftp.be.debian.org/debian stretch/updates InRelease
Atteint:3 http://ftp.be.debian.org/debian stretch-updates InRelease
Atteint:4 http://ftp.be.debian.org/debian stretch Release
Ign:5 http://ftp.be.debian.org/debian stretch/updates Release  
Ign:6 http://ftp.be.debian.org/debian stretch/updates/main Sources
Ign:7 http://ftp.be.debian.org/debian stretch/updates/contrib Sources
Ign:8 http://ftp.be.debian.org/debian stretch/updates/main all Packages
Ign:9 http://ftp.be.debian.org/debian stretch/updates/main amd64 Packages
Ign:10 http://ftp.be.debian.org/debian stretch/updates/main Translation-en
Ign:11 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr_BE
Ign:12 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr
Ign:13 http://ftp.be.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://ftp.be.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:15 http://ftp.be.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:16 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://ftp.be.debian.org/debian stretch/updates/contrib all Packages
Ign:18 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr_BE
Ign:21 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://ftp.be.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:23 http://ftp.be.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:6 http://ftp.be.debian.org/debian stretch/updates/main Sources
Ign:7 http://ftp.be.debian.org/debian stretch/updates/contrib Sources
Ign:8 http://ftp.be.debian.org/debian stretch/updates/main all Packages
Ign:9 http://ftp.be.debian.org/debian stretch/updates/main amd64 Packages
Ign:10 http://ftp.be.debian.org/debian stretch/updates/main Translation-en
Ign:11 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr_BE
Ign:12 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr
Ign:13 http://ftp.be.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://ftp.be.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:15 http://ftp.be.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:16 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://ftp.be.debian.org/debian stretch/updates/contrib all Packages
Ign:18 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr_BE
Ign:21 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://ftp.be.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:23 http://ftp.be.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:6 http://ftp.be.debian.org/debian stretch/updates/main Sources
Ign:7 http://ftp.be.debian.org/debian stretch/updates/contrib Sources
Ign:8 http://ftp.be.debian.org/debian stretch/updates/main all Packages
Ign:9 http://ftp.be.debian.org/debian stretch/updates/main amd64 Packages
Ign:10 http://ftp.be.debian.org/debian stretch/updates/main Translation-en
Ign:11 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr_BE
Ign:12 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr
Ign:13 http://ftp.be.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://ftp.be.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:15 http://ftp.be.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:16 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://ftp.be.debian.org/debian stretch/updates/contrib all Packages
Ign:18 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr_BE
Ign:21 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://ftp.be.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:23 http://ftp.be.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:6 http://ftp.be.debian.org/debian stretch/updates/main Sources
Ign:7 http://ftp.be.debian.org/debian stretch/updates/contrib Sources
Ign:8 http://ftp.be.debian.org/debian stretch/updates/main all Packages
Ign:9 http://ftp.be.debian.org/debian stretch/updates/main amd64 Packages
Ign:10 http://ftp.be.debian.org/debian stretch/updates/main Translation-en
Ign:11 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr_BE
Ign:12 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr
Ign:13 http://ftp.be.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://ftp.be.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:15 http://ftp.be.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:16 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://ftp.be.debian.org/debian stretch/updates/contrib all Packages
Ign:18 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr_BE
Ign:21 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://ftp.be.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:23 http://ftp.be.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Ign:6 http://ftp.be.debian.org/debian stretch/updates/main Sources
Ign:7 http://ftp.be.debian.org/debian stretch/updates/contrib Sources
Ign:8 http://ftp.be.debian.org/debian stretch/updates/main all Packages
Ign:9 http://ftp.be.debian.org/debian stretch/updates/main amd64 Packages
Ign:10 http://ftp.be.debian.org/debian stretch/updates/main Translation-en
Ign:11 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr_BE
Ign:12 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr
Ign:13 http://ftp.be.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://ftp.be.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:15 http://ftp.be.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:16 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 Packages
Ign:17 http://ftp.be.debian.org/debian stretch/updates/contrib all Packages
Ign:18 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-en
Ign:19 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr
Ign:20 http://ftp.be.debian.org/debian stretch/updates/contrib Translation-fr_BE
Ign:21 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 DEP-11 Metadata
Ign:22 http://ftp.be.debian.org/debian stretch/updates/contrib all DEP-11 Metadata
Ign:23 http://ftp.be.debian.org/debian stretch/updates/contrib DEP-11 64x64 Icons
Err:6 http://ftp.be.debian.org/debian stretch/updates/main Sources
  404  Not Found [IP : 195.234.45.114 80]
Ign:7 http://ftp.be.debian.org/debian stretch/updates/contrib Sources
Ign:8 http://ftp.be.debian.org/debian stretch/updates/main all Packages
Ign:9 http://ftp.be.debian.org/debian stretch/updates/main amd64 Packages
Ign:10 http://ftp.be.debian.org/debian stretch/updates/main Translation-en
Ign:11 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr_BE
Ign:12 http://ftp.be.debian.org/debian stretch/updates/main Translation-fr
Ign:13 http://ftp.be.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata
Ign:14 http://ftp.be.debian.org/debian stretch/updates/main all DEP-11 Metadata
Ign:15 http://ftp.be.debian.org/debian stretch/updates/main DEP-11 64x64 Icons
Ign:16 http://ftp.be.debian.org/debian stretch/updates/contrib amd64 Packages
0% [En cours]
 



comment puis je résoudre le problème ?

Merci de votre indulgence face au grand débutant que je suis

Dernière modification par fopo (20-01-2022 18:23:32)

Hors ligne

#2 20-01-2022 18:36:11

ubub
Membre
Distrib. : Debian
(G)UI : xfce
Inscription : 14-05-2019

Re : Apt-get update ne réponds plus

Bonjour,
je pense que le plus simple est de migrer ta machine de Debian9 à Debian11 qui est la version stable actuelle..
ta version devient obsolète ....

En ligne

#3 20-01-2022 19:20:11

manet42
Membre
Lieu : Lorraine
Distrib. : Bullseye
Noyau : amd 64 + Win 7
(G)UI : Xfce
Inscription : 30-06-2017

Re : Apt-get update ne réponds plus

je viens d'essayer chez moi (stretch) ça marche !:)

PC bureau H81M-S1, Intel Pentium cpu: Bullseye  DDext et Win 7 DD int en dual boot.+ Portable HP Compaq avec Bullseye.
En essayant continuellement, on finit par réussir. Donc plus ça rate, plus on a de chance que ça marche

Hors ligne

#4 20-01-2022 19:24:26

fopo
Membre
Inscription : 20-01-2022

Re : Apt-get update ne réponds plus

Merci ubub pour ta réponse, y a t'il un moyen de migrer de version en entrant des commandes ou alors il est préférable que je me fasse une clef USB boot avec debian11 ?

Hors ligne

#5 20-01-2022 19:47:55

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : Apt-get update ne réponds plus

il y a trop de différence entre les  versions , fopo .  big_smile  big_smile  big_smile

tu peux te faire une clé de debian 11 stable bullseye pour franchir les différentes versions intermédiaires .
conseillé .

tu peux faire la transition , version par version  en cli (ligne de commandes)
mais c'est beaucoup plus long et aussi casse gueule .
il suffit d'une erreur  dans stretch et tu peux casser l'upgrade .
et pour la rattraper ...

n'oublie pas de sauvegarder tes fichiers importants .
et repars de zero avec bullseye .
c'est préférable .

amicalement ,

alain .

coyotus.png

Hors ligne

#6 20-01-2022 20:03:27

ubub
Membre
Distrib. : Debian
(G)UI : xfce
Inscription : 14-05-2019

Re : Apt-get update ne réponds plus

Pour "migrer", ce qui sera long, c'est qu'il faut le faire de version à version,
deb9 ==> deb10, puis deb10 ==> deb11 ,
en changeant le nom de stretch à buster, puis rebelote de buster à bullseye dans ton sources.list, en veillant à ce qu'il n'y ait pas de dépots externes (virtualbox, skype ou autre) et avoir une connection  internet avec un cable pour éviter des mauvaises surprises....
@manet; t'as testé avec l'adresse belge ?

En ligne

#7 20-01-2022 20:06:55

fopo
Membre
Inscription : 20-01-2022

Re : Apt-get update ne réponds plus

merci beaucoup je me lance dans la sauvegarde et la préparation de la clé USB

Hors ligne

#8 20-01-2022 20:28:09

ubub
Membre
Distrib. : Debian
(G)UI : xfce
Inscription : 14-05-2019

Re : Apt-get update ne réponds plus

Aussi, dans ta machine -sous strech --, tu peux taper

dpkg -l | grep firmware


pour connaitre les micrologiciels installés, s'y en a ..
Ca pourra peut-être te servir lors de ta réinstalation

En ligne

#9 20-01-2022 21:00:57

fopo
Membre
Inscription : 20-01-2022

Re : Apt-get update ne réponds plus

ca me donne ça

ii  firmware-linux-free                   3.4                                         all          Binary firmware for various drivers in the Linux kernel
 

Hors ligne

#10 20-01-2022 21:25:15

Tawal
Membre
Distrib. : Debian Stable à jour
Noyau : amd64
(G)UI : Xfce
Inscription : 25-02-2021

Re : Apt-get update ne réponds plus

Hello,

Une petite remarque pour toi fopo :

je lance un apt -get update en mode SU


root@debian-pierre:/home/pierre# .....


Pour te connecter en root, on n'utilise pas su tout seul, mais plutôt su -
Certes, ces 2 commandes te connectent à root, mais pas de la même manière :
   1 su : connexion à root sans initialiser $PATH et d'autres variables d'environnement, et tu te retrouves dans le même dossier d'où tu as lancé su
   2 su - : connexion à root en initialisant toutes les variables d'environnement propre à root (dont $PATH et $HOME), tu te retrouves donc dans le dossier /root après la commande su -.

man su a écrit :

       For backward compatibility, su defaults to not change the current directory and to only set the  environment  variables  HOME  and  SHELL
       (plus  USER  and LOGNAME if the target user is not root).  It is recommended to always use the --login option (instead of its shortcut -)
       to avoid side effects caused by mixing environments.


DeepL a écrit :

       Pour des raisons de compatibilité ascendante, su ne modifie pas par défaut le répertoire courant et définit uniquement les variables d'environnement HOME et SHELL
       (plus USER et LOGNAME si l'utilisateur cible n'est pas root).  Il est recommandé de toujours utiliser l'option --login (au lieu de son raccourci -)
       pour éviter les effets secondaires causés par le mélange des environnements.

Traduit avec www.DeepL.com/Translator (version gratuite)



Donc, on utilise su --login ou su -, la petite remarque concernant le raccourci d'option - est là en cas d'utilisation de su dans un script POSIX.

Dernière modification par Tawal (20-01-2022 21:33:28)


Comme la science n'est pas infuse, elle se diffuse.
Useless Use of Cat Award
Filenames and Pathnames in Shell: How to do it Correctly
À chaque problème sa solution, à chaque solution son moyen, si pas de moyen, toujours le problème !

Hors ligne

#11 21-01-2022 09:15:53

ubub
Membre
Distrib. : Debian
(G)UI : xfce
Inscription : 14-05-2019

Re : Apt-get update ne réponds plus

fopo a écrit :

ca me donne ça

ii  firmware-linux-free                   3.4                                         all          Binary firmware for various drivers in the Linux kernel
 


bonjour,
.. semblerait que tu naura (normalement) pas à te prendre la tête pour les firmwares; Celui que tu cites semble être installé de base

firmware-linux-free/stable,stable,now 20200122-1 all  [installé, automatique]
  micrologiciels binaires pour des pilotes du noyau Linux

En ligne

Pied de page des forums