Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82496 > unrolled thread

Bug#1071468: linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing)

Started byManny <debbug.linux-amd64@sideload.33mail.com>
First post2024-05-19 22:00 +0200
Last post2024-09-09 00:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1071468: linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing) Manny <debbug.linux-amd64@sideload.33mail.com> - 2024-05-19 22:00 +0200
    Bug#1071468: marked as done (linux-image-amd64: mess left when  kernel installation fails (grub treats the uninstalled kernel as  existing)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-09-09 00:20 +0200

#82496 — Bug#1071468: linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing)

FromManny <debbug.linux-amd64@sideload.33mail.com>
Date2024-05-19 22:00 +0200
SubjectBug#1071468: linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing)
Message-ID<IFURj-etr4-1@gated-at.bofh.it>
Package: linux-image-amd64
Version: 6.6.13-1~bpo12+1
Severity: normal
X-Debbugs-Cc: debbug.linux-amd64@sideload.33mail.com

A kernel installation failed due to a corrupt deb file that could not
be unpacked. That was reported here:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071467

Apparently whatever generic installation mechanism is used, it fails
to properly treat a botched delivery. That is, even though the deb
file for kernel version 6.6.13-1~bpo12+1 is only 1480 bytes and so
corrupt it cannot even be unpacked, the package was erroneously
flagged as installed, at least in part:

===8<----------------------------------------
  $ dpkg -l | grep 6.6.13-1~bpo12+1
  iU  linux-headers-6.6.13+bpo-amd64   6.6.13-1~bpo12+1 amd64 Header files for Linux 6.6.13+bpo-amd64
  ii  linux-headers-6.6.13+bpo-common  6.6.13-1~bpo12+1 all   Common header files for Linux 6.6.13+bpo
  iU  linux-headers-amd64              6.6.13-1~bpo12+1 amd64 Header files for Linux amd64 configuration (meta-package)
  iF  linux-image-6.6.13+bpo-amd64     6.6.13-1~bpo12+1 amd64 Linux 6.6 for 64-bit PCs (signed)
  iU  linux-image-amd64                6.6.13-1~bpo12+1 amd64 Linux for 64-bit PCs (meta-package)
  ii  linux-kbuild-6.6.13+bpo          6.6.13-1~bpo12+1 amd64 Kbuild infrastructure for Linux 6.6.13+bpo
  ii  linux-libc-dev                   6.6.13-1~bpo12+1 all   Linux support headers for userspace development
===8<----------------------------------------

Perhaps “iU” and “iF” are correct flags in the first column (it’s
unclear because “man dpkg” does not document these). But grub
alterations were carried out despite the failure and the default
kernel became the version that could not even be unpacked from the deb
file (6.6.13-1~bpo12+1). So it’s not just a failure of that kernel but
also a failure in the installation logic, perhaps in apt. Though I
doubt apt would influence grub, so I’m filing this in the virtual pkg
linux-image-amd64 for lack of a better place.

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-21-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ih  linux-image-6.6.13+bpo-amd64  6.6.13-1~bpo12+1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information

[toc] | [next] | [standalone]


#83872 — Bug#1071468: marked as done (linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing))

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-09-09 00:20 +0200
SubjectBug#1071468: marked as done (linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing))
Message-ID<Jkyqd-aWO0-1@gated-at.bofh.it>
In reply to#82496

[Multipart message — attachments visible in raw view] — view raw

Your message dated Mon, 09 Sep 2024 00:15:09 +0200
with message-id <32b8bd198753dfa3ce664de37e79dd94ca4da66c.camel@decadent.org.uk>
and subject line Re: linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing)
has caused the Debian Bug report #1071468,
regarding linux-image-amd64: mess left when kernel installation fails (grub treats the uninstalled kernel as existing)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1071468: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071468
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web