TL; DR
18.04.1에서 18.04.2로 업그레이드 한 후 커널을 해당 4.18 버전으로 업그레이드하도록 ubuntu 서버를 강제로 실행할 수 없습니다.
역사적 배경
어제 달리기
sudo apt upgrade
사소한 파일 중 하나와 충돌했습니다 (그렇다고 생각합니다 /etc/issue.net
). 불행히도, 그 갈등을 해결하는 동안 실수로 퍼티를 껐습니다. 다시 로그인하면 apt
데이터베이스가 잠겼습니다. 서버를 다시 시작하고 실행했습니다.
sudo dpkg --configure -a
그런 다음 sudo apt upgrade
잘 갔다. 서버를 다시 시작한 후 환영 메시지에서 시스템이 업데이트되었지만 커널이 여전히 4.15 버전이라는 것을 알았습니다.
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)
내가 지금까지 시도한 것
인터넷에서 찾을 수있는 모든 솔루션을 시도했지만 그중 아무것도 도움이되지 않았습니다.
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
과...
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
나는 또한 시도했다
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.
도와주세요.