Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 29/07/2021, à 10:23

chapier

Re : [Résolu] Ecran noir apres un restart

thibault@new-host-name:/etc/phpmyadmin$ sudo apt-update
sudo: apt-update : commande introuvable

Hors ligne

#27 Le 29/07/2021, à 10:32

xubu1957

Re : [Résolu] Ecran noir apres un restart

C'est :

sudo apt update

Erreur de ma part !


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#28 Le 29/07/2021, à 10:35

chapier

Re : [Résolu] Ecran noir apres un restart

thibault@new-host-name:/etc/phpmyadmin$ sudo apt update
[sudo] Mot de passe de thibault : 
Atteint :1 [url]http://lu.archive.ubuntu.com/ubuntu[/url] focal InRelease
Atteint :2 [url]http://lu.archive.ubuntu.com/ubuntu[/url] focal-updates InRelease                                                                                                    
Atteint :3 [url]http://lu.archive.ubuntu.com/ubuntu[/url] focal-backports InRelease                                                                                                  
Atteint :4 [url]http://ppa.launchpad.net/atareao/atareao/ubuntu[/url] focal InRelease                                                                                                
Atteint :5 [url]http://repo.mysql.com/apt/ubuntu[/url] focal InRelease                                                                                                               
Atteint :6 [url]http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu[/url] focal InRelease                                                                                           
Atteint :7 [url]https://artifacts.elastic.co/packages/7.x/apt[/url] stable InRelease                                                                                                 
Atteint :8 [url]https://download.docker.com/linux/ubuntu[/url] focal InRelease                                                                                                       
Atteint :9 [url]https://dl.yarnpkg.com/debian[/url] stable InRelease                                                                                                                 
Atteint :10 [url]https://download.docker.com/linux/ubuntu[/url] bionic InRelease                                                                                                     
Atteint :11 [url]http://ppa.launchpad.net/ondrej/php/ubuntu[/url] focal InRelease                                                                                                    
Atteint :12 [url]https://packages.microsoft.com/repos/ms-teams[/url] stable InRelease                                                                           
Réception de :13 [url]http://security.ubuntu.com/ubuntu[/url] focal-security InRelease [114 kB]                               
Atteint :14 [url]https://packagecloud.io/slacktechnologies/slack/debian[/url] jessie InRelease
Réception de :15 [url]http://security.ubuntu.com/ubuntu[/url] focal-security/main amd64 DEP-11 Metadata [27,7 kB]
Réception de :16 [url]http://security.ubuntu.com/ubuntu[/url] focal-security/universe amd64 DEP-11 Metadata [60,9 kB]
Réception de :17 [url]http://security.ubuntu.com/ubuntu[/url] focal-security/multiverse amd64 DEP-11 Metadata [2468 B]
205 ko réceptionnés en 2s (118 ko/s)                                         
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
thibault@new-host-name:/etc/phpmyadmin$
thibault@new-host-name:/etc/phpmyadmin$ sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl linux-headers-5.4.0-59 linux-headers-5.4.0-59-generic
  linux-image-5.4.0-59-generic linux-modules-5.4.0-59-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
thibault@new-host-name:/etc/phpmyadmin$ ^C

Dernière modification par chapier (Le 29/07/2021, à 10:36)

Hors ligne

#29 Le 29/07/2021, à 10:46

NicoApi73

Re : [Résolu] Ecran noir apres un restart

Bonjour,

On voit au #20 que le noyau 5.4.0-80 est installé. C'est effectivement le dernier noyau en date de la série 5.4. Essaie de démarrer dessus et dis nous si ça fonctionne correctement (si tu arrives à démarrer dessus, donne le retour de uname -mr)

Hors ligne

#30 Le 29/07/2021, à 10:46

xubu1957

Re : [Résolu] Ecran noir apres un restart

Montre le sources.list :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
cqfd93 a écrit :

Astuce pour copier / coller sans erreur :

  • triple clic gauche pour sélectionner et copier une ligne entière

  • clic molette pour coller dans le terminal

Tu as des ppa, dont graphics-drivers/ppa pour les cartes graphiques. hmm


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#31 Le 29/07/2021, à 12:12

chapier

Re : [Résolu] Ecran noir apres un restart

Alors pour xubu1957 :

thibault@new-host-name:/etc/phpmyadmin$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1    # deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
     2   
     3    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4    # newer versions of the distribution.
     5    deb http://lu.archive.ubuntu.com/ubuntu/ focal main restricted
     6    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal main restricted
     7   
     8    ## Major bug fix updates produced after the final release of the
     9    ## distribution.
    10    deb http://lu.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    12   
    13    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14    ## team. Also, please note that software in universe WILL NOT receive any
    15    ## review or updates from the Ubuntu security team.
    16    deb http://lu.archive.ubuntu.com/ubuntu/ focal universe
    17    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal universe
    18    deb http://lu.archive.ubuntu.com/ubuntu/ focal-updates universe
    19    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-updates universe
    20   
    21    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22    ## team, and may not be under a free licence. Please satisfy yourself as to
    23    ## your rights to use the software. Also, please note that software in
    24    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25    ## security team.
    26    deb http://lu.archive.ubuntu.com/ubuntu/ focal multiverse
    27    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal multiverse
    28    deb http://lu.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    30   
    31    ## N.B. software from this repository may not have been tested as
    32    ## extensively as that contained in the main release, although it includes
    33    ## newer versions of some applications which may provide useful features.
    34    ## Also, please note that software in backports WILL NOT receive any review
    35    ## or updates from the Ubuntu security team.
    36    deb http://lu.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    38   
    39    ## Uncomment the following two lines to add software from Canonical's
    40    ## 'partner' repository.
    41    ## This software is not part of Ubuntu, but is offered by Canonical and the
    42    ## respective vendors as a service to Ubuntu users.
    43    # deb http://archive.canonical.com/ubuntu focal partner
    44    # deb-src http://archive.canonical.com/ubuntu focal partner
    45   
    46    deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47    # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    48    deb http://security.ubuntu.com/ubuntu focal-security universe
    49    # deb-src http://security.ubuntu.com/ubuntu focal-security universe
    50    deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51    # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    52   
    53    # This system was installed using small removable media
    54    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    55    # entries were disabled at the end of the installation process.
    56    # For information about how to configure apt package sources,
    57    # see the sources.list(5) manual.
    58    deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
    59    # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
    60    deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
    61    # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

/etc/apt/sources.list.d/atareao-ubuntu-atareao-focal.list

     1    deb http://ppa.launchpad.net/atareao/atareao/ubuntu focal main
     2    # deb-src http://ppa.launchpad.net/atareao/atareao/ubuntu focal main

/etc/apt/sources.list.d/mysql.list

     1    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2    # You may comment out entries below, but any other modifications may be lost.
     3    # Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
     4    deb http://repo.mysql.com/apt/ubuntu/ focal mysql-apt-config
     5    deb http://repo.mysql.com/apt/ubuntu/ focal mysql-8.0
     6    deb http://repo.mysql.com/apt/ubuntu/ focal mysql-tools
     7    # deb http://repo.mysql.com/apt/ubuntu/ focal mysql-tools-preview
     8    deb-src http://repo.mysql.com/apt/ubuntu/ focal mysql-8.0

/etc/apt/sources.list.d/ondrej-ubuntu-php-focal.list

     1    deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
     2    # deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main

/etc/apt/sources.list.d/elastic-7.x.list

     1    deb https://artifacts.elastic.co/packages/7.x/apt stable main

/etc/apt/sources.list.d/yarn.list

     1    deb https://dl.yarnpkg.com/debian/ stable main

/etc/apt/sources.list.d/slack.list

     1    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2    # You may comment out this entry, but any other modifications may be lost.
     3    deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main

/etc/apt/sources.list.d/certbot-ubuntu-certbot-focal.list


/etc/apt/sources.list.d/teams.list

     1    deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main

/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-focal.list

     1    deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main
     2    # deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main
thibault@new-host-name:/etc/phpmyadmin$

Hors ligne

#32 Le 29/07/2021, à 12:44

xubu1957

Re : [Résolu] Ecran noir apres un restart

Voir règles du forum > balises BB code

Balise CODE :

C'est la balise à utiliser pour donner de longs messages d'erreurs, des contenus de fichiers de configuration, des commandes à taper, etc … Elle permet des messages plus "compacts", et est moins ambiguë que d'autres polices sur certains caractères.

alca94 a écrit :

1539072593.png

thibault@new-host-name:/etc/phpmyadmin$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1    # deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
     2   
     3    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4    # newer versions of the distribution.
     5    deb http://lu.archive.ubuntu.com/ubuntu/ focal main restricted
     6    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal main restricted
     7   
     8    ## Major bug fix updates produced after the final release of the
     9    ## distribution.
    10    deb http://lu.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    12   
    13    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14    ## team. Also, please note that software in universe WILL NOT receive any
    15    ## review or updates from the Ubuntu security team.
    16    deb http://lu.archive.ubuntu.com/ubuntu/ focal universe
    17    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal universe
    18    deb http://lu.archive.ubuntu.com/ubuntu/ focal-updates universe
    19    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-updates universe
    20   
    21    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22    ## team, and may not be under a free licence. Please satisfy yourself as to
    23    ## your rights to use the software. Also, please note that software in
    24    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25    ## security team.
    26    deb http://lu.archive.ubuntu.com/ubuntu/ focal multiverse
    27    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal multiverse
    28    deb http://lu.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    30   
    31    ## N.B. software from this repository may not have been tested as
    32    ## extensively as that contained in the main release, although it includes
    33    ## newer versions of some applications which may provide useful features.
    34    ## Also, please note that software in backports WILL NOT receive any review
    35    ## or updates from the Ubuntu security team.
    36    deb http://lu.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37    # deb-src http://lu.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    38   
    39    ## Uncomment the following two lines to add software from Canonical's
    40    ## 'partner' repository.
    41    ## This software is not part of Ubuntu, but is offered by Canonical and the
    42    ## respective vendors as a service to Ubuntu users.
    43    # deb http://archive.canonical.com/ubuntu focal partner
    44    # deb-src http://archive.canonical.com/ubuntu focal partner
    45   
    46    deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47    # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    48    deb http://security.ubuntu.com/ubuntu focal-security universe
    49    # deb-src http://security.ubuntu.com/ubuntu focal-security universe
    50    deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51    # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    52   
    53    # This system was installed using small removable media
    54    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    55    # entries were disabled at the end of the installation process.
    56    # For information about how to configure apt package sources,
    57    # see the sources.list(5) manual.
    58    deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
    59    # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
    60    deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
    61    # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

/etc/apt/sources.list.d/atareao-ubuntu-atareao-focal.list

     1    deb http://ppa.launchpad.net/atareao/atareao/ubuntu focal main
     2    # deb-src http://ppa.launchpad.net/atareao/atareao/ubuntu focal main

/etc/apt/sources.list.d/mysql.list

     1    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2    # You may comment out entries below, but any other modifications may be lost.
     3    # Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
     4    deb http://repo.mysql.com/apt/ubuntu/ focal mysql-apt-config
     5    deb http://repo.mysql.com/apt/ubuntu/ focal mysql-8.0
     6    deb http://repo.mysql.com/apt/ubuntu/ focal mysql-tools
     7    # deb http://repo.mysql.com/apt/ubuntu/ focal mysql-tools-preview
     8    deb-src http://repo.mysql.com/apt/ubuntu/ focal mysql-8.0

/etc/apt/sources.list.d/ondrej-ubuntu-php-focal.list

     1    deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
     2    # deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main

/etc/apt/sources.list.d/elastic-7.x.list

     1    deb https://artifacts.elastic.co/packages/7.x/apt stable main

/etc/apt/sources.list.d/yarn.list

     1    deb https://dl.yarnpkg.com/debian/ stable main

/etc/apt/sources.list.d/slack.list

     1    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2    # You may comment out this entry, but any other modifications may be lost.
     3    deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main

/etc/apt/sources.list.d/certbot-ubuntu-certbot-focal.list


/etc/apt/sources.list.d/teams.list

     1    deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main

/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-focal.list

     1    deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main
     2    # deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main
thibault@new-host-name:/etc/phpmyadmin$

En matière de gestion de serveur, je ne saurais pas aider.

_ _ _

Je vois que tu utilises le ppa ondrej, qui serait bloquant pour des mises à jour > [RESOLU] [PHP] Impossible d'upgrade la version de php

Il faut des aidants spécialistes.

Dernière modification par xubu1957 (Le 29/07/2021, à 12:51)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#33 Le 29/07/2021, à 13:45

NicoApi73

Re : [Résolu] Ecran noir apres un restart

Je n'ai pas vu de retour pour le #29. Ma proposition est d'essayer de passer sur un noyau 5.4 qui est plus stable que le 5.8. Le dernier en date (le 5.4.0-80) est maintenant installé. Il serait bon de l'essayer, dans le pire des cas, ça clos cette possibilité !

Hors ligne

#34 Le 29/07/2021, à 18:25

chapier

Re : [Résolu] Ecran noir apres un restart

Merci pour ta réponse NicoApi73,

Oui, je suis au travail donc j'ai du mal à faire les essais, surtout qu'il y a beaucoup de truc a faire en ce moment sad .

J'ai déjà changé de noyeau linux au démarrage (downgrader). La 5.4 fonctionne et là j'ai testé celle là :

thibault@new-host-name:~/Codes/symfony/alkorToPick/public/order$ uname -mr
5.8.0-55-generic x86_64
thibault@new-host-name:~/Codes/symfony/alkorToPick/public/order$ 

ça marche aussi. Cependant je suis obligé d'aller dans Grub à chaque démarrage pour configurer le noyau que je prends. Je voulais savoir comment éviter ça pour ne pas à avoir à changer le noyau à chaque démarrage.

merci smile

Dernière modification par chapier (Le 29/07/2021, à 18:25)

Hors ligne

#35 Le 29/07/2021, à 20:00

NicoApi73

Re : [Résolu] Ecran noir apres un restart

Tu bootes sur le noyau 5.4.0-80
Tu t'assures avec uname -mr que tu es bien sur ce noyau, puis tu passes les commandes suivantes :

sudo apt remove linux-generic-hwe-20.04  linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04 --purge
sudo apt autoremove --purge
echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"


Tu ne passes aucune commande si tu n'es pas sur le 5.4.0-80

Tu pourras rebooter et démarrer normalement. Le seul doute que j'ai c'est que les 5.8 partent bien avec l'autoremove. Si ce n'est pas le cas, nous allons les virer à la main et pour ça il faudra de nouveau, pour la dernière fois, choisir manuellement le 5.4.0-80. Oublie le 5.8.0-55, je te déconseille fortement de rester sur un noyau sans le mettre à jour. La série 5.4 est maintenue.

Hors ligne

#36 Le 05/08/2021, à 15:31

chapier

Re : [Résolu] Ecran noir apres un restart

Bonjour,

Merci pour la réponse, alors :

thibault@new-host-name:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-headers-5.4.0-80                5.4.0-80.90          all
ii  linux-headers-5.4.0-80-generic        5.4.0-80.90          amd64
ii  linux-image-5.4.0-80-generic          5.4.0-80.90          amd64
ii  linux-modules-5.4.0-80-generic        5.4.0-80.90          amd64
ii  linux-modules-extra-5.4.0-80-generic  5.4.0-80.90          amd64
ii  linux-generic                         5.4.0.80.84          amd64
ii  linux-headers-generic                 5.4.0.80.84          amd64
ii  linux-image-generic                   5.4.0.80.84          amd64
ii  linux-hwe-5.8-headers-5.8.0-55        5.8.0-55.62~20.04.1  all
ii  linux-headers-5.8.0-55-generic        5.8.0-55.62~20.04.1  amd64
ii  linux-image-5.8.0-55-generic          5.8.0-55.62~20.04.1  amd64
ii  linux-modules-5.8.0-55-generic        5.8.0-55.62~20.04.1  amd64
ii  linux-modules-extra-5.8.0-55-generic  5.8.0-55.62~20.04.1  amd64
ii  linux-hwe-5.8-headers-5.8.0-59        5.8.0-59.66~20.04.1  all
ii  linux-headers-5.8.0-59-generic        5.8.0-59.66~20.04.1  amd64
ii  linux-image-5.8.0-59-generic          5.8.0-59.66~20.04.1  amd64
ii  linux-modules-5.8.0-59-generic        5.8.0-59.66~20.04.1  amd64
ii  linux-modules-extra-5.8.0-59-generic  5.8.0-59.66~20.04.1  amd64
ii  linux-hwe-5.8-headers-5.8.0-63        5.8.0-63.71~20.04.1  all
ii  linux-headers-5.8.0-63-generic        5.8.0-63.71~20.04.1  amd64
ii  linux-image-5.8.0-63-generic          5.8.0-63.71~20.04.1  amd64
ii  linux-modules-5.8.0-63-generic        5.8.0-63.71~20.04.1  amd64
ii  linux-modules-extra-5.8.0-63-generic  5.8.0-63.71~20.04.1  amd64

Noyau courant : 5.4.0-80-generic x86_64
thibault@new-host-name:~$ 

Hors ligne

#37 Le 05/08/2021, à 17:00

NicoApi73

Re : [Résolu] Ecran noir apres un restart

J'ai tapé mon message trop vite. La commande suivante est un peu longue, mais l'utilisation de * est dangereuse avec apt.

sudo apt remove linux-hwe-5.8-headers-5.8.0-55 linux-headers-5.8.0-55-generic linux-image-5.8.0-55-generic linux-modules-5.8.0-55-generic linux-modules-extra-5.8.0-55-generic
sudo apt remove linux-hwe-5.8-headers-5.8.0-59 linux-headers-5.8.0-59-generic linux-image-5.8.0-59-generic linux-modules-5.8.0-59-generic linux-modules-extra-5.8.0-59-generic
sudo apt remove linux-hwe-5.8-headers-5.8.0-63 linux-headers-5.8.0-63-generi linux-image-5.8.0-63-generic linux-modules-5.8.0-63-generic linux-modules-extra-5.8.0-63-generic
sudo update-grub

Dernière modification par NicoApi73 (Le 05/08/2021, à 17:02)

Hors ligne

#38 Le 06/08/2021, à 12:16

chapier

Re : [Résolu] Ecran noir apres un restart

Merci pour la réponse alors :

Résultat de la première commande :

thibault@new-host-name:~$ sudo apt remove linux-hwe-5.8-headers-5.8.0-55 linux-headers-5.8.0-55-generic linux-image-5.8.0-55-generic linux-modules-5.8.0-55-generic linux-modules-extra-5.8.0-55-generic
[sudo] Mot de passe de thibault : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  linux-headers-5.8.0-55-generic linux-hwe-5.8-headers-5.8.0-55
  linux-image-5.8.0-55-generic linux-modules-5.8.0-55-generic
  linux-modules-extra-5.8.0-55-generic
0 mis à jour, 0 nouvellement installés, 5 à enlever et 95 non mis à jour.
Après cette opération, 390 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] O
(Lecture de la base de données... 321464 fichiers et répertoires déjà installés.)
Suppression de linux-headers-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
Suppression de linux-hwe-5.8-headers-5.8.0-55 (5.8.0-55.62~20.04.1) ...
Suppression de linux-modules-extra-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
Suppression de linux-image-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.8.0-55-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.8.0-63-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-63-generic
Image Linux trouvée : /boot/vmlinuz-5.8.0-59-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-59-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-80-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-80-generic
Adding boot menu entry for UEFI Firmware Settings
fait
Suppression de linux-modules-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
thibault@new-host-name:~$ 

Résultat de la deuxième commande :

thibault@new-host-name:~$ sudo apt remove linux-hwe-5.8-headers-5.8.0-59 linux-headers-5.8.0-59-generic linux-image-5.8.0-59-generic linux-modules-5.8.0-59-generic linux-modules-extra-5.8.0-59-generic
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  linux-headers-5.8.0-59-generic linux-hwe-5.8-headers-5.8.0-59
  linux-image-5.8.0-59-generic linux-modules-5.8.0-59-generic
  linux-modules-extra-5.8.0-59-generic
0 mis à jour, 0 nouvellement installés, 5 à enlever et 95 non mis à jour.
Après cette opération, 390 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] O
(Lecture de la base de données... 283822 fichiers et répertoires déjà installés.)
Suppression de linux-headers-5.8.0-59-generic (5.8.0-59.66~20.04.1) ...
Suppression de linux-hwe-5.8-headers-5.8.0-59 (5.8.0-59.66~20.04.1) ...
Suppression de linux-modules-extra-5.8.0-59-generic (5.8.0-59.66~20.04.1) ...
Suppression de linux-image-5.8.0-59-generic (5.8.0-59.66~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.8.0-59-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.8.0-63-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-63-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-80-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-80-generic
Adding boot menu entry for UEFI Firmware Settings
fait
Suppression de linux-modules-5.8.0-59-generic (5.8.0-59.66~20.04.1) ...
thibault@new-host-name:~$ 

Résultat de la troisième commande :

thibault@new-host-name:~$ sudo apt remove linux-hwe-5.8-headers-5.8.0-63 linux-headers-5.8.0-63-generi linux-image-5.8.0-63-generic linux-modules-5.8.0-63-generic linux-modules-extra-5.8.0-63-generic
[sudo] Mot de passe de thibault : 
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 linux-headers-5.8.0-63-generi
E: Impossible de trouver de paquet correspondant à l'expression rationnelle « linux-headers-5.8.0-63-generi »
thibault@new-host-name:~$ sudo apt remove linux-hwe-5.8-headers-5.8.0-63 linux-headers-5.8.0-63-generic linux-image-5.8.0-63-generic linux-modules-5.8.0-63-generic linux-modules-extra-5.8.0-63-generic
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  linux-headers-5.8.0-63-generic linux-hwe-5.8-headers-5.8.0-63
  linux-image-5.8.0-63-generic linux-modules-5.8.0-63-generic
  linux-modules-extra-5.8.0-63-generic
0 mis à jour, 0 nouvellement installés, 5 à enlever et 95 non mis à jour.
Après cette opération, 390 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] O
(Lecture de la base de données... 246180 fichiers et répertoires déjà installés.
)
Suppression de linux-headers-5.8.0-63-generic (5.8.0-63.71~20.04.1) ...
Suppression de linux-hwe-5.8-headers-5.8.0-63 (5.8.0-63.71~20.04.1) ...
Suppression de linux-modules-extra-5.8.0-63-generic (5.8.0-63.71~20.04.1) ...
Suppression de linux-image-5.8.0-63-generic (5.8.0-63.71~20.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-80-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-80-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.8.0-63-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-80-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-80-generic
Adding boot menu entry for UEFI Firmware Settings
fait
Suppression de linux-modules-5.8.0-63-generic (5.8.0-63.71~20.04.1) ...
thibault@new-host-name:~$ 

Résultat de la quatrième commande :

thibault@new-host-name:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-80-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-80-generic
Adding boot menu entry for UEFI Firmware Settings
fait
thibault@new-host-name:~$ 

Voila : )

Hors ligne

#39 Le 09/08/2021, à 11:21

chapier

Re : [Résolu] Ecran noir apres un restart

En tout cas merci. Maintenant le pc fonctionne et demarre normalement smile

Il faudra que je mette à jours quand le noyau ?
Et quelle commande met à jours le noyau ?

sudo apt upgrade

?

Merci

Hors ligne

#40 Le 09/08/2021, à 12:58

NicoApi73

Re : [Résolu] Ecran noir apres un restart

Bonjour,

Le noyau sera mis à jour avec les commandes de maintenance habituelles :

sudo apt update
sudo apt upgrade

Hors ligne

#41 Le 11/08/2021, à 09:59

chapier

Re : [Résolu] Ecran noir apres un restart

Merci smile

Hors ligne