You are not logged in.

#1 2025-09-04 03:25:03

leaveye
Member
Registered: 2020-05-29
Posts: 4

[Solved] Missing XXX kernel moduls tree for module YYY

My laptop has both linux and linux-lts installed for a few yrs. Even so, I do not know very much of kernel tree and modules.

Recently, I removed package linux for EFI partition size limit.

Today, I ran paru -Syu again as usual. and meet this:

(13/26) Install DKMS modules
==> dkms install --no-depmod nvidia/580.76.05 -k 6.12.44-1-lts
==> dkms install --no-depmod vboxhost/7.2.0_OSE -k 6.12.44-1-lts
==> depmod 6.12.44-1-lts
==> ERROR: Missing 6.16.4-arch1-1 kernel modules tree for module nvidia/580.76.05.
==> ERROR: Missing 6.16.4-arch1-1 kernel modules tree for module vboxhost/7.2.0_OSE.
(14/26) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img
==> Starting build: '6.12.44-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

How to fix or to mute this ERROR?

Thanks for any idea or advice.

Last edited by leaveye (2025-10-08 12:40:43)

Offline

#2 2025-09-04 06:14:57

Xephon
Member
Registered: 2024-12-22
Posts: 187

Re: [Solved] Missing XXX kernel moduls tree for module YYY

You were supposed to remove linux-headers along with linux

Offline

#3 2025-09-04 06:39:20

leaveye
Member
Registered: 2020-05-29
Posts: 4

Re: [Solved] Missing XXX kernel moduls tree for module YYY

Thanks. that is true. I just remove the linux-headers.

Offline

#4 2025-09-04 06:59:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,820

Re: [Solved] Missing XXX kernel moduls tree for module YYY

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2025-09-07 03:13:01

leaveye
Member
Registered: 2020-05-29
Posts: 4

Re: [Solved] Missing XXX kernel moduls tree for module YYY

Yes, I have some work on the box. After that I will update to confirm this warning fixed.

Offline

#6 2025-10-08 12:42:24

leaveye
Member
Registered: 2020-05-29
Posts: 4

Re: [Solved] Missing XXX kernel moduls tree for module YYY

Confirmed that this does fix the original problem.

Thanks, again.

Xephon wrote:

You were supposed to remove linux-headers along with linux

Offline

#7 2025-10-08 13:26:43

cryptearth
Member
Registered: 2024-02-03
Posts: 1,709

Re: [Solved] Missing XXX kernel moduls tree for module YYY

leaveye wrote:

or to mute this ERROR?

you DON'T!
whenever a process throws an error at you its developer has decided it's critical enough to require attention from you as the user
just "ignoring" an issue because you don't know how to deal with it is actially quite similar to let your house burn diwn by a fire because you don't know how to extinguish it
the solution in both situations: seek for help

btw: the "solution" by just removing a kernel and its header package might result in the error no longer appear but deep within the request for dkms is still cached
the proper way is to remove the dkms cache

sudo dkms remove [module/module-version] [-k kernel/arch] [--all]

Last edited by cryptearth (2025-10-08 13:26:55)

Offline

Board footer

Powered by FluxBB