Thread View: alt.os.linux.debian
13 messages
13 total messages
Started by Martin =?UTF-8?Q
Mon, 24 Feb 2025 09:52
kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Mon, 24 Feb 2025 09:52
Date: Mon, 24 Feb 2025 09:52
24 lines
802 bytes
802 bytes
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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Dan Purgert
Date: Mon, 24 Feb 2025 10:00
Date: Mon, 24 Feb 2025 10:00
25 lines
967 bytes
967 bytes
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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Richard Kettlewe
Date: Mon, 24 Feb 2025 14:19
Date: Mon, 24 Feb 2025 14:19
29 lines
994 bytes
994 bytes
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 that’s what apt/Syntaptic end up doing. -- https://www.greenend.org.uk/rjk/
Re: kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Tue, 25 Feb 2025 09:38
Date: Tue, 25 Feb 2025 09:38
50 lines
2017 bytes
2017 bytes
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ämnar okonfigurerad dpkg: beroendeproblem förhindrar konfigurering av linux-headers-amd64: linux-headers-amd64 är 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 ännu. dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure): beroendeproblem - lämnar 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änds. 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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Dan Purgert
Date: Tue, 25 Feb 2025 09:56
Date: Tue, 25 Feb 2025 09:56
64 lines
2581 bytes
2581 bytes
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ämnar okonfigurerad > dpkg: beroendeproblem förhindrar konfigurering av linux-headers-amd64: > linux-headers-amd64 är 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 ännu. > > dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure): > beroendeproblem - lämnar 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änds. > 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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Tue, 25 Feb 2025 10:17
Date: Tue, 25 Feb 2025 10:17
72 lines
2416 bytes
2416 bytes
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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Tue, 25 Feb 2025 21:54
Date: Tue, 25 Feb 2025 21:54
266 lines
14692 bytes
14692 bytes
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ämnar okonfigurerad >> dpkg: beroendeproblem förhindrar konfigurering av linux-headers-amd64: >> linux-headers-amd64 är 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 ännu. >> >> dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure): >> beroendeproblem - lämnar 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änds. >> 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äser paketlistor… Färdig Bygger beroendeträd… Färdig Läser tillståndsinformation… Färdig Beräknar uppgradering… Färdig Följande paket har installerats automatiskt och är inte längre nödvändiga: 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änd ”sudo apt autoremove” 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 är inte helt installerade eller borttagna. Behöver hämta 321 MB arkiv. Efter denna åtgärd kommer 103 MB att frigöras på disken. Vill du fortsätta? [J/n] y Läs:1 https://security.debian.org bookworm-security/main amd64 git-man all 1:2.39.5-0+deb12u2 [2 053 kB] Läs:2 https://brave-browser-apt-release.s3.brave.com stable/main amd64 brave-browser amd64 1.75.180 [122 MB] Läs:3 https://security.debian.org bookworm-security/main amd64 git amd64 1:2.39.5-0+deb12u2 [7 260 kB] Läs:4 https://security.debian.org bookworm-security/main amd64 openssh-sftp-server amd64 1:9.2p1-2+deb12u5 [65,8 kB] Läs:5 https://security.debian.org bookworm-security/main amd64 openssh-server amd64 1:9.2p1-2+deb12u5 [457 kB] <20 simmilar lines omitted> Läs:26 https://security.debian.org bookworm-security/main amd64 linux-kbuild-6.1 amd64 6.1.128-1 [1 215 kB] Läs:27 https://security.debian.org bookworm-security/main amd64 linux-libc-dev amd64 6.1.128-1 [2 103 kB] Läs:28 https://security.debian.org bookworm-security/main amd64 openjdk-17-jre amd64 17.0.14+7-1~deb12u1 [210 kB] Läs:29 https://security.debian.org bookworm-security/main amd64 openjdk-17-jre-headless amd64 17.0.14+7-1~deb12u1 [43,8 MB] Läs:30 https://security.debian.org bookworm-security/main amd64 ssh-askpass-gnome amd64 1:9.2p1-2+deb12u5 [188 kB] Hämtade 321 MB på 22s (14,6 MB/s) Läser förändringsloggar... Klar Förkonfigurerar paket ... (Läser 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äser 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äller 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äller in bind9-libs:amd64 (1:9.18.33-1~deb12u2) ... Ställer in openssh-client (1:9.2p1-2+deb12u5) ... Ställer in libjavascriptcoregtk-4.0-18:amd64 (2.46.6-1~deb12u1) ... Ställer in linux-libc-dev:amd64 (6.1.128-1) ... Ställer in gir1.2-javascriptcoregtk-4.0:amd64 (2.46.6-1~deb12u1) ... dpkg: beroendeproblem förhindrar konfigurering av linux-image-amd64: linux-image-amd64 är 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 ännu. dpkg: fel vid hantering av paketet linux-image-amd64 (--configure): beroendeproblem - lämnar okonfigurerad Ställer in ssh-askpass-gnome (1:9.2p1-2+deb12u5) ... Ställer in libcpupower1 (6.1.128-1) ... Ställer in libjavascriptcoregtk-4.1-0:amd64 (2.46.6-1~deb12u1) ... Ställer 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 är 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 ännu. Paketet linux-image-6.12.9+bpo-amd64-unsigned är ej installerat. dpkg: fel vid hantering av paketet linux-headers-6.12.9+bpo-amd64 (--configure): beroendeproblem - lämnar okonfigurerad Ställer 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äller in libwebkit2gtk-4.0-37:amd64 (2.46.6-1~deb12u1) ... Ställer in brave-browser (1.75.180) ... Ställer in libopenjp2-7:amd64 (2.5.0-2+deb12u1) ... Ställer in git-man (1:2.39.5-0+deb12u2) ... Ställer in linux-kbuild-6.1 (6.1.128-1) ... Ställer in bind9-host (1:9.18.33-1~deb12u2) ... Ställer in firefox-esr (128.7.0esr-1~deb12u1) ... Ställer in openssh-sftp-server (1:9.2p1-2+deb12u5) ... Ställer in libwebkit2gtk-4.1-0:amd64 (2.46.6-1~deb12u1) ... Ställer in gir1.2-webkit2-4.0:amd64 (2.46.6-1~deb12u1) ... Ställer 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 är 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 ännu. dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure): beroendeproblem - lämnar okonfigurerad Ställer in git (1:2.39.5-0+deb12u2) ... Ställer in bind9-dnsutils (1:9.18.33-1~deb12u2) ... Ställer in firefox-esr-l10n-sv-se (128.7.0esr-1~deb12u1) ... Ställer in git-gui (1:2.39.5-0+deb12u2) ... Ställer in dnsutils (1:9.18.33-1~deb12u2) ... Ställer 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äller 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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Dan Purgert
Date: Wed, 26 Feb 2025 10:21
Date: Wed, 26 Feb 2025 10:21
87 lines
3565 bytes
3565 bytes
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ämnar okonfigurerad >>> dpkg: beroendeproblem förhindrar konfigurering av linux-headers-amd64: >>> linux-headers-amd64 är 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 ännu. >>> >>> dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure): >>> beroendeproblem - lämnar 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änds. >>> 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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Thu, 27 Feb 2025 10:01
Date: Thu, 27 Feb 2025 10:01
93 lines
3930 bytes
3930 bytes
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ämnar okonfigurerad >>>> dpkg: beroendeproblem förhindrar konfigurering av linux-headers-amd64: >>>> linux-headers-amd64 är 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 ännu. >>>> >>>> dpkg: fel vid hantering av paketet linux-headers-amd64 (--configure): >>>> beroendeproblem - lämnar 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änds. >>>> 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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Dan Purgert
Date: Fri, 28 Feb 2025 11:36
Date: Fri, 28 Feb 2025 11:36
37 lines
1428 bytes
1428 bytes
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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Mon, 03 Mar 2025 16:25
Date: Mon, 03 Mar 2025 16:25
43 lines
1760 bytes
1760 bytes
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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Martin =?UTF-8?Q
Date: Tue, 04 Mar 2025 16:17
Date: Tue, 04 Mar 2025 16:17
43 lines
1628 bytes
1628 bytes
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
Re: kernel 6.12.9+bpo-amd64 headache
Author: Dan Purgert
Date: Tue, 04 Mar 2025 16:43
Date: Tue, 04 Mar 2025 16:43
19 lines
636 bytes
636 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads