Bug#1036033: upgrade-reports: bullseye -> bookworm kernel package upgrade fails when ddcci-dkms package installed

Paul Gevers <[email protected]> Sun, 14 May 2023 19:43:57 +0200
Newsgroups gmane.linux.debian.user.testing
Message-ID <aeb21814-5ddf-7f3f-d65f-962c4e2bb0ed__31752.2129554831$1684086342$gmane$org@debian.org>
Control: reassign -1 ddcci-dkms
Control: severity -1 serious

Hi Tim,

Thanks for filing issues you encounter when upgrading. Judging from you 
comments I think the issue is in ddcci-dkms, hence I assign it there for 
further triaging. However, I know a lot of changes happened in the dkms 
landscape, so I include Andreas in CC too; maybe some ordering is wrong 
on ddcci-dkms "just" needs a rebuild with a newer dkms.

Paul

On 13-05-2023 18:02, Tim Small wrote:
> Package: upgrade-reports
> Severity: normal
> X-Debbugs-Cc: [email protected]
> 
> (Please provide enough information to help the Debian
> maintainers evaluate the report efficiently - e.g., by filling
> in the sections below.)
> 
> My previous release is: bullseye
> I am upgrading to: bookworm
> Upgrade date: 2023-05-06
> Method: apt dist-upgrade
> 
> Contents of /etc/apt/sources.list:
> 
> 
> deb http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib
> deb-src http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib
> 
> # Security updates
> deb http://security.debian.org bookworm-security main contrib non-free non-free-firmware
> deb-src http://security.debian.org bookworm-security main contrib non-free non-free-firmware
> 
> # bookworm-updates, previously known as 'volatile'
> deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
> deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
> 
> 
> deb http://deb.debian.org/debian-debug/ bookworm-debug main
> # for security updates
> deb http://deb.debian.org/debian-debug/ bookworm-proposed-updates-debug main
> 
> - Was the system pre-update a 'pure' system only containing packages
>    from the previous release? If not, which packages were not from that
>    release?
> 
>    yes
> 
> - Did any packages fail to upgrade?
> 
> linux-image-6.1.0-7-amd64
> 
> With the ddcci-dkms installed, and enabled for building before the
> upgrade, the following occurred during upgrade:
> 
> /etc/kernel/postinst.d/dkms:
> dkms: running auto installation service for kernel 6.1.0-7-amd64.
> Error! Could not locate dkms.conf file.
> File: /var/lib/dkms/ddcci/0.3.3/source/dkms.conf does not exist.
> dkms: autoinstall for kernel: 6.1.0-7-amd64 failed!
> run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
> dpkg: error processing package linux-image-6.1.0-7-amd64 (--configure):
>   installed linux-image-6.1.0-7-amd64 package post-installation script subprocess returned error exit status 1
> Setting up linux-headers-6.1.0-7-amd64 (6.1.20-2) ...
> /etc/kernel/header_postinst.d/dkms:
> dkms: running auto installation service for kernel 6.1.0-7-amd64.
> Error! Could not locate dkms.conf file.
> File: /var/lib/dkms/ddcci/0.3.3/source/dkms.conf does not exist.
> dkms: autoinstall for kernel: 6.1.0-7-amd64 failed!
> run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
> Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-7-amd64.postinst line 11.
> dpkg: error processing package linux-headers-6.1.0-7-amd64 (--configure):
>   installed linux-headers-6.1.0-7-amd64 package post-installation script subprocess returned error exit status 1
> dpkg: dependency problems prevent configuration of linux-headers-amd64:
>   linux-headers-amd64 depends on linux-headers-6.1.0-7-amd64 (= 6.1.20-2); however:
>    Package linux-headers-6.1.0-7-amd64 is not configured yet.
> 
> dpkg: error processing package linux-headers-amd64 (--configure):
>   dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of linux-image-amd64:
>   linux-image-amd64 depends on linux-image-6.1.0-7-amd64 (= 6.1.20-2); however:
>    Package linux-image-6.1.0-7-amd64 is not configured yet.
> 
> dpkg: error processing package linux-image-amd64 (--configure):
>   dependency problems - leaving unconfigured
> Errors were encountered while processing:
>   linux-image-6.1.0-7-amd64
>   linux-headers-6.1.0-7-amd64
>   linux-headers-amd64
>   linux-image-amd64
> 
> 
> - Were there any problems with the system after upgrading?
> 
> 
> Further Comments/Problems:
> 
> 
> Please attach the output of "COLUMNS=200 dpkg -l" (or "env COLUMNS ...",
> depending on your shell) from before and after the upgrade so that we
> know what packages were installed on your system.
>
OpenPGP_signature (application/pgp-signature, 495 B) - not displayed