Your message dated Tue, 28 May 2024 14:50:55 +0000
with message-id <[email protected]>
and subject line Bug#1069779: Removed package(s) from unstable
has caused the Debian Bug report #905432,
regarding debirf: Use APT resolution for kernel version
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 [email protected]
immediately.)
--
905432: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905432
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debirf
Severity: normal
Version: 0.37
Dear Maintainer,
when I tried building an initrd based upon stretch + stretch-backports,
I noticed that the wrong kernel had been selected: From the apt sources
and preferences I had configured to be used inside the chroot, I would
have expected the kernel from stretch-backports
(linux-image-4.17.0-0.bpo.1-amd64 at the time) to be installed; instead
I got the version from stretch (linux-image-4.9.0-7-amd64).
It turns out that linux-image-* package selection in the default
install-kernel module is fragile if multiple kernel versions are
available because "sort -r" will not always select the newest version.
Please consider my patch that uses apt to determine the version. This
has the added benefit that any a preferences that have been configured
are honored.
Thanks.
Cheers,
-Hilko
--- /usr/share/debirf/modules/install-kernel 2017-05-18 18:10:07.000000000 +0200
+++ install-kernel 2018-08-04 15:54:22.806297546 +0200
@@ -27,24 +27,8 @@
# download/copy in kernel package
if [ -z "$DEBIRF_KERNEL_PACKAGE" ] ; then
# determine kernel to install. assume arch of build host.
-
- # determine kernel arch. need everything after the kernel version
- # and debian version
KARCH=${DEBIRF_KERNEL_FLAVOR:-$(uname -r | cut -d- -f3-)}
-
- # determine the full kernel version from the dependency of the
- # generic linux-image-ARCH package in the debirf root (since it
- # may be different than what is installed on the build host)
- KNAME=$(debirf_exec apt-cache show linux-image-"$KARCH" | grep '^Depends: ' | sed 's/^Depends: //' | tr ',' '\n' | tr -d ' ' | grep ^linux-image | sort -r | head -n1)
-
- # download only the desired kernel package for later dpkg
- # extraction. this also downloads the kernel dependencies, but
- # they will not be installed, and the downloaded packages will all
- # be purged in the end by the clean-root module. it would be nice
- # to just use "apt-get download", but that's only supported since
- # wheezy.
- debirf_exec apt-get install -d -y "$KNAME"
-
+ debirf_exec apt-get install -d -y linux-image-"$KARCH"
else
# install kernel deb if given at command line
cp "$DEBIRF_KERNEL_PACKAGE" "$DEBIRF_ROOT"/var/cache/apt/archives/
--- End Message ---
--- Begin Message ---
Version: 0.38+rm
Dear submitter,
as the package debirf has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1069779
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---