TL; DR
Não consigo forçar meu servidor ubuntu, depois de atualizar para 18.04.2 a partir de 18.04.1, para atualizar o kernel para a versão 4.18 correspondente.
Contexto histórico
Ontem eu corro
sudo apt upgrade
e teve um conflito em um dos arquivos menores (acho que sim /etc/issue.net
). Infelizmente, durante a solução desse conflito, desliguei acidentalmente a massa de vidraceiro ... Ao fazer o login novamente, havia um bloqueio no apt
banco de dados. Eu reiniciei meu servidor e executei
sudo dpkg --configure -a
Então sudo apt upgrade
correu bem. Após reiniciar o servidor, vi, na mensagem de boas-vindas, que meu sistema foi atualizado, mas o kernel ainda está na versão 4.15.
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)
O que eu tentei até agora
Tentei todas as soluções que pude encontrar na Internet, mas nenhuma delas ajudou:
rychu@RychuSRV:~$ sudo apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Fetched 177 kB in 1s (161 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
rychu@RychuSRV:~$ sudo apt-get install linux-image-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-generic is already the newest version (4.15.0.45.47).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rychu@RychuSRV:~$ sudo apt-get install linux-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-generic is already the newest version (4.15.0.45.47).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rychu@RychuSRV:~$ uname -r && dpkg --get-selections linux
4.15.0-45-generic
linux-base install
linux-firmware install
linux-generic install
linux-headers-4.15.0-45 install
linux-headers-4.15.0-45-generic install
linux-headers-generic install
linux-image-4.15.0-23-generic deinstall
linux-image-4.15.0-29-generic deinstall
linux-image-4.15.0-30-generic deinstall
linux-image-4.15.0-32-generic deinstall
linux-image-4.15.0-33-generic deinstall
linux-image-4.15.0-34-generic deinstall
linux-image-4.15.0-36-generic deinstall
linux-image-4.15.0-38-generic deinstall
linux-image-4.15.0-39-generic deinstall
linux-image-4.15.0-42-generic deinstall
linux-image-4.15.0-43-generic install
linux-image-4.15.0-44-generic install
linux-image-4.15.0-45-generic install
linux-image-generic install
linux-modules-4.15.0-23-generic deinstall
linux-modules-4.15.0-29-generic deinstall
linux-modules-4.15.0-30-generic deinstall
linux-modules-4.15.0-32-generic deinstall
linux-modules-4.15.0-33-generic deinstall
linux-modules-4.15.0-34-generic deinstall
linux-modules-4.15.0-36-generic deinstall
linux-modules-4.15.0-38-generic deinstall
linux-modules-4.15.0-39-generic deinstall
linux-modules-4.15.0-42-generic deinstall
linux-modules-4.15.0-43-generic install
linux-modules-4.15.0-44-generic install
linux-modules-4.15.0-45-generic install
linux-modules-extra-4.15.0-23-generic deinstall
linux-modules-extra-4.15.0-29-generic deinstall
linux-modules-extra-4.15.0-30-generic deinstall
linux-modules-extra-4.15.0-32-generic deinstall
linux-modules-extra-4.15.0-33-generic deinstall
linux-modules-extra-4.15.0-34-generic deinstall
linux-modules-extra-4.15.0-36-generic deinstall
linux-modules-extra-4.15.0-38-generic deinstall
linux-modules-extra-4.15.0-39-generic deinstall
linux-modules-extra-4.15.0-42-generic deinstall
linux-modules-extra-4.15.0-43-generic install
linux-modules-extra-4.15.0-44-generic install
linux-modules-extra-4.15.0-45-generic install
rychu@RychuSRV:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-45-generic
Found initrd image: /boot/initrd.img-4.15.0-45-generic
Found linux image: /boot/vmlinuz-4.15.0-44-generic
Found initrd image: /boot/initrd.img-4.15.0-44-generic
Found linux image: /boot/vmlinuz-4.15.0-43-generic
Found initrd image: /boot/initrd.img-4.15.0-43-generic
Adding boot menu entry for EFI firmware configuration
done
rychu@RychuSRV:~$ sudo reboot
E...
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)
rychu@RychuSRV:~$ uname -r
4.15.0-45-generic
Eu também tentei
rychu@RychuSRV:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.
Por favor ajude.