Hi evryone,
I'm having some trouble since yesterday to update Proxmox. Is there a way to solve that?
and the var/lib/dkms/r8168/8.052.01-1/build/make.log content :
Have someone an idea?
Thanks in advance for your answer.
Kwenosaure
I'm having some trouble since yesterday to update Proxmox. Is there a way to solve that?
Code:
apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
proxmox-kernel-6.5.13-3-pve-signed
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up proxmox-kernel-6.8.4-2-pve-signed (6.8.4-2) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.8.4-2-pve /boot/vmlinuz-6.8.4-2-pve
dkms: running auto installation service for kernel 6.8.4-2-pve.
Sign command: /lib/modules/6.8.4-2-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
make -j6 KERNELRELEASE=6.8.4-2-pve -C /lib/modules/6.8.4-2-pve/build M=/var/lib/dkms/r8168/8.052.01-1/build........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.4-2-pve (x86_64)
Consult /var/lib/dkms/r8168/8.052.01-1/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.4-2-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.8.4-2-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.4-2-pve-signed (--configure):
installed proxmox-kernel-6.8.4-2-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-6.8:
proxmox-kernel-6.8 depends on proxmox-kernel-6.8.4-2-pve-signed | proxmox-kernel-6.8.4-2-pve; however:
Package proxmox-kernel-6.8.4-2-pve-signed is not configured yet.
Package proxmox-kernel-6.8.4-2-pve is not installed.
Package proxmox-kernel-6.8.4-2-pve-signed which provides proxmox-kernel-6.8.4-2-pve is not configured yet.
dpkg: error processing package proxmox-kernel-6.8 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-default-kernel:
proxmox-default-kernel depends on proxmox-kernel-6.8; however:
Package proxmox-kernel-6.8 is not configured yet.
dpkg: error processing package proxmox-default-kernel (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on proxmox-default-kernel; however:
Package proxmox-default-kernel is not configured yet.
dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
proxmox-kernel-6.8.4-2-pve-signed
proxmox-kernel-6.8
proxmox-default-kernel
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
and the var/lib/dkms/r8168/8.052.01-1/build/make.log content :
Code:
DKMS make.log for r8168-8.052.01-1 for kernel 6.8.4-2-pve (x86_64)
Fri Apr 26 06:54:34 CEST 2024
make: Entering directory '/usr/src/linux-headers-6.8.4-2-pve'
CC [M] /var/lib/dkms/r8168/8.052.01-1/build/r8168_n.o
CC [M] /var/lib/dkms/r8168/8.052.01-1/build/r8168_asf.o
CC [M] /var/lib/dkms/r8168/8.052.01-1/build/rtl_eeprom.o
CC [M] /var/lib/dkms/r8168/8.052.01-1/build/rtltool.o
/var/lib/dkms/r8168/8.052.01-1/build/rtl_eeprom.c:96:5: warning: no previous prototype for ‘rtl8168_eeprom_cmd_done’ [-Wmissing-prototypes]
96 | int rtl8168_eeprom_cmd_done(struct rtl8168_private *tp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c:1624:6: warning: no previous prototype for ‘_proc_dump_tx_desc’ [-Wmissing-prototypes]
1624 | void _proc_dump_tx_desc(struct seq_file *m, struct TxDesc *desc_base,
| ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c:2949:5: warning: no previous prototype for ‘mdio_real_read’ [-Wmissing-prototypes]
2949 | u32 mdio_real_read(struct rtl8168_private *tp,
| ^~~~~~~~~~~~~~
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c:5726:1: warning: no previous prototype for ‘rtl8168_set_rx_vlan_filter’ [-Wmissing-prototypes]
5726 | rtl8168_set_rx_vlan_filter(struct rtl8168_private *tp)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c: In function ‘rtl8168_get_drvinfo’:
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c:6296:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
6296 | strlcpy(info->fw_version, rtl_fw->version,
| ^~~~~~~
| strscpy
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c: At top level:
/var/lib/dkms/r8168/8.052.01-1/build/r8168_n.c:28087:5: warning: no previous prototype for ‘rtl8168_enable_msix’ [-Wmissing-prototypes]
28087 | int rtl8168_enable_msix(struct rtl8168_private *tp)
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:243: /var/lib/dkms/r8168/8.052.01-1/build/r8168_n.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.8.4-2-pve/Makefile:1926: /var/lib/dkms/r8168/8.052.01-1/build] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.8.4-2-pve'
Have someone an idea?
Thanks in advance for your answer.
Kwenosaure
Last edited: