Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Installation] Install newer kernel

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
nickreserved
Posts: 3
Joined: 2022-12-18 15:33

[Installation] Install newer kernel

#1 Post by nickreserved »

I have an arm NAS with a kernel v4.
apt update && apt dist-upgrade does not upgrade my kernel.
But apt list show newer kernels v5.

Why apt does not upgrade to v5 kernels?

Can I manually do this?

Is apt install linux-kernel-... enough?

I ask, because I am afraid to do this, because NAS has not a display output and if something broke, I must restore the backed up partition.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Installation] Install newer kernel

#2 Post by Aki »

Moved to "Off-Topic" subforum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Installation] Install newer kernel

#3 Post by Aki »

Hello,
nickreserved wrote: 2023-03-17 11:23 I have an arm NAS with a kernel v4.
What is its manufacturer and model ? Or is it custom made ?
nickreserved wrote: 2023-03-17 11:23 apt update && apt dist-upgrade does not upgrade my kernel.
But apt list show newer kernels v5.
Why apt does not upgrade to v5 kernels?
Can I manually do this?
Is apt install linux-kernel-... enough?
You did not report you are using Debian GNU/Linux as operating system for the NAS. What distribution are you using ? Is it an embedded Linux Kernel ?
Can you send the output of the following commands ?

Code: Select all

uname -a
lsb_release -a
dpkg-architecture
apt update
cat /etc/apt/sources.list
nickreserved wrote: 2023-03-17 11:23 I ask, because I am afraid to do this, because NAS has not a display output and if something broke, I must restore the backed up partition.
If you wish to update the kernel, you need to backup first your data on a different support and have a recovery procedure (from the manufacturer) if something goes wrong (and it will probably do).
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

nickreserved
Posts: 3
Joined: 2022-12-18 15:33

Re: [Installation] Install newer kernel

#4 Post by nickreserved »

Code: Select all

Linux ODROID-HC2 4.14.294+ #1 SMP PREEMPT Sat Sep 24 10:24:15 UTC 2022 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Mar 15 21:35:01 2023 from 10.0.0.197
root@ODROID-HC2:~# uname -a
Linux ODROID-HC2 4.14.294+ #1 SMP PREEMPT Sat Sep 24 10:24:15 UTC 2022 armv7l GNU/Linux
root@ODROID-HC2:~# lsb_release -a
-bash: lsb_release: command not found
root@ODROID-HC2:~# dpkg-architecture
-bash: dpkg-architecture: command not found
root@ODROID-HC2:~# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Hit:5 https://oph.mdrjr.net/meveric bullseye InRelease
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Get:6 http://deb.debian.org/debian-security bullseye-security/main armhf Packages [232 kB]
Hit:7 https://www.deb-multimedia.org bullseye InRelease
Get:8 https://www.deb-multimedia.org bullseye-backports InRelease [13.1 kB]
Get:9 http://deb.debian.org/debian-security bullseye-security/main Translation-en [154 kB]
Get:10 https://www.deb-multimedia.org bullseye-backports/main armhf Packages [31.9 kB]
Fetched 524 kB in 3s (167 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@ODROID-HC2:~# apt list --upgradable
Listing... Done
uboot/unknown 20220519-1 armhf [upgradable from: 20170824-9+deb8u1]
N: There is 1 additional version. Please use the '-a' switch to see it
root@ODROID-HC2:~# cat /etc/apt/sources.list
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb http://deb.debian.org/debian-security bullseye-security main

deb https://www.deb-multimedia.org bullseye main non-free
deb https://www.deb-multimedia.org bullseye-backports main

deb http://oph.mdrjr.net/meveric all main testing
deb https://oph.mdrjr.net/meveric all xu3
deb https://oph.mdrjr.net/meveric bullseye main backports
root@ODROID-HC2:~#

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Installation] Install newer kernel

#5 Post by Aki »

Hello,
What is the output of the command:

Code: Select all

apt-cache policy
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [Installation] Install newer kernel

#6 Post by stevepusser »

Kernel upgrades are not automatic unless you also have a separate kernel metapackage installed--when that gets upgraded, it depends on and pulls in a newer 5.10 (in bullseye's case) kernel. Standard Debian installs do have the metapackages so the kernel gets security updates.

If the 4.14. kernel shipped with the NAS on a Bullseye system, it may have patches that are essential for it to run on the NAS. But this is just a guess, since IDK anything about the history of your system--like if it came with deb-multimedia enabled. (eye-roll)
MX Linux packager and developer

Post Reply