Thanks for having a look at this… I’m stuck and I’m not familiar with kernel issues to understand why I can’t just install the linux-header/kernel-devel dependencies, as I can’t even find them, and there doesn’t seem to be any info I can search for as to why!?
I’ve tried multiple packages as per the 3 entries of failed driver installation, so some help with cleaning that up could be helpful too… chz
sudo pacman -S linux-headers ✔
warning: linux54-headers-5.4.150-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux54-headers-5.4.150-1
Total Installed Size: 113.59 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [########################################] 100%
(1/1) checking package integrity [########################################] 100%
(1/1) loading package files [########################################] 100%
(1/1) checking for file conflicts [########################################] 100%
(1/1) checking available disk space [########################################] 100%
:: Running pre-transaction hooks...
(1/2) Remove upgraded DKMS modules
== Unable to remove module 8812au/5.6.4.2_35491.20191025 for kernel 5.4.150-1-MANJARO: Not found in dkms status output.
== Unable to remove module rtl8821CU/5.4.1 for kernel 5.4.150-1-MANJARO: Not found in dkms status output.
== Unable to remove module rtl8821cu/5.4.11229828dcb for kernel 5.4.150-1-MANJARO: Not found in dkms status output.
(2/2) Save Linux kernel modules
:: Processing package changes...
(1/1) reinstalling linux54-headers [########################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
== Unable to install module 8812au/5.6.4.2_35491.20191025 for kernel 5.4.150-1-MANJARO: Missing kernel modules tree.
== Unable to install module rtl8821CU/5.4.1 for kernel 5.4.150-1-MANJARO: Missing kernel modules tree.
== Unable to install module rtl8821cu/5.4.11229828dcb for kernel 5.4.150-1-MANJARO: Missing kernel modules tree.
(4/4) Restore Linux kernel modules
Warning: Kernel has been updated. Modules of the current kernel have been backed up so you can continue to use your computer. However, the new kernel will only work at next boot.
Thank you for taking the time to educate me, I appreciate it ! I knew I was off but I’d done what I could do and ran out of time to debug the post as I’d run out of time to debug the first problem of driver installation also
Please know that an AUR buildscript is created for Archlinux and therefore you need to observe one crucial point.
Arch only supports the latest LTS kernel and the latest stable kernel - as seen on kernel.org.
With that in mind - when having a need to build a kernel modules for devices which have no builtin kernel drivers you will have to use the equivalent kernel on Manjaro.
This will exclude any LTS kernel below the latest - at time of writing this is 5.10 - and for the stable kernel - as of time of writing - this is 5.14.
While the above may not be 100% accurate and it may on some occations succeed using other kernels - it is important to take into consideration when you get problems during the build process.
To answer that question - no you cannot uninstall them - unless you remove the kernels they are built for.