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

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



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


Reply to: