[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001963: marked as done (linux-image-amd64: Please make "Provides: linux-image-generic" versioned so that one can depend on a Linux kernel with ">=")



Your message dated Wed, 24 Sep 2025 08:57:59 +0200
with message-id <20250924065759.dtha6i5ysszijzap@shell.thinkmo.de>
and subject line Re: Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d
has caused the Debian Bug report #1116120,
regarding linux-image-amd64: Please make "Provides: linux-image-generic" versioned so that one can depend on a Linux kernel with ">="
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.)


-- 
1116120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116120
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-amd64
Version: 5.15.5-1
Severity: wishlist

Please make the Linux image meta-package's "Provides:
linux-image-generic" versioned so that one can depend on a specific
Linux kernel or higher kernel versions with ">=".

Example use case:

hddtemp is made obsolete with Linux' drivetemp driver available since
kernel 5.6, so it would be nice to depend on something like "hddtemp |
linux-image-generic (>= 5.6)" instead of having to iterate over all
architecture-specific variants of the linux-image-* meta-packages.

Thanks in advance!

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-5.15.0-2-amd64  5.15.5-1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Wed, Sep 24, 2025 at 02:30:58AM +0300, Roman Lebedev wrote:
> > Please explain what you are trying to do.  There is no real way to
> > depend on Linux headers and expect it to get something working.
> In case of things such as dkms modules, it's the version of kernel headers,
> and that is precisely what i was hoping to codify,
> only to discover that i then must manually enumerate
> each per-arch headers package.

This is not possible.

Those are only meta-packages.  It just depends on the real packages and
users will have multiple versions installed of those at the same time.
So even a dependency on >= 6.12 does not mean a 6.1 can not show up.

There are other variants of the kernel or no generic one at all.  So you
install headers of kernel the user does not want or just fail
completely.

So just don't do that.  I'm also closing this here.

Bastian

-- 
Landru! Guide us!
		-- A Beta 3-oid, "The Return of the Archons", stardate 3157.4

--- End Message ---

Reply to: