[SOLVED] Can't update kernel over 7.0.14-8-pve - dependency problems

frmlda

New Member
Aug 25, 2026
1
0
1
Hi !

First of all, thanks to everyone contributing to this forum, I have a home server running Proxmox VE 9.2.11 and this forum has been helpful more than once ! Now, I've had to create an account because I cannot find an exact match for my issue, although I understand how it happened.

First of all, I do not have a subscription, so I'm running on pve-no-subscription.
Now, I made the mistake, out of habit, to run "apt upgrade" instead of "dist-upgrade" or "full-upgrade", I've found out that much.

So, obviously, I have must have a partial updates problem, so whenever I run an apt command now, like "apt dist-upgrade", Proxmox tries to configure the new kernels (7.0.14-11-pve and now 7.0.14-14-pve) but fails because of some dependency issues. Here's what it returns :
Code:
root@lapmox:~# apt dist-upgrade
Summary:                     
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
  2 not fully installed or removed.
  Space needed: 0 B / 55.2 GB available

Continue? [Y/n] y
Setting up proxmox-kernel-7.0.14-14-pve-signed (7.0.14-14) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 7.0.14-14-pve /boot/vmlinuz-7.0.14-14-pve
Sign command: /lib/modules/7.0.14-14-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module 8812au/5.6.4.2_35491.20191025 for kernel 7.0.14-14-pve (x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
'make' -j8 KVER=7.0.14-14-pve KSRC=/lib/modules/7.0.14-14-pve/build

Error! Bad return status for module build on kernel: 7.0.14-14-pve (x86_64)
Consult /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/make.log for more information.

Autoinstall on 7.0.14-14-pve succeeded for module(s) nvidia.
Autoinstall on 7.0.14-14-pve failed for module(s) 8812au(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-7.0.14-14-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-7.0.14-14-pve-signed (--configure):
 installed proxmox-kernel-7.0.14-14-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-7.0:
 proxmox-kernel-7.0 depends on proxmox-kernel-7.0.14-14-pve-signed | proxmox-kernel-7.0.14-14-pve; however:
  Package proxmox-kernel-7.0.14-14-pve-signed is not configured yet.
  Package proxmox-kernel-7.0.14-14-pve is not installed.
  Package proxmox-kernel-7.0.14-14-pve-signed which provides proxmox-kernel-7.0.14-14-pve is not configured yet.

dpkg: error processing package proxmox-kernel-7.0 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 proxmox-kernel-7.0.14-14-pve-signed
 proxmox-kernel-7.0
Error: Sub-process /usr/bin/dpkg returned an error code (1)

And here's what I have in the log for /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/make.log
Code:
DKMS (dkms-3.4.1) make.log for 8812au/5.6.4.2_35491.20191025 for kernel 7.0.14-14-pve (x86_64)
Tue Aug 25 08:01:37 AM CEST 2026

Building module(s)
# command: 'make' -j8 KVER=7.0.14-14-pve KSRC=/lib/modules/7.0.14-14-pve/build
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/7.0.14-14-pve/build M=/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build  modules
make[1]: Entering directory '/usr/src/linux-headers-7.0.14-14-pve'
make[2]: Entering directory '/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build'
warning: pahole version differs from the one used to build the kernel
  The kernel was built with: 130
  You are using:             0
  CC [M]  core/rtw_cmd.o
  CC [M]  core/rtw_security.o
  CC [M]  core/rtw_debug.o
  CC [M]  core/rtw_io.o
  CC [M]  core/rtw_ioctl_query.o
  CC [M]  core/rtw_ioctl_set.o
  CC [M]  core/rtw_ieee80211.o
core/rtw_cmd.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_cmd.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  CC [M]  core/rtw_mlme.o
core/rtw_security.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
core/rtw_debug.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_security.o] Error 1
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_debug.o] Error 1
core/rtw_ioctl_query.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
core/rtw_io.c:47:10: fatal error: drv_types.h: No such file or directory
   47 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
core/rtw_ioctl_set.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_ioctl_query.o] Error 1
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_io.o] Error 1
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_ioctl_set.o] Error 1
core/rtw_mlme.c:17:10: fatal error: hal_data.h: No such file or directory
   17 | #include <hal_data.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_mlme.o] Error 1
core/rtw_ieee80211.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-7.0.14-14-pve/scripts/Makefile.build:289: core/rtw_ieee80211.o] Error 1
make[3]: *** [/usr/src/linux-headers-7.0.14-14-pve/Makefile:2134: .] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.14-14-pve/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-7.0.14-14-pve'
make: *** [Makefile:1730: modules] Error 2

# exit code: 2
# elapsed time: 00:00:00
----------------------------------------------------------------

Now from what I understand of it, I'm missing drv_types.h and hal_data.h, but can I just make them ? Like it was done with this issue : https://forum.proxmox.com/threads/e...-5-15-158-2-pve-is-not-configured-yet.167697/
Or will I be making it worse ?

Thanks in advance for your inputs.

Edit : I realize that the 8812au module must be drivers for a wlan adapter that is not in the server anymore. So, alternatively, can I just delete that module ?

Edit 2 : Indeed, removing the unused driver solved the issue. If you're stumbling here with the same issue, I used
Code:
dkms remove -m 8812au -v 5.6.4.2_35491.20191025
 
Last edited: