• kernel 6.12.9+bpo-amd64 headache

    From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Mon Feb 24 09:52:03 2025
    From Newsgroup: alt.os.linux.debian

    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 ?
    Wait for the next kernel update?

    TIA

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Dan Purgert@dan@djph.net to alt.os.linux.debian on Mon Feb 24 10:00:23 2025
    From Newsgroup: alt.os.linux.debian

    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?
    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to alt.os.linux.debian on Mon Feb 24 14:19:17 2025
    From Newsgroup: alt.os.linux.debian

    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?

    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 ?

    Worth a go but thatrCOs what apt/Syntaptic end up doing.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Tue Feb 25 09:38:10 2025
    From Newsgroup: alt.os.linux.debian

    Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
    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?

    When booting without intervening I get nothing, just a flashing
    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).

    "sudo apt --fix-broken install" also yields this error message.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Dan Purgert@dan@djph.net to alt.os.linux.debian on Tue Feb 25 09:56:22 2025
    From Newsgroup: alt.os.linux.debian

    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:
    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?

    When booting without intervening I get nothing, just a flashing
    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.
    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Tue Feb 25 10:17:13 2025
    From Newsgroup: alt.os.linux.debian

    Den 2025-02-24 skrev Richard Kettlewell <invalid@invalid.invalid>:
    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?

    What I have tried is to identify a status before this issue appeared
    and then rolling back the system to that state before trying to
    repair or remove the offending kernel.

    "sudo snapper-rollback 224"

    reboot

    Now the grub menu does not show the 6.12.9 kernel and booting is
    painless. After this I have tried various combinations of:

    "sudo apt-get check"
    "sudo apt autoclean"
    "sudo apt --fix-broken install"
    "sudo apt autoremove"
    "sudo apt autoremove linux-image-6.12.9+bpo-amd64"

    I have also tried autopurge instead of autoremove. The only clear
    error message I get is the one about failing to configure the 6.12.9
    kernel due to some dependency issue (see previous post for details).

    I have tried this more than once in case I missed something but I
    always end where I started -- with a system needing manual intervention
    to boot.

    At least once I tried
    "sudo apt-mark hold linux-image-amd64 linux-headers-amd64"
    but that made no difference.

    In my best documented attempt the sequence of actions was:

    "sudo snapper-rollback 224"

    reboot

    "sudo apt-get check"
    "sudo apt autoclean"
    "sudo apt --fix-broken install"

    Followed by the abovementioned error message and finding I was back
    at square one again when rebooting.

    Last time around I only did the rollback + reboot followed by the
    kernel hold commands before calling it a day. I ran my laptop in
    this state for a while and found out:

    1) In this rolled back state it will not mount USB flash drives.
    2) After rebooting it's again back in the will-not-boot-by-itself state.

    I am thoroughly puzzled by the second observation as I had not touched
    apt or Synaptic apart from the kernel hold thing.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Tue Feb 25 21:54:18 2025
    From Newsgroup: alt.os.linux.debian

    Den 2025-02-25 skrev Dan Purgert <dan@djph.net>:
    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:
    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?

    When booting without intervening I get nothing, just a flashing
    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?

    I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and got
    this somewhat censored (I removed lines that, to me, looked irrelevant
    beyond doubt):

    L|nser paketlistorrCa F|nrdig
    Bygger beroendetr|ndrCa F|nrdig
    L|nser tillst|NndsinformationrCa F|nrdig
    Ber|nknar uppgraderingrCa F|nrdig
    F||ljande paket har installerats automatiskt och |nr inte l|nngre n||dv|nndiga:
    linux-headers-6.10.11+bpo-common linux-headers-6.11.5+bpo-common linux-kbuild-6.10.11+bpo linux-kbuild-6.11.5+bpo
    Anv|nnd rCYsudo apt autoremoverCY f||r att ta bort dem.
    F||ljande paket kommer att TAS BORT:
    linux-headers-6.11.5+bpo-amd64 linux-image-6.11.5+bpo-amd64
    F||ljande paket kommer att uppgraderas:
    bind9-dnsutils bind9-host bind9-libs brave-browser dnsutils firefox-esr firefox-esr-l10n-sv-se gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 git git-gui git-man
    gitk libcpupower1 libgnutls30 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0 libopenjp2-7 libtasn1-6 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0
    linux-cpupower linux-kbuild-6.1 linux-libc-dev openjdk-17-jre openjdk-17-jre-headless openssh-client openssh-server openssh-sftp-server ssh-askpass-gnome
    30 att uppgradera, 0 att nyinstallera, 2 att ta bort och 0 att inte uppgradera. 4 |nr inte helt installerade eller borttagna.
    Beh||ver h|nmta 321 MB arkiv.
    Efter denna |Ntg|nrd kommer 103 MB att frig||ras p|N disken.
    Vill du forts|ntta? [J/n] y
    L|ns:1 https://security.debian.org bookworm-security/main amd64 git-man all 1:2.39.5-0+deb12u2 [2rC>053 kB]
    L|ns:2 https://brave-browser-apt-release.s3.brave.com stable/main amd64 brave-browser amd64 1.75.180 [122 MB]
    L|ns:3 https://security.debian.org bookworm-security/main amd64 git amd64 1:2.39.5-0+deb12u2 [7rC>260 kB]
    L|ns:4 https://security.debian.org bookworm-security/main amd64 openssh-sftp-server amd64 1:9.2p1-2+deb12u5 [65,8 kB]
    L|ns:5 https://security.debian.org bookworm-security/main amd64 openssh-server amd64 1:9.2p1-2+deb12u5 [457 kB]

    <20 simmilar lines omitted>

    L|ns:26 https://security.debian.org bookworm-security/main amd64 linux-kbuild-6.1 amd64 6.1.128-1 [1rC>215 kB]
    L|ns:27 https://security.debian.org bookworm-security/main amd64 linux-libc-dev amd64 6.1.128-1 [2rC>103 kB]
    L|ns:28 https://security.debian.org bookworm-security/main amd64 openjdk-17-jre amd64 17.0.14+7-1~deb12u1 [210 kB]
    L|ns:29 https://security.debian.org bookworm-security/main amd64 openjdk-17-jre-headless amd64 17.0.14+7-1~deb12u1 [43,8 MB]
    L|ns:30 https://security.debian.org bookworm-security/main amd64 ssh-askpass-gnome amd64 1:9.2p1-2+deb12u5 [188 kB]
    H|nmtade 321 MB p|N 22s (14,6 MB/s)
    L|nser f||r|nndringsloggar... Klar
    F||rkonfigurerar paket ...
    (L|nser databasen ... 376209 filer och kataloger installerade.)
    Tar bort linux-headers-6.11.5+bpo-amd64 (6.11.5-1~bpo12+1) ...
    Tar bort linux-image-6.11.5+bpo-amd64 (6.11.5-1~bpo12+1) ... /etc/kernel/prerm.d/dkms:
    dkms: removing: broadcom-sta 6.30.223.271 (6.11.5+bpo-amd64) (x86_64)
    Module broadcom-sta-6.30.223.271 for kernel 6.11.5+bpo-amd64 (x86_64).
    Before uninstall, this module version was ACTIVE on this kernel.

    wl.ko.xz:
    - Uninstallation
    - Deleting from: /lib/modules/6.11.5+bpo-amd64/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version. depmod......
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-6.11.5+bpo-amd64 /etc/kernel/postrm.d/zz-update-grub:
    Generating grub configuration file ...
    Found background image: splash.png
    Found linux image: /boot/vmlinuz-6.12.9+bpo-amd64
    Found linux image: /boot/vmlinuz-6.11.10+bpo-amd64
    Found initrd image: /boot/initrd.img-6.11.10+bpo-amd64
    Found linux image: /boot/vmlinuz-6.5.0-0.deb12.1-amd64
    Found initrd image: /boot/initrd.img-6.5.0-0.deb12.1-amd64
    Warning: os-prober will be executed to detect other bootable partitions.
    Its output will be used to detect bootable binaries on them and create new boot entries.
    Detecting snapshots ...
    Found snapshot: 2025-02-25 16:13:28 | @snapshots/258/snapshot | pre | apt |
    Found snapshot: 2025-02-11 22:20:44 | @snapshots/257/snapshot | single | *** rollback 250211 *** |
    Found snapshot: 2025-02-11 15:18:03 | @snapshots/256/snapshot | post | apt |
    Found snapshot: 2025-02-11 15:17:04 | @snapshots/255/snapshot | pre | apt |
    Found snapshot: 2025-02-05 21:43:28 | @snapshots/254/snapshot | post | apt |
    Found snapshot: 2025-02-05 21:43:13 | @snapshots/253/snapshot | pre | apt |
    Found snapshot: 2025-02-05 21:11:11 | @2025-02-11T21:18 | N/A | N/A |
    Found snapshot: 2025-02-04 11:22:36 | @snapshots/252/snapshot | post | apt |

    <more lines censored>

    Found snapshot: 2025-02-03 14:35:44 | @snapshots/237/snapshot | pre | apt |
    Found snapshot: 2025-02-03 14:32:29 | @snapshots/236/snapshot | post | apt |
    Found snapshot: 2025-02-03 14:31:47 | @snapshots/235/snapshot | pre | apt |
    Found snapshot: 2025-02-03 14:25:23 | @2025-02-05T21:11 | N/A | N/A |
    Found snapshot: 2025-01-28 09:08:33 | @snapshots/234/snapshot | post | apt |

    <some more censoring>

    Found snapshot: 2025-01-27 15:54:02 | @snapshots/225/snapshot | pre | apt |
    Found snapshot: 2025-01-22 16:12:51 | @snapshots/224/snapshot | post | *** pre-6.9.12 system *** |
    Found snapshot: 2025-01-22 16:10:16 | @snapshots/223/snapshot | pre | apt |

    <yet more lines deleted>

    Found snapshot: 2024-12-12 10:48:48 | @snapshots/212/snapshot | post | apt |
    Found snapshot: 2024-12-12 10:48:25 | @snapshots/211/snapshot | pre | apt |
    Found 50 snapshot(s)
    Unmount /tmp/user/0/grub-btrfs.Gpkq2Gqfjc .. Success
    done
    (L|nser databasen ... 364233 filer och kataloger installerade.)
    F||rbereder att packa upp .../0-brave-browser_1.75.180_amd64.deb ...
    Packar upp brave-browser (1.75.180) ||ver (1.74.48) ...
    F||rbereder att packa upp .../1-git-man_1%3a2.39.5-0+deb12u2_all.deb ...
    Packar upp git-man (1:2.39.5-0+deb12u2) ||ver (1:2.39.5-0+deb12u1) ... F||rbereder att packa upp .../2-git_1%3a2.39.5-0+deb12u2_amd64.deb ...
    Packar upp git (1:2.39.5-0+deb12u2) ||ver (1:2.39.5-0+deb12u1) ...
    F||rbereder att packa upp .../3-openssh-sftp-server_1%3a9.2p1-2+deb12u5_amd64.deb ...
    Packar upp openssh-sftp-server (1:9.2p1-2+deb12u5) ||ver (1:9.2p1-2+deb12u4) ...

    <some 50 lines of business as usual deleted>

    F||rbereder att packa upp .../19-openjdk-17-jre_17.0.14+7-1~deb12u1_amd64.deb ...
    Packar upp openjdk-17-jre:amd64 (17.0.14+7-1~deb12u1) ||ver (17.0.13+11-2~deb12u1) ...
    F||rbereder att packa upp .../20-openjdk-17-jre-headless_17.0.14+7-1~deb12u1_amd64.deb ...
    Packar upp openjdk-17-jre-headless:amd64 (17.0.14+7-1~deb12u1) ||ver (17.0.13+11-2~deb12u1) ...
    F||rbereder att packa upp .../21-ssh-askpass-gnome_1%3a9.2p1-2+deb12u5_amd64.deb ...
    Packar upp ssh-askpass-gnome (1:9.2p1-2+deb12u5) ||ver (1:9.2p1-2+deb12u4) ... St|nller in linux-image-6.12.9+bpo-amd64 (6.12.9-1~bpo12+1) ...
    I: /initrd.img is now a symlink to boot/initrd.img-6.12.9+bpo-amd64 /etc/kernel/postinst.d/dkms:
    dkms: running auto installation service for kernel 6.12.9+bpo-amd64.
    Sign command: /lib/modules/6.12.9+bpo-amd64/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 -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!
    run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
    dpkg: fel vid hantering av paketet linux-image-6.12.9+bpo-amd64 (--configure):
    underprocessen installerat paket linux-image-6.12.9+bpo-amd64:s skript post-installation gav felkod 1 vid avslut
    St|nller in bind9-libs:amd64 (1:9.18.33-1~deb12u2) ...
    St|nller in openssh-client (1:9.2p1-2+deb12u5) ...
    St|nller in libjavascriptcoregtk-4.0-18:amd64 (2.46.6-1~deb12u1) ...
    St|nller in linux-libc-dev:amd64 (6.1.128-1) ...
    St|nller in gir1.2-javascriptcoregtk-4.0:amd64 (2.46.6-1~deb12u1) ...
    dpkg: beroendeproblem f||rhindrar konfigurering av linux-image-amd64:
    linux-image-amd64 |nr beroende av linux-image-6.12.9+bpo-amd64 (= 6.12.9-1~bpo12+1), men:
    Paketet linux-image-6.12.9+bpo-amd64 har inte konfigurerats |nnnu.

    dpkg: fel vid hantering av paketet linux-image-amd64 (--configure):
    beroendeproblem - l|nmnar okonfigurerad
    St|nller in ssh-askpass-gnome (1:9.2p1-2+deb12u5) ...
    St|nller in libcpupower1 (6.1.128-1) ...
    St|nller in libjavascriptcoregtk-4.1-0:amd64 (2.46.6-1~deb12u1) ...
    St|nller in linux-cpupower (6.1.128-1) ...
    dpkg: beroendeproblem f||rhindrar konfigurering av linux-headers-6.12.9+bpo-amd64:
    linux-headers-6.12.9+bpo-amd64 |nr beroende av linux-image-6.12.9+bpo-amd64 (= 6.12.9-1~bpo12+1) | linux-image-6.12.9+bpo-amd64-unsigned (= 6.12.9-1~bpo12+1), men:
    Paketet linux-image-6.12.9+bpo-amd64 har inte konfigurerats |nnnu.
    Paketet linux-image-6.12.9+bpo-amd64-unsigned |nr ej installerat.

    dpkg: fel vid hantering av paketet linux-headers-6.12.9+bpo-amd64 (--configure):
    beroendeproblem - l|nmnar okonfigurerad
    St|nller in openjdk-17-jre-headless:amd64 (17.0.14+7-1~deb12u1) ...
    Installerar ny version av konfigurationsfilen /etc/java-17-openjdk/jfr/default.jfc ...
    Installerar ny version av konfigurationsfilen /etc/java-17-openjdk/jfr/profile.jfc ...
    Installerar ny version av konfigurationsfilen /etc/java-17-openjdk/security/public_suffix_list.dat ...
    St|nller in libwebkit2gtk-4.0-37:amd64 (2.46.6-1~deb12u1) ...
    St|nller in brave-browser (1.75.180) ...
    St|nller in libopenjp2-7:amd64 (2.5.0-2+deb12u1) ...
    St|nller in git-man (1:2.39.5-0+deb12u2) ...
    St|nller in linux-kbuild-6.1 (6.1.128-1) ...
    St|nller in bind9-host (1:9.18.33-1~deb12u2) ...
    St|nller in firefox-esr (128.7.0esr-1~deb12u1) ...
    St|nller in openssh-sftp-server (1:9.2p1-2+deb12u5) ...
    St|nller in libwebkit2gtk-4.1-0:amd64 (2.46.6-1~deb12u1) ...
    St|nller in gir1.2-webkit2-4.0:amd64 (2.46.6-1~deb12u1) ...
    St|nller in openssh-server (1:9.2p1-2+deb12u5) ...
    rescue-ssh.target is a disabled or a static unit not running, not starting it. ssh.socket is a disabled or a static unit not running, not starting it.
    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
    St|nller in git (1:2.39.5-0+deb12u2) ...
    St|nller in bind9-dnsutils (1:9.18.33-1~deb12u2) ...
    St|nller in firefox-esr-l10n-sv-se (128.7.0esr-1~deb12u1) ...
    St|nller in git-gui (1:2.39.5-0+deb12u2) ...
    St|nller in dnsutils (1:9.18.33-1~deb12u2) ...
    St|nller in gitk (1:2.39.5-0+deb12u2) ...
    Hanterar utl||sare f||r libc-bin (2.36-9+deb12u9) ...
    Hanterar utl||sare f||r ufw (0.36.2-1) ...
    Hanterar utl||sare f||r man-db (2.11.2-2) ...
    Hanterar utl||sare f||r mailcap (3.70+nmu1) ...
    Hanterar utl||sare f||r desktop-file-utils (0.26-1) ...
    Hanterar utl||sare f||r hicolor-icon-theme (0.17-2) ...
    Hanterar utl||sare f||r gnome-menus (3.36.0-1.1) ...
    Hanterar utl||sare f||r ca-certificates-java (20230710~deb12u1) ...
    done.
    St|nller in openjdk-17-jre:amd64 (17.0.14+7-1~deb12u1) ...
    Fel uppstod vid hantering:
    linux-image-6.12.9+bpo-amd64
    linux-image-amd64
    linux-headers-6.12.9+bpo-amd64
    linux-headers-amd64
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    While you're at it; wouldn't hurt to verify that you haven't run out of
    space on any of your filesystems.

    As far as I can see using Baobab as well as btrfs tools there is no
    space issue.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Dan Purgert@dan@djph.net to alt.os.linux.debian on Wed Feb 26 10:21:34 2025
    From Newsgroup: alt.os.linux.debian

    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:
    Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
    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?

    When booting without intervening I get nothing, just a flashing
    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?

    I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and got
    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.
    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Thu Feb 27 10:01:51 2025
    From Newsgroup: alt.os.linux.debian

    Den 2025-02-26 skrev Dan Purgert <dan@djph.net>:
    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:
    Den 2025-02-24 skrev Dan Purgert <dan@djph.net>:
    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? >>>>>
    When booting without intervening I get nothing, just a flashing
    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?

    I ran "sudo apt update" + "sudo apt full-upgrade" earlier today and got
    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.

    Thanks for spotting this. This is 'above my pay grade' when it comes to
    Linux management.

    That make.log file tells me something called asm/unaligned.h is
    missing. This is the case for both of my machines.

    What now? A quick internet search only tells me this is a sign of
    damaged package and repairing using apt or Synaptic has not worked.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Dan Purgert@dan@djph.net to alt.os.linux.debian on Fri Feb 28 11:36:41 2025
    From Newsgroup: alt.os.linux.debian

    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:
    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.

    Thanks for spotting this. This is 'above my pay grade' when it comes to
    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).
    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Mon Mar 3 16:25:40 2025
    From Newsgroup: alt.os.linux.debian

    Den 2025-02-28 skrev Dan Purgert <dan@djph.net>:
    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:
    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.

    Thanks for spotting this. This is 'above my pay grade' when it comes to
    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).

    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.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Tue Mar 4 16:17:51 2025
    From Newsgroup: alt.os.linux.debian

    Den 2025-03-03 skrev Martin Sch||||n <martin.schoon@gmail.com>:
    Den 2025-02-28 skrev Dan Purgert <dan@djph.net>:
    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:
    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.

    Thanks for spotting this. This is 'above my pay grade' when it comes to
    Linux management.

    That make.log file tells me something called asm/unaligned.h is
    missing. This is the case for both of my machines.

    <snip>

    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).

    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.

    Done. Worked.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Dan Purgert@dan@djph.net to alt.os.linux.debian on Tue Mar 4 16:43:21 2025
    From Newsgroup: alt.os.linux.debian

    On 2025-03-04, Martin Sch||||n wrote:
    Den 2025-03-03 skrev Martin Sch||||n <martin.schoon@gmail.com>:
    [...]
    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.

    Done. Worked.

    Great news!
    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
    --- Synchronet 3.21d-Linux NewsLink 1.2