Bug#1051087: reportbug: linux-headers-amd64 from bullseye-backports cannot be installed (unmet dependencies)

2023-09-03 Thread Laurent BRULET
Package: linux-headers-amd64
Followup-For: Bug #1051087
X-Debbugs-Cc: spm-deb...@lebernie.net

Dear Maintainer,

Thank you for this clarification, this is much clearer now.

Regards,

LB.



Bug#1051087: reportbug: linux-headers-amd64 from bullseye-backports cannot be installed (unmet dependencies)

2023-09-03 Thread Bastian Blank
Hi Laurent

On Sun, Sep 03, 2023 at 11:16:03AM +0200, Laurent BRULET wrote:
> It's still not entirely clear to me, whether this transient issue (where 
> linux-
> image-amd64 can be installed while the corresponding linux-headers-amd64 
> can't)
> is a "standard case" for backports, or it is an "exceptional" situation ?

It is a transient issue.  The packages are created in two steps and in
backports we have no way to make sure they show up at the same time.

> As a matter of facts, if it is a "standard case" for backports, I understand
> that specific precautions have to be taken before deciding to upgrade a kernel
> from backports, so that DKMS modules won't break. Is this correct ?

DKMS currently bails out, so you should at least see it.  But a really
good solution this is not.

Bastian

-- 
Those who hate and fight must stop themselves -- otherwise it is not stopped.
-- Spock, "Day of the Dove", stardate unknown



Bug#1051087: reportbug: linux-headers-amd64 from bullseye-backports cannot be installed (unmet dependencies)

2023-09-03 Thread Laurent BRULET
Package: linux-headers-amd64
Followup-For: Bug #1051087
X-Debbugs-Cc: spm-deb...@lebernie.net

Dear Maintainer,

Thank you for your quick reply.

It's still not entirely clear to me, whether this transient issue (where linux-
image-amd64 can be installed while the corresponding linux-headers-amd64 can't)
is a "standard case" for backports, or it is an "exceptional" situation ?

As a matter of facts, if it is a "standard case" for backports, I understand
that specific precautions have to be taken before deciding to upgrade a kernel
from backports, so that DKMS modules won't break. Is this correct ?

Thank you for your time,

Regards,



Bug#1051087: reportbug: linux-headers-amd64 from bullseye-backports cannot be installed (unmet dependencies)

2023-09-02 Thread Laurent BRULET
Package: linux-headers-amd64
Version: 6.1.27-1~bpo11+1
Severity: important
X-Debbugs-Cc: spm-deb...@lebernie.net

Dear Maintainer,

It seems that linux-headers-amd64 package (6.1.27-1~bpo11+1) from
bullseye-backports cannot be installed.  Because it depends on
linux-headers-6.1.0-0.deb11.9-amd64 (= 6.1.27-1~bpo11+1), which is not
installable.

As a consequence, DKMS modules are not built after an upgrade. Therefore
hardware devices depending on DKMS modules will not work anymore.

Steps to reproduce, starting with a fresh install of
debian-11.7.0-amd64-netinst.iso:

  * add the following APT source in /etc/apt/sources.list:
deb http://deb.debian.org/debian bullseye-backports main contrib non-free"
  * apt update
  * apt install -t bullseye-backports linux-image-amd64
-> ok: kernel 6.1 is successfully installed
  * apt install -r bullseye-backports linux-headers-amd64
-> not ok: installation fails with the following message:

  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   linux-headers-amd64 : Depends: linux-headers-6.1.0-0.deb11.9-amd64 (= 
6.1.27-1~bpo11+1) but it is not installable
  E: Unable to correct problems, you have held broken packages.

I'm not totally sure it is actually a bug, please excuse me if I did something
wrong.

Regards,

LB.

-- System Information:
Debian Release: 11.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-25-amd64 (SMP w/2 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-headers-amd64 depends on:
pn  linux-headers-5.10.0-22-amd64
pn  linux-headers-5.10.0-25-amd64
pn  linux-headers-6.1.0-0.deb11.9-amd64  

linux-headers-amd64 recommends no packages.

linux-headers-amd64 suggests no packages.