Error Upgrading Proxmox - Conflict with Realtek pkg

Aug 29, 2023
10
2
3
Encountered the following error(s) while running apt upgrade on 8.1.3 to update libtiff6. Not sure how to resolve.

~~~
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
proxmox-headers-6.2.16-10-pve proxmox-headers-6.2.16-15-pve proxmox-headers-6.2.16-18-pve
proxmox-kernel-6.2.16-10-pve proxmox-kernel-6.2.16-15-pve proxmox-kernel-6.2.16-8-pve
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
libtiff6
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 316 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/debian-security bookworm-security/main amd64 libtiff6 amd64 4.5.0-6+deb12u1 [316 kB]
Fetched 316 kB in 0s (6,499 kB/s)
Reading changelogs... Done
(Reading database ... 223612 files and directories currently installed.)
Preparing to unpack .../libtiff6_4.5.0-6+deb12u1_amd64.deb ...
Unpacking libtiff6:amd64 (4.5.0-6+deb12u1) over (4.5.0-6) ...
Setting up proxmox-kernel-6.5.11-4-pve-signed (6.5.11-4) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.5.11-4-pve /boot/vmlinuz-6.5.11-4-pve
dkms: running auto installation service for kernel 6.5.11-4-pve.
Sign command: /lib/modules/6.5.11-4-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 -j16 KERNELRELEASE=6.5.11-4-pve -C /lib/modules/6.5.11-4-pve/build M=/var/lib/dkms/r8168/8.051.02/build........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.11-4-pve (x86_64)
Consult /var/lib/dkms/r8168/8.051.02/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.5.11-4-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.5.11-4-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.5.11-4-pve-signed (--configure):
installed proxmox-kernel-6.5.11-4-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-6.5:
proxmox-kernel-6.5 depends on proxmox-kernel-6.5.11-4-pve-signed | proxmox-kernel-6.5.11-4-pve; however:
Package proxmox-kernel-6.5.11-4-pve-signed is not configured yet.
Package proxmox-kernel-6.5.11-4-pve is not installed.
Package proxmox-kernel-6.5.11-4-pve-signed which provides proxmox-kernel-6.5.11-4-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.5 (--configure):
dependency problems - leaving unconfigured
Setting up libtiff6:amd64 (4.5.0-6+deb12u1) ...
dpkg: dependency problems prevent configuration of proxmox-default-kernel:
proxmox-default-kernel depends on proxmox-kernel-6.5; however:
Package proxmox-kernel-6.5 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
Processing triggers for libc-bin (2.36-9+deb12u3) ...
Errors were encountered while processing:
proxmox-kernel-6.5.11-4-pve-signed
proxmox-kernel-6.5
proxmox-default-kernel
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
~~~

Review of log file shows:

~~~

DKMS make.log for r8168-8.051.02 for kernel 6.5.11-4-pve (x86_64)
Mon Nov 27 08:37:07 AM PST 2023
make: Entering directory '/usr/src/linux-headers-6.5.11-4-pve'
CC [M] /var/lib/dkms/r8168/8.051.02/build/r8168_n.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/r8168_asf.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/rtl_eeprom.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/rtltool.o
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c: In function ‘r8168_csum_workaround’:
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29208:24: error: implicit declaration of function ‘skb_gso_segment’; did>
29208 | segs = skb_gso_segment(skb, features);
| ^~~~~~~~~~~~~~~
| skb_gso_reset
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29208:22: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes poi>
29208 | segs = skb_gso_segment(skb, features);
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:251: /var/lib/dkms/r8168/8.051.02/build/r8168_n.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.5.11-4-pve/Makefile:2039: /var/lib/dkms/r8168/8.051.02/build] Error 2
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.5.11-4-pve'

~~~
Versions Info:
~~~
# pveversion --verboseproxmox-ve: not correctly installed (running kernel: 6.2.16-19-pve)pve-manager: 8.1.3 (running version: 8.1.3/b46aac3b42da5d15)proxmox-kernel-helper: 8.0.9pve-kernel-6.2: 8.0.5proxmox-kernel-6.2.16-19-pve: 6.2.16-19proxmox-kernel-6.2: 6.2.16-19proxmox-kernel-6.2.16-18-pve: 6.2.16-18proxmox-kernel-6.2.16-15-pve: 6.2.16-15proxmox-kernel-6.2.16-10-pve: 6.2.16-10proxmox-kernel-6.2.16-8-pve: 6.2.16-8pve-kernel-6.2.16-3-pve: 6.2.16-3ceph-fuse: 17.2.7-pve1corosync: 3.1.7-pve3criu: 3.17.1-2glusterfs-client: 10.3-5ifupdown2: 3.2.0-1+pmx7ksm-control-daemon: 1.4-1libjs-extjs: 7.0.0-4libknet1: 1.28-pve1libproxmox-acme-perl: 1.5.0libproxmox-backup-qemu0: 1.4.0libproxmox-rs-perl: 0.3.1libpve-access-control: 8.0.7libpve-apiclient-perl: 3.3.1libpve-common-perl: 8.1.0libpve-guest-common-perl: 5.0.6libpve-http-server-perl: 5.0.5libpve-network-perl: 0.9.4libpve-rs-perl: 0.8.7libpve-storage-perl: 8.0.5libspice-server1: 0.15.1-1lvm2: 2.03.16-2lxc-pve: 5.0.2-4lxcfs: 5.0.3-pve3novnc-pve: 1.4.0-3proxmox-backup-client: 3.0.4-1proxmox-backup-file-restore: 3.0.4-1proxmox-kernel-helper: 8.0.9proxmox-mail-forward: 0.2.2proxmox-mini-journalreader: 1.4.0proxmox-widget-toolkit: 4.1.3pve-cluster: 8.0.5pve-container: 5.0.8pve-docs: 8.1.3pve-edk2-firmware: 4.2023.08-2pve-firewall: 5.0.3pve-firmware: 3.9-1pve-ha-manager: 4.0.3pve-i18n: 3.1.2pve-qemu-kvm: 8.1.2-4pve-xtermjs: 5.3.0-2qemu-server: 8.0.10smartmontools: 7.3-pve1spiceterm: 3.3.0swtpm: 0.8.0+pve1vncterm: 1.8.0zfsutils-linux: 2.2.0-pve3

~~~
 
Last edited:
The extra module for r8168 seems not to be compatible with kernel version 6.5

What kernel version are you currently running?
Do you really need the r8168 module?

BTW: This has nothing to do with the package update for libtiff6, you should change the title of this post.
 
My apologize for the error on the title. I didn't know what was causing the message. I had installed a package for r8168 because issues with a Realtek network card. However, I have since added an intel card, so I should be able to delete the referenced r8168 drivers. Thank you.
 
  • Like
Reactions: gurubert

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!