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


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

Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d

Started byRoman Lebedev <lebedev.ri@gmail.com>
First post2025-09-24 00:50 +0200
Last post2025-09-24 09:00 +0200
Articles 6 — 3 participants

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


Contents

  Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d Roman Lebedev <lebedev.ri@gmail.com> - 2025-09-24 00:50 +0200
    Processed: Re: Bug#1116120: Please specify version of  linux-headers-generic that is being `Provide:`d "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-09-24 01:20 +0200
    Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d Bastian Blank <waldi@debian.org> - 2025-09-24 01:20 +0200
      Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d Roman Lebedev <lebedev.ri@gmail.com> - 2025-09-24 01:40 +0200
    Processed: Re: Bug#1116120: Please specify version of  linux-headers-generic that is being `Provide:`d "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-09-24 01:20 +0200
    Bug#1116120: marked as done (Please specify version of  linux-headers-generic that is being `Provide:`d) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-09-24 09:00 +0200

#89376 — Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d

FromRoman Lebedev <lebedev.ri@gmail.com>
Date2025-09-24 00:50 +0200
SubjectBug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d
Message-ID<LyjZE-4yM-7@gated-at.bofh.it>
Package: linux-headers-amd64
Version: 6.16.8-1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

In debian, linux-headers-generic is a virtual package
that is provided by linux-headers-$ARCH.
For reasons, i need to specify a dependency on installed kernel headers
version in a package. I was hoping to do:
```
Depends: linux-headers-generic (>= 6.16)
```
... but that doesn't actually work
because the per-arch packages don't specify which version of
linux-headers-generic they provide, so i have to instead do:
```
Depends: linux-headers-amd64 (>= 6.16) [amd64],
         linux-headers-arm64 (>= 6.16) [ard64],
	 <...>
```
This seems suboptimal. It would be ideal if they could annotate the
version they provide:
```
Provides: linux-headers-generic = (6.12.38-1)
```

Roman.

- -- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.8+deb14-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-headers-amd64 depends on:
ii  linux-headers-6.16.8+deb14-amd64  6.16.8-1

linux-headers-amd64 recommends no packages.

linux-headers-amd64 suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+UikBxeiu50LOdFYgbqkFMWfZdAFAmjTIe4ACgkQgbqkFMWf
ZdCvIQ/+OskPnaoZiJZHTgh7TGY+gZ1i66Rf71a4xTDz5u9lNEsYoJvN3JuodmYA
QVeMV3E9zqhDvwp/RYz4/cVCJxPU9+hj9s61p+EruNQDu6XQ6WDiFJHWiAvN4yGs
XP89F2l/QP17ScBLu1AfE5UUKyZDZSHQ0SbjXJnNAPV/HQ7+p9W3TOSibeZ1VhTA
KREh3IxHVOwIVC6x7eYywtXQE3dj1suG8cfVkwrsdRXZtXWhrwoqEMLIoCM7W49u
jrWrUt87zCX5WDam25jL2aZbwZW/jAaZpmAMNcTpHwbz7IWsk5KIKVFQ9+KCyqip
M3O1qM96BECVnYlQlAonGOC/s6nc51AtgX19/xQKM71qIw89ebk9iqpY8O0ftchE
ks+Zxh2h17si1p1h8cTxybesw8/5O9f+t79jKwjCEnE2zzn5vCrt8SXNly8UOyOQ
NGxh7oUqkvNo63Ml0N6FANFo8SXfrunALIV8vuGV9aMoRgRmAz4tbuwHWyXjlO9P
y60zVKXAn5qp1ymPCNI6/Zm8/m+v5Bd3RJw9OBJguRjdZz3Vzeo+xNTQY+kr7ql4
EhHxK0LMDz8LhJP7l2Od050CGnXpGK+jCUnZmXpxEd7fFzko56iuRt4mimFttPvP
sujm+MDI3ULlrO5kh8f9V/W/XK7+J1c5ES+UypovPUpDHg2siD4=
=K3Hg
-----END PGP SIGNATURE-----

[toc] | [next] | [standalone]


#89377 — Processed: Re: Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-09-24 01:20 +0200
SubjectProcessed: Re: Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d
Message-ID<LyksF-508-5@gated-at.bofh.it>
In reply to#89376
Processing control commands:

> tags -1 moreinfo
Bug #1116120 [linux-headers-amd64] Please specify version of linux-headers-generic that is being `Provide:`d
Ignoring request to alter tags of bug #1116120 to the same tags previously set

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

[toc] | [prev] | [next] | [standalone]


#89378

FromBastian Blank <waldi@debian.org>
Date2025-09-24 01:20 +0200
Message-ID<LyksF-508-7@gated-at.bofh.it>
In reply to#89376
Control: tags -1 moreinfo

On Wed, Sep 24, 2025 at 01:40:46AM +0300, Roman Lebedev wrote:
> In debian, linux-headers-generic is a virtual package
> that is provided by linux-headers-$ARCH.
> For reasons, i need to specify a dependency on installed kernel headers
> version in a package. I was hoping to do:

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.

Bastian

-- 
Women are more easily and more deeply terrified ... generating more
sheer horror than the male of the species.
		-- Spock, "Wolf in the Fold", stardate 3615.4

[toc] | [prev] | [next] | [standalone]


#89380

FromRoman Lebedev <lebedev.ri@gmail.com>
Date2025-09-24 01:40 +0200
Message-ID<LykM1-59s-7@gated-at.bofh.it>
In reply to#89378
On Wed, Sep 24, 2025 at 2:09 AM Bastian Blank <waldi@debian.org> wrote:
>
> Control: tags -1 moreinfo
>
> On Wed, Sep 24, 2025 at 01:40:46AM +0300, Roman Lebedev wrote:
> > In debian, linux-headers-generic is a virtual package
> > that is provided by linux-headers-$ARCH.
> > For reasons, i need to specify a dependency on installed kernel headers
> > version in a package. I was hoping to do:
>
> 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.
Pretty much all software has specific requirements on versions of
it's dependencies that are required for the software to be built.

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.

Does that answer the question?

PS: it's apparently `Provides: <name> (= <version>)`, with braces.

> Bastian
Roman.

> --
> Women are more easily and more deeply terrified ... generating more
> sheer horror than the male of the species.
>                 -- Spock, "Wolf in the Fold", stardate 3615.4

[toc] | [prev] | [next] | [standalone]


#89379 — Processed: Re: Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-09-24 01:20 +0200
SubjectProcessed: Re: Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d
Message-ID<LyksF-508-11@gated-at.bofh.it>
In reply to#89376
Processing control commands:

> tags -1 moreinfo
Bug #1116120 [linux-headers-amd64] Please specify version of linux-headers-generic that is being `Provide:`d
Added tag(s) moreinfo.

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

[toc] | [prev] | [next] | [standalone]


#89387 — Bug#1116120: marked as done (Please specify version of linux-headers-generic that is being `Provide:`d)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-09-24 09:00 +0200
SubjectBug#1116120: marked as done (Please specify version of linux-headers-generic that is being `Provide:`d)
Message-ID<LyrDP-ae7-7@gated-at.bofh.it>
In reply to#89376

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

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 Please specify version of linux-headers-generic that is being `Provide:`d
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

[toc] | [prev] | [standalone]


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


csiph-web