Logging in by ssh - last line - is anything wrong?
Chris Green
cl at isbd.net
Tue Jul 25 08:56:25 UTC 2023
On Tue, Jul 25, 2023 at 09:46:56AM +0100, Chris Green wrote:
> 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.
>
... and here's confirmation after rebooting:-
chris$ dpkg --list 'linux-image*' | grep ^ii
ii linux-image-6.2.0-25-generic 6.2.0-25.25 amd64 Signed kernel image generic
ii linux-image-6.2.0-26-generic 6.2.0-26.26 amd64 Signed kernel image generic
ii linux-image-generic 6.2.0.26.26 amd64 Generic Linux kernel image
chris$
It's similar on a 22.04 system I have. I don't have any 20.04 systems
now.
Strangely I have a 22.04 system (only occasionally updated) which
shows:-
chris at maxine-X201$ dpkg --list 'linux-image*' | grep ^ii
ii linux-image-5.15.0-73-generic 5.15.0-73.80 amd64 Signed kernel image generic
ii linux-image-5.4.0-150-generic 5.4.0-150.167 amd64 Signed kernel image generic
ii linux-image-generic 5.15.0.73.71 amd64 Generic Linux kernel image
It's running the 5.15 kernel. Maybe the last upgrade was a dist
upgrade. I need to upgrade it now I think! :-)
--
Chris Green
More information about the ubuntu-users
mailing list