System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
January. Yet it shows up at the top of the GRUB menu and booting fails
unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic
have failed. I have also tried snapper rollback without it resolving
the problem. All this on the laptop as the stationary computer is my
main system and I am not keen on wrecking it.
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
January. Yet it shows up at the top of the GRUB menu and booting fails
unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic
have failed.
I have also tried snapper rollback without it resolving
the problem. All this on the laptop as the stationary computer is my
main system and I am not keen on wrecking it.
What next?
Try remove said kernel using dpkg -r ?
On 2025-02-24, Martin Sch||||n wrote:
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
January. Yet it shows up at the top of the GRUB menu and booting fails
unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic
have failed. I have also tried snapper rollback without it resolving
the problem. All this on the laptop as the stationary computer is my
main system and I am not keen on wrecking it.
What is the *exact* failure message / error code that you're getting?
Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
On 2025-02-24, Martin Sch||||n wrote:When booting without intervening I get nothing, just a flashing
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
January. Yet it shows up at the top of the GRUB menu and booting fails
unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic
have failed. I have also tried snapper rollback without it resolving
the problem. All this on the laptop as the stationary computer is my
main system and I am not keen on wrecking it.
What is the *exact* failure message / error code that you're getting?
cursor in the upper left corner of the screen.
The error message I get when "sudo apt upgrade" fails to configure the
6.12.9 kernel is very long and my system language is Swedish... Here
are the last few lines:
dpkg: fel vid hantering av paketet linux-headers-6.12.9+bpo-amd64 (--configure):
beroendeproblem - l|nmnar okonfigurerad
dpkg: beroendeproblem f||rhindrar konfigurering av linux-headers-amd64:
linux-headers-amd64 |nr beroende av linux-headers-6.12.9+bpo-amd64 (=
6.12.9-1~bpo12+1), men:
Paketet linux-headers-6.12.9+bpo-amd64 har inte konfigurerats |nnnu.
dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure):
beroendeproblem - l|nmnar okonfigurerad
Fel uppstod vid hantering:
linux-image-6.12.9+bpo-amd64
linux-image-amd64
linux-headers-6.12.9+bpo-amd64
linux-headers-amd64
Config anv|nnds.
E: Sub-process /usr/bin/dpkg returned an error code (1)
In multiple places it says there is a dependency issue
(beroendeproblem).
Martin Sch||||n <martin.schoon@gmail.com> writes:
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
January. Yet it shows up at the top of the GRUB menu and booting fails
unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic
have failed.
What command did you use and what error did it show?
On 2025-02-25, Martin Sch||||n wrote:
Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
On 2025-02-24, Martin Sch||||n wrote:When booting without intervening I get nothing, just a flashing
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in
January. Yet it shows up at the top of the GRUB menu and booting fails >>>> unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic >>>> have failed. I have also tried snapper rollback without it resolving
the problem. All this on the laptop as the stationary computer is my
main system and I am not keen on wrecking it.
What is the *exact* failure message / error code that you're getting?
cursor in the upper left corner of the screen.
The error message I get when "sudo apt upgrade" fails to configure the
6.12.9 kernel is very long and my system language is Swedish... Here
are the last few lines:
dpkg: fel vid hantering av paketet linux-headers-6.12.9+bpo-amd64
(--configure):
beroendeproblem - l|nmnar okonfigurerad
dpkg: beroendeproblem f||rhindrar konfigurering av linux-headers-amd64:
linux-headers-amd64 |nr beroende av linux-headers-6.12.9+bpo-amd64 (=
6.12.9-1~bpo12+1), men:
Paketet linux-headers-6.12.9+bpo-amd64 har inte konfigurerats |nnnu.
dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure):
beroendeproblem - l|nmnar okonfigurerad
Fel uppstod vid hantering:
linux-image-6.12.9+bpo-amd64
linux-image-amd64
linux-headers-6.12.9+bpo-amd64
linux-headers-amd64
Config anv|nnds.
E: Sub-process /usr/bin/dpkg returned an error code (1)
In multiple places it says there is a dependency issue
(beroendeproblem).
There's more to it than this -- there should be a reason that the
dependency (linux-headers-6.12.9+bpo-amd64) was unable to be configured, likewise the other packages shown there at the end.
Please can you send the full output, or at least the "full output" from
where errors start happening?
While you're at it; wouldn't hurt to verify that you haven't run out of
space on any of your filesystems.
Den 2025-02-25 skrev Dan Purgert <dan@djph.net>:
On 2025-02-25, Martin Sch||||n wrote:I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and got
Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
On 2025-02-24, Martin Sch||||n wrote:When booting without intervening I get nothing, just a flashing
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade.
Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in >>>>> January. Yet it shows up at the top of the GRUB menu and booting fails >>>>> unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic >>>>> have failed. I have also tried snapper rollback without it resolving >>>>> the problem. All this on the laptop as the stationary computer is my >>>>> main system and I am not keen on wrecking it.
What is the *exact* failure message / error code that you're getting?
cursor in the upper left corner of the screen.
The error message I get when "sudo apt upgrade" fails to configure the
6.12.9 kernel is very long and my system language is Swedish... Here
are the last few lines:
dpkg: fel vid hantering av paketet linux-headers-6.12.9+bpo-amd64
(--configure):
beroendeproblem - l|nmnar okonfigurerad
dpkg: beroendeproblem f||rhindrar konfigurering av linux-headers-amd64:
linux-headers-amd64 |nr beroende av linux-headers-6.12.9+bpo-amd64 (=
6.12.9-1~bpo12+1), men:
Paketet linux-headers-6.12.9+bpo-amd64 har inte konfigurerats |nnnu.
dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure):
beroendeproblem - l|nmnar okonfigurerad
Fel uppstod vid hantering:
linux-image-6.12.9+bpo-amd64
linux-image-amd64
linux-headers-6.12.9+bpo-amd64
linux-headers-amd64
Config anv|nnds.
E: Sub-process /usr/bin/dpkg returned an error code (1)
In multiple places it says there is a dependency issue
(beroendeproblem).
There's more to it than this -- there should be a reason that the
dependency (linux-headers-6.12.9+bpo-amd64) was unable to be configured,
likewise the other packages shown there at the end.
Please can you send the full output, or at least the "full output" from
where errors start happening?
this somewhat censored (I removed lines that, to me, looked irrelevant
beyond doubt):
[...]
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.12.9+bpo-amd64 KVER=6.12.9+bpo-amd64....(bad
exit status: 2)
Error! Bad return status for module build on kernel: 6.12.9+bpo-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/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.12.9+bpo-amd64 failed!
On 2025-02-25, Martin Sch||||n wrote:
Den 2025-02-25 skrev Dan Purgert <dan@djph.net>:
On 2025-02-25, Martin Sch||||n wrote:I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and got
Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
On 2025-02-24, Martin Sch||||n wrote:When booting without intervening I get nothing, just a flashing
System:
Single boot Debian 12 with btrfs and xfce. HW is 1.5 years old
and 10+ years old. The former is a stationary computer, the
latter a Lenovo X230.
I update regularly and fairly often using apt update, apt upgrade. >>>>>> Backport repositories are used.
Problem:
Kernel 6.12.9+bpo-amd64 was installed but not configured properly in >>>>>> January. Yet it shows up at the top of the GRUB menu and booting fails >>>>>> unless I intervene and pick an older kernel.
All attempts at repairing or removing this kernel using apt or Synaptic >>>>>> have failed. I have also tried snapper rollback without it resolving >>>>>> the problem. All this on the laptop as the stationary computer is my >>>>>> main system and I am not keen on wrecking it.
What is the *exact* failure message / error code that you're getting? >>>>>
cursor in the upper left corner of the screen.
The error message I get when "sudo apt upgrade" fails to configure the >>>> 6.12.9 kernel is very long and my system language is Swedish... Here
are the last few lines:
dpkg: fel vid hantering av paketet linux-headers-6.12.9+bpo-amd64
(--configure):
beroendeproblem - l|nmnar okonfigurerad
dpkg: beroendeproblem f||rhindrar konfigurering av linux-headers-amd64: >>>> linux-headers-amd64 |nr beroende av linux-headers-6.12.9+bpo-amd64 (= >>>> 6.12.9-1~bpo12+1), men:
Paketet linux-headers-6.12.9+bpo-amd64 har inte konfigurerats |nnnu. >>>>
dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure):
beroendeproblem - l|nmnar okonfigurerad
Fel uppstod vid hantering:
linux-image-6.12.9+bpo-amd64
linux-image-amd64
linux-headers-6.12.9+bpo-amd64
linux-headers-amd64
Config anv|nnds.
E: Sub-process /usr/bin/dpkg returned an error code (1)
In multiple places it says there is a dependency issue
(beroendeproblem).
There's more to it than this -- there should be a reason that the
dependency (linux-headers-6.12.9+bpo-amd64) was unable to be configured, >>> likewise the other packages shown there at the end.
Please can you send the full output, or at least the "full output" from
where errors start happening?
this somewhat censored (I removed lines that, to me, looked irrelevant
beyond doubt):
[...]
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.12.9+bpo-amd64 KVER=6.12.9+bpo-amd64....(bad
exit status: 2)
Error! Bad return status for module build on kernel: 6.12.9+bpo-amd64
(x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/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.12.9+bpo-amd64 failed!
Here's the issue -- it's not able to build the broadcom driver, and that failure cascades through the rest of the kernel packages.
Check out /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log, as per
the error message.
Den 2025-02-26 skrev Dan Purgert <dan@djph.net>:
On 2025-02-25, Martin Sch||||n wrote:Thanks for spotting this. This is 'above my pay grade' when it comes to
I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and[...]
got this ...
[...]
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for
more information.
[...]
Check out /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log, as per
the error message.
Linux management.
That make.log file tells me something called asm/unaligned.h is
missing. This is the case for both of my machines.
On 2025-02-27, Martin Sch||||n wrote:
Den 2025-02-26 skrev Dan Purgert <dan@djph.net>:
On 2025-02-25, Martin Sch||||n wrote:Thanks for spotting this. This is 'above my pay grade' when it comes to
I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and[...]
got this ...
[...]
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for
more information.
[...]
Check out /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log, as per >>> the error message.
Linux management.
That make.log file tells me something called asm/unaligned.h is
missing. This is the case for both of my machines.
OK, quick search through apt-file(1) indicates that this file is
included in the linux-header package(s). It seems there's an ordering
issue with dpkg doing package configuration for the kernel itself, and handing off the wifi driver compilation to dkms.
Are you able to get online with something other than this broadcom wifi
card that is causing the error? If so, I would do this:
1. Remove the broadcom package
2. Update / install the new kernel and headers, etc. (and reboot)
3. Reinstall the Broadcome package
If that's not possible, then hold off on the kernel upgrade until you
have a way to get online (e.g. USB ethernet dongle).
Den 2025-02-28 skrev Dan Purgert <dan@djph.net>:<snip>
On 2025-02-27, Martin Sch||||n wrote:
Den 2025-02-26 skrev Dan Purgert <dan@djph.net>:
On 2025-02-25, Martin Sch||||n wrote:Thanks for spotting this. This is 'above my pay grade' when it comes to
I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and[...]
got this ...
[...]
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for
more information.
[...]
Check out /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log, as per >>>> the error message.
Linux management.
That make.log file tells me something called asm/unaligned.h is
missing. This is the case for both of my machines.
I have been out of home over the weekend but today I checked what HW is
Are you able to get online with something other than this broadcom wifi
card that is causing the error? If so, I would do this:
1. Remove the broadcom package
2. Update / install the new kernel and headers, etc. (and reboot)
3. Reinstall the Broadcome package
If that's not possible, then hold off on the kernel upgrade until you
have a way to get online (e.g. USB ethernet dongle).
in my X230 and found no Broadcom. I have removed packages
broadcom-sta-dkms and broadcom-sta-commons. Now I get no error messages
when the system is updated/upgraded and no issues when booting.
I will do the same to my main system if I find it has no need for these packages.
Den 2025-03-03 skrev Martin Sch||||n <martin.schoon@gmail.com>:
[...]Done. Worked.
I have been out of home over the weekend but today I checked what HW is
in my X230 and found no Broadcom. I have removed packages
broadcom-sta-dkms and broadcom-sta-commons. Now I get no error messages
when the system is updated/upgraded and no issues when booting.
I will do the same to my main system if I find it has no need for these
packages.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 01:45:14 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,188 |