Logging in by ssh - last line - is anything wrong?

Chris Green cl at isbd.net
Tue Jul 25 08:46:56 UTC 2023


On Tue, Jul 25, 2023 at 10:35:05AM +0200, Bo Berglund wrote:
> On Tue, 25 Jul 2023 07:53:43 +0100, David Fletcher <dave at thefletchers.net>
> wrote:
> 
> >> So I did a full upgrade and it listed new kernel being received.
> >> Rebooted and and logged in again but the message is still there... :-
> >> (
> >> 
> >> It says:
> >> 
> >> Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-89-generic x86_64)
> 
> >Mine says
> >Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-155-generic x86_64)
> >
> 
> Seems like we are on the same LTS version and yet you have a later kernel...
> 
> I have now checked the kernel in use:
> $ uname -r5.4.0-89-generic
> 
> And these are all that exist on my system:
> 
> $ dpkg --list 'linux-image*' | grep ^ii
> linux-image-5.4.0-155-generic  5.4.0-155.172  amd64  Signed kernel image generic
> linux-image-5.4.0-89-generic   5.4.0-89.100   amd64  Signed kernel image generic
> linux-image-generic            5.4.0.155.151  amd64  Generic Linux kernel image
> 
> So your kernel does exist on my system but is not used!!!
> 
> How can I *force* it to use the *newest* kernel when booting?
> 
> The server is headless and I always use SSH to interact with it.
> 
> I am in fact now 100 km away from it but it has an OpenVPN server service which
> is used to connect the two sites together so I can work on it notwithstanding.
> 
> And if there are several kernels available, which will be used when there is no
> access to the boot menu (I think that a selection of kernels is available
> there)?
> 
> Possibly the oldest available? Looks like that above...
> 
On my (xubuntu) systems it's always the newest kernel that gets used
on reboot unless you specifically ask for an older one.  The standard
apt upgrade process just keeps 'latest' plus the previous one.

-- 
Chris Green



More information about the ubuntu-users mailing list