Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try install on MANJARO Gnome edition #23

Closed
lauccode opened this issue Aug 12, 2021 · 10 comments
Closed

try install on MANJARO Gnome edition #23

lauccode opened this issue Aug 12, 2021 · 10 comments

Comments

@lauccode
Copy link

Trying to install with command

yay -S hid-tmff2-dkms

I get the messages at the end :

:: Procéder à l’installation ? [O/n]
(1/1) vérification des clés dans le trousseau [###############################################] 100%
(1/1) vérification de l’intégrité des paquets [###############################################] 100%
(1/1) chargement des fichiers des paquets [###############################################] 100%
(1/1) analyse des conflits entre fichiers [###############################################] 100%
(1/1) vérification de l’espace disque disponible [###############################################] 100%
:: Exécution des crochets de pré-transaction…
(1/1) Remove upgraded DKMS modules

==> Unable to remove module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO: Not found in dkms status output.

:: Traitement des changements du paquet…
(1/1) réinstallation hid-tmff2-dkms [###############################################] 100%
:: Exécution des crochets de post-transaction…
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules

==> Unable to install module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO: Missing kernel modules tree.

I don't success to solve this issue with message "Unable to ...."

@isopix
Copy link

isopix commented Aug 12, 2021 via email

@lauccode
Copy link
Author

Sorry, not familiar with Arch.
Not sure I'm right but I already have :

sudo pacman -Ss linux512-headers
core/linux512-headers 5.12.19-1 [installé]

@cazzoo
Copy link

cazzoo commented Aug 12, 2021

Did you try to install as sudo ?

@isopix
Copy link

isopix commented Aug 12, 2021 via email

@lauccode
Copy link
Author

uname -a
-> Linux cyclope-gl502vmz 5.10.56-1-MANJARO #1 SMP PREEMPT Thu Aug 5 10:51:27 UTC 2021 x86_64 GNU/Linux
modinfo hid-tmff2
-> modinfo: ERROR: Module hid-tmff2 not found.
find /lib/modules/ -name 'tmff2.ko*'
-> (not found)

@Kimplul
Copy link
Owner

Kimplul commented Aug 13, 2021

Seems like your headers are v5.12, whereas the kernel you're running is v5.10. The header version should match the kernel version. If you're running a custom kernel, you'll need to install the headers for that kernel.

@lauccode
Copy link
Author

Thanks
I did it

sudo pacman -Ss linux510-headers  ✔  32s 
core/linux510-headers 5.10.56-1 [installé]
Header files and scripts for building modules for Linux510 kernel

But how could I force yay to install for 5.10.56-1 ?

yay -S hid-tmff2-dkms

==> dkms remove --no-depmod -m hid-tmff2 -v 0.8 -k 5.10.56-1-MANJARO
==> Unable to remove module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO: Not found in dkms status output.
(2/2) Install DKMS modules
==> dkms install --no-depmod -m hid-tmff2 -v 0.8 -k 5.10.56-1-MANJARO
==> depmod 5.10.56-1-MANJARO
==> Unable to install module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO: Missing kernel modules tree.

   ~  uname -a  ✔
Linux cyclope-gl502vmz 5.10.56-1-MANJARO #1 SMP PREEMPT Thu Aug 5 10:51:27 UTC 2021 x86_64 GNU/Linux
   ~  modinfo hid-tmff2  ✔
modinfo: ERROR: Module hid-tmff2 not found.
   ~  find /lib/modules/ -name 'tmff2.ko*'

@Kimplul
Copy link
Owner

Kimplul commented Aug 13, 2021

Did you read this already?
https://forum.manjaro.org/t/missing-kernel-modules-tree/50221

The last comment might work, though I haven't tested it myself. I'll copy the command here in case the link goes dead at some point:
sudo pacman -S $(ls /boot | awk -F "-" '/^linux/ { print $1"-headers" }')

@lauccode
Copy link
Author

I tried the command (it install 5.10.56-1).
But I get the same issue with

yay -S hid-tmff2-dkms

Unable to remove/install module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO :

==> dkms remove --no-depmod -m hid-tmff2 -v 0.8 -k 5.10.56-1-MANJARO
==> Unable to remove module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO: Not found in dkms status output.
:: Traitement des changements du paquet…
(1/1) réinstallation hid-tmff2-dkms [###############################################] 100%
:: Exécution des crochets de post-transaction…
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod -m hid-tmff2 -v 0.8 -k 5.10.56-1-MANJARO
==> depmod 5.10.56-1-MANJARO
==> Unable to install module hid-tmff2/0.8 for kernel 5.12.19-1-MANJARO: Missing kernel modules tree.

@lauccode
Copy link
Author

OK , I prepared a script to reinstall all after to reinstall Manjaro from scratch and all is working fine (with yay install ...)
So, I think we can close the issue.

Thanks a lot for your help and time

@Kimplul Kimplul closed this as completed Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants