web-dev-qa-db-fra.com

Ne voit pas le nouveau noyau après la mise à niveau

J'ai Ubuntu 18.04 et je souhaite passer au noyau 4.16.9. Essayé: update-grub, update-grub2, Sudo update-initramfs -u, Sudo grub2-install /dev/sda comme mentionné ici et ici (n'a pas aidé) .

uname -a affiche l'ancien noyau. Le nouveau noyau ne figure même pas dans la liste des options de démarrage supplémentaires pour Ubuntu dans le menu de démarrage.

J'ai essayé dpkg -i *.deb ces paquets: enter image description here

1
R S

Je ne pense pas que tu veuilles essayer 4.16.9 mais

Allez à: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16.9/

Sélectionnez les fichiers:

  • linux-headers-4.16.9-041609_4.16.9-041609.201805161024_all.deb
  • linux-headers-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb
  • linux-image-unsigned-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb
  • linux-modules-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb

pour télécharger dans un répertoire, dites ~/Downloads.

Ensuite, accédez au répertoire, confirmez que le téléchargement est terminé et installez le nouveau noyau:

$ cd ~/Downloads
$ ll *.deb
-rw-rw-r-- 1 rick rick 10956316 May 16 21:59 linux-headers-4.16.9-041609_4.16.9-041609.201805161024_all.deb
-rw-rw-r-- 1 rick rick  1062312 May 16 21:59 linux-headers-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb
-rw-rw-r-- 1 rick rick  7938532 May 16 21:59 linux-image-unsigned-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb
-rw-rw-r-- 1 rick rick 45088060 May 16 21:59 linux-modules-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb
$ Sudo dpkg -i *.deb
Selecting previously unselected package linux-headers-4.16.9-041609.
(Reading database ... 603082 files and directories currently installed.)
Preparing to unpack linux-headers-4.16.9-041609_4.16.9-041609.201805161024_all.deb ...
Unpacking linux-headers-4.16.9-041609 (4.16.9-041609.201805161024) ...
Selecting previously unselected package linux-headers-4.16.9-041609-generic.
Preparing to unpack linux-headers-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb ...
Unpacking linux-headers-4.16.9-041609-generic (4.16.9-041609.201805161024) ...
Selecting previously unselected package linux-image-unsigned-4.16.9-041609-generic.
Preparing to unpack linux-image-unsigned-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb ...
Unpacking linux-image-unsigned-4.16.9-041609-generic (4.16.9-041609.201805161024) ...
Selecting previously unselected package linux-modules-4.16.9-041609-generic.
Preparing to unpack linux-modules-4.16.9-041609-generic_4.16.9-041609.201805161024_AMD64.deb ...
Unpacking linux-modules-4.16.9-041609-generic (4.16.9-041609.201805161024) ...
Setting up linux-headers-4.16.9-041609 (4.16.9-041609.201805161024) ...
dpkg: dependency problems prevent configuration of linux-headers-4.16.9-041609-generic:
 linux-headers-4.16.9-041609-generic depends on libssl1.1 (>= 1.1.0); however:
  Package libssl1.1 is not installed.

dpkg: error processing package linux-headers-4.16.9-041609-generic (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-unsigned-4.16.9-041609-generic:
 linux-image-unsigned-4.16.9-041609-generic depends on linux-base (>= 4.5ubuntu1~16.04.1); however:
  Version of linux-base on system is 4.0ubuntu1.

dpkg: error processing package linux-image-unsigned-4.16.9-041609-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-modules-4.16.9-041609-generic (4.16.9-041609.201805161024) ...
Errors were encountered while processing:
 linux-headers-4.16.9-041609-generic
 linux-image-unsigned-4.16.9-041609-generic

Ensuite, vous verrez un message d'erreur à cause de ceci bug . Vous devez maintenant résoudre le problème en utilisant la réponse suivante: Impossible de mettre à niveau le noyau après la version 4.16.

1
WinEunuuchs2Unix