Here's a weird error i got on endeavour but didnt see on arch about dkms

Unable to install module vboxhost/6.1.18_OSE for kernel 5.10.10-arch1-1: Missing kernel modules tree.
==> Unable to install module r8168/8.048.03 for kernel 5.10.10-arch1-1: Missing kernel modules tree.

and so i tried reinstalling the headers just to be sure

(1/1) reinstalling linux-headers                   [----------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> Unable to install module vboxhost/6.1.18_OSE for kernel 5.10.10-arch1-1: Missing kernel modules tree.
==> Unable to install module r8168/8.048.03 for kernel 5.10.10-arch1-1: Missing kernel modules tree.

still a nogo at this station

those dkms are installed?

for linux r8168 is also a module without dkms and lts r8168-lts

does the linux & linux-headers match in versions ?

@LizziAS
And did you command like this?

 sudo pacman -Syyu

just install a new version of arch and didnt see this error at all. very strange. ill check the versions in a bit but i dont see why they would be different version of linux and linux-headers