Kernel Modules
On my server I have more than a dozen kernel branches for the kernel
[www3 ~]# ls -alt /usr/lib/modules/
total 320
drwxr-xr-x 4 root root 4096 Jan 13 00:06 6.6.69-1-lts
drwxr-xr-x 3 root root 4096 Jan 13 00:06 6.6.47-1-lts
drwxr-xr-x 4 root root 4096 Jan 13 00:06 6.12.8-artix1-1
drwxr-xr-x 3 root root 4096 Jan 13 00:06 6.10.6-artix1-1
drwxr-xr-x 161 root root 143360 Jan 13 00:06 ..
drwxr-xr-x 45 root root 4096 Jan 13 00:05 .
drwxr-xr-x 3 root root 4096 Aug 28 2024 6.6.42-1-lts
drwxr-xr-x 3 root root 4096 Aug 28 2024 6.10.2-artix1-1
drwxr-xr-x 3 root root 4096 Aug 4 2024 6.9.7-artix1-1
drwxr-xr-x 3 root root 4096 Aug 4 2024 6.6.36-1-lts
drwxr-xr-x 3 root root 4096 Jul 4 2024 6.7.6-artix1-1
drwxr-xr-x 3 root root 4096 Jul 4 2024 6.6.18-1-lts
drwxr-xr-x 3 root root 4096 Mar 2 2024 6.5.7-artix1-1
drwxr-xr-x 3 root root 4096 Oct 21 2023 6.3.6-artix1-1
drwxr-xr-x 3 root root 4096 Jun 17 2023 6.3.1-artix1-1
drwxr-xr-x 3 root root 4096 Mar 7 2020 5.5.2-artix1-1
drwxr-xr-x 3 root root 4096 Feb 11 2020 4.19.96-1-lts
drwxr-xr-x 3 root root 4096 Jan 25 2020 4.19.88-1-lts
drwxr-xr-x 3 root root 4096 Jan 3 2020 4.19.84-1-lts
drwxr-xr-x 3 root root 4096 Nov 19 2019 4.19.76-2-lts
drwxr-xr-x 3 root root 4096 Oct 8 2019 4.19.74-1-lts
drwxr-xr-x 3 root root 4096 Sep 27 2019 4.19.60-1-lts
drwxr-xr-x 3 root root 4096 Jan 9 2019 4.14.90-1-lts
drwxr-xr-x 3 root root 4096 Dec 27 2018 4.14.82-1-lts
drwxr-xr-x 3 root root 4096 Nov 24 2018 4.14.72-1-lts
drwxr-xr-x 3 root root 4096 Sep 28 2018 4.14.69-1-lts
drwxr-xr-x 3 root root 4096 Sep 12 2018 4.14.67-1-lts
drwxr-xr-x 3 root root 4096 Aug 29 2018 4.14.52-1-lts
drwxr-xr-x 3 root root 4096 Jul 5 2018 4.14.48-1-lts
drwxr-xr-x 3 root root 4096 Jun 9 2018 4.14.35-1-lts
drwxr-xr-x 3 root root 4096 Apr 21 2018 4.14.32-1-lts
drwxr-xr-x 3 root root 4096 Apr 7 2018 4.14.27-2-lts
drwxr-xr-x 3 root root 4096 Mar 17 2018 4.14.26-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.76-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.75-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.73-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.75-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.73-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.72-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.71-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.9.67-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.14.24-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.14.23-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.14.20-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.14.19-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.14.18-1-lts
drwxr-xr-x 2 root root 4096 Mar 16 2018 4.14.13-1-ARTIX
The workstation has just the recent kernel
flatbush:[ruben]:~$ ls -al /usr/lib/modules
total 320
drwxr-xr-x 4 root root 50 Feb 18 08:02 .
drwxr-xr-x 237 root root 245760 Feb 19 04:50 ..
drwxr-xr-x 3 root root 4096 Feb 18 08:02 6.12.13-1-lts
drwxr-xr-x 4 root root 4096 Feb 18 20:22 6.13.2-artix1-1
flatbush:[ruben]:~$
Any idea why? Can I just remove the unused modules?