• Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the

    From Luca Boccassi@21:1/5 to Bastian Blank on Sat Apr 6 09:50:30 2024
    XPost: linux.debian.bugs.dist

    On Tue, 2 Apr 2024 at 16:52, Bastian Blank <[email protected]> wrote:

    On Tue, Apr 02, 2024 at 03:59:25PM +0100, Luca Boccassi wrote:
    Let's look at this the other way around: if there was no dependency, in what scenario would things break and how?

    - linux-headers-bla and linux-image-bla are installed
    - linux-image-bla is uipgraded
    - no modules will be built, because the matching headers are missing

    Got it, thanks, that makes sense to me as a problem and it would be
    good to solve.

    Is the root cause that the image and the headers package are published
    and uploaded separately, due to signing?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luca Boccassi@21:1/5 to All on Sat Apr 6 09:51:00 2024
    XPost: linux.debian.bugs.dist

    On Tue, 2 Apr 2024 08:27:39 +0200 Bastian Blank <[email protected]>
    wrote:
    On Mon, Apr 01, 2024 at 09:25:40PM +0000, Luca Boccassi wrote:
    Why do dkms modules need the image installed to be built? At the
    very
    least they didn't use to, the headers were enough last time I had
    to
    deal with that stuff for the nvidia drivers

    dkms is used to build modules for the kernel that is just being
    installed.  To do that it needs also the headers in matching
    versions.

    As the image can't depend on the headers, some other way was needed.

    Sorry, I am still unable to understand the issue: dkms can and does
    build modules for all installed _headers_ (plural). The fact that the
    headers pull in a corresponding image does not change that fact, as far
    as I can tell. In fact, it doesn't need any images at all, again as far
    as I know.

    Let's look at this the other way around: if there was no dependency, in
    what scenario would things break and how?

    --
    Kind regards,
    Luca Boccassi

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastian Blank@21:1/5 to Luca Boccassi on Sat Apr 6 09:51:38 2024
    XPost: linux.debian.bugs.dist

    On Tue, Apr 02, 2024 at 03:59:25PM +0100, Luca Boccassi wrote:
    Let's look at this the other way around: if there was no dependency, in
    what scenario would things break and how?

    - linux-headers-bla and linux-image-bla are installed
    - linux-image-bla is uipgraded
    - no modules will be built, because the matching headers are missing

    Bastian

    --
    If some day we are defeated, well, war has its fortunes, good and bad.
    -- Commander Kor, "Errand of Mercy", stardate 3201.7

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)