I am redoing this post to provide a bit more information.
I want to install a driver for my Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
Here's the lspci -v output:
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
DeviceName: Onboard LAN
Subsystem: Dell Device 052c
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at f7c00000 (32-bit, non-prefetchable) [size=128K]
Memory at f7c39000 (32-bit, non-prefetchable) [size=4K]
I/O ports at f080 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
I tried to install the package e1000e-dkms from the AUR, but it fails when installing.
Here's the output from yay -S e1000e-dkms:
(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/1) Remove upgraded DKMS modules
==> dkms remove e1000e/3.8.7
:: Processing package changes...
Error! The module/version combo: e1000e-3.8.7 is not located in the DKMS tree.
error: command failed to execute correctly
(1/1) reinstalling e1000e-dkms [############################################################################] 100%Sign command: /usr/lib/modules/5.15.77-1-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/e1000e/3.8.7/source -> /usr/src/e1000e-3.8.7
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=5.15.77-1-lts -C /usr/lib/modules/5.15.77-1-lts/build M=/var/lib/dkms/e1000e/3.8.7/build.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.77-1-lts (x86_64)
Consult /var/lib/dkms/e1000e/3.8.7/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod e1000e/3.8.7 -k 6.0.8-arch1-1
Error! Bad return status for module build on kernel: 6.0.8-arch1-1 (x86_64)
Consult /var/lib/dkms/e1000e/3.8.7/build/make.log for more information.
==> WARNING: `dkms install --no-depmod e1000e/3.8.7 -k 6.0.8-arch1-1' exited 10
==> dkms install --no-depmod e1000e/3.8.7 -k 5.15.77-1-lts
Error! Bad return status for module build on kernel: 5.15.77-1-lts (x86_64)
Consult /var/lib/dkms/e1000e/3.8.7/build/make.log for more information.
==> WARNING: `dkms install --no-depmod e1000e/3.8.7 -k 5.15.77-1-lts' exited 10```
any help is appreciated!