Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" Newsgroups: linux.debian.kernel Subject: Bug#1022746: marked as done (please provide linux-image-generic / linux-headers-generic) Date: Wed, 24 Sep 2025 09:00:01 +0200 Message-ID: References: X-Original-To: Bastian Blank X-Mailbox-Line: From debian-kernel-request@lists.debian.org Wed Sep 24 06:59:34 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-110.31 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_INCLUDES_PACKAGE=-5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100, YOURMESSAGEBOD=2.5] autolearn=ham autolearn_force=no MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1022746 X-Debian-Pr-Package: src:linux X-Debian-Pr-Keywords: moreinfo X-Debian-Pr-Source: linux Reply-To: 1022746@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1758697144-1752468-4" X-Mailing-List: archive/latest/151333 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/handler.1022746.D1116120.17586970841750811.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 228 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 24 Sep 2025 06:59:04 +0000 X-Original-Message-ID: X-Original-References: <20250924065759.dtha6i5ysszijzap@shell.thinkmo.de> <224f9ad5-cfd1-449a-16ce-55815d53b5d5@whonix.org> Xref: csiph.com linux.debian.kernel:89388 This is a multi-part message in MIME format... ------------=_1758697144-1752468-4 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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-g= eneric that is being `Provide:`d has caused the Debian Bug report #1116120, regarding please provide linux-image-generic / linux-headers-generic 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.) --=20 1116120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1116120 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1758697144-1752468-4 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 24 Oct 2022 22:52:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02 (2021-04-09) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=4.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_PACKAGE,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 129; neutral, 45; spammy, 0. spammytokens: hammytokens:0.000-+--UD:ubuntu.com, 0.000-+--linuxheaders, 0.000-+--Severity, 0.000-+--UD:packages.debian.org, 0.000-+--packagesdebianorg Return-path: Received: from whonix.org ([95.216.25.250]:58390) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X448__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1on6Ip-003Fhm-FM for submit@bugs.debian.org; Mon, 24 Oct 2022 22:52:15 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: adrelanos) by whonix.org (Postfix) with ESMTPA id 51880262EEB for ; Mon, 24 Oct 2022 22:46:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=whonix.org; s=2022-10-08; t=1666651581; x=1666652181; bh=iWsfSMg/C3Q08mUxJCYsGI76eslE9vhhNwkCuakmuyY=; h=Message-ID:Date:MIME-Version:Reply-To:To:From:Subject: Disposition-Notification-To:Content-Type:Content-Transfer-Encoding: From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Sender:Resent-Message-ID:In-Reply-To:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe-Post:List-Post: List-Owner:List-Archive:Autocrypt:Openpgp: Disposition-Notification-To; b=nxt6k6oWLtd3f9Lm7e8ajm4xINC5YhUd/OH7M0BU3Tfi9g0P/p89Ff5bLOAxq5Tc4 Tm+1n6Fn0zu93NsuY/3qad1YSj91sxWnI+9ys8ZpomlHbl86Atl3shXYJVtVUD3DK7 OCtOW2k3oUVLPECf22vq5bHcwNIYJ5I9LWGyFsmB+nupZdCBs5Xxmdunuqr7wyci5v EuUvzQb+OmJPse9gYwnnUwhmfywUpcW7UsUnR9YDX1cg3b7Csa/eVyTsWazyewq7dY 3dXPhUeZHensCXQXQ5enfEC+Mc4X++1GZ2KNS0N4mLeQ0zVpNtAFHD1RgV6W1gBOZb ydM5fEjq+moKQ== Message-ID: <224f9ad5-cfd1-449a-16ce-55815d53b5d5@whonix.org> Date: Mon, 24 Oct 2022 22:46:00 +0000 MIME-Version: 1.0 Reply-To: adrelanos@whonix.org To: submit@bugs.debian.org From: Patrick Schleizer Subject: please provide linux-image-generic / linux-headers-generic Disposition-Notification-To: Patrick Schleizer Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: delayed 346 seconds by postgrey-1.36 at buxtehude; Mon, 24 Oct 2022 22:52:13 UTC Delivered-To: submit@bugs.debian.org Package: linux Severity: normal Dear maintainer, In Debian, linux-headers-generic is a virtual package. https://packages.debian.org/bullseye/linux-headers-generic In Ubuntu, linux-headers-generic is a real package. https://packages.ubuntu.com/linux-headers-generic It depends at time of writing on linux-headers-5.19.0-21-generic which then somehow pulls the architecture specific kernel headers package. What's the advantage of having a linux-headers-generic package? Instructions to install packages often look like this: sudo apt install some-package-that-builds-a-kernel-module linux-headers-$(dpkg --print-architecture) The part "$(dpkg --print-architecture)" is hard to type, remember for many users. Bash tab competition is unsupported. By comparison, the following looks nicer. sudo apt install some-package-that-builds-a-kernel-module linux-headers-generic But once linux-headers-generic exists, this could could be simplified even further. some-package-that-builds-a-kernel-module then could have a 'Depends: linux-headers-generic'. Then it could be as simple as: sudo apt install some-package-that-builds-a-kernel-module The internet is full with people asking questions because package installation failed due to missing kernel headers packages. Could this please be improved? Cheers, Patrick ------------=_1758697144-1752468-4 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1116120-done) by bugs.debian.org; 24 Sep 2025 06:58:04 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02 (2024-03-25) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-109.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER, HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 31; hammy, 149; neutral, 50; spammy, 1. spammytokens:0.972-+--us hammytokens:0.000-+--Hx-authordomain:debian.org, 0.000-+--Hx-senderdomain:debian.org, 0.000-+--dkms, 0.000-+--metapackages, 0.000-+--H*r:SHA384 Return-path: Received: from s3.thinkmo.de ([162.55.237.202]:38786 helo=mail.thinkmo.de) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1v1JRz-007LRt-2X for 1116120-done@bugs.debian.org; Wed, 24 Sep 2025 06:58:04 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.thinkmo.de (Postfix) with ESMTP id 4cWnjh3XMZzyZQ; Wed, 24 Sep 2025 06:58:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=debian.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received:received; s=mail202007.waldi.user; t= 1758697080; bh=WzPVOWm0FJHnVsnNGFxZuAq03Jx8w2Yz49CqYb6/uAA=; b=m OEg3TvIb9ldZbR5hgPjpBlwLB7MsKyWrhnCjWvJTZ4/xGcnLveB9gXUp0BHkNzmu pzdgkEwDSAbLCrFwG4uu7XSEvyP5eCFPjaPqVEfRYTOLZmP14iMwtucGbc2d/ZiN Dg8n+P/Jx/RHKDl7XXaTDRx2udBY0svojw8PksMKCiDqfktFKMNqXdntsjGB7Oxc Cdg64zboDIU12DsJkXMoJXDVHqN77MC/eEDwYSOGPHoh2A4jX97vidaDqpC0CM4s RCTAcaqIV/Dyf7zGUodGPS58PHhn9jU9ghPTQxnqlpFVI6RtrBF4E2/5cLhHyTgn kymW/enf1h27jVPhVjrzQ== X-Virus-Scanned: Debian amavis at Received: from mail.thinkmo.de ([127.0.0.1]) by localhost (mail.thinkmo.de [127.0.0.1]) (amavis, port 10024) with ESMTP id fZOkU7aEtmmp; Wed, 24 Sep 2025 06:58:00 +0000 (UTC) Received: from shell.thinkmo.de (shell.thinkmo.de [IPv6:2a01:4f8:271:3f5c:0:22:0:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail.thinkmo.de (Postfix) with ESMTPS id 4cWnjh2YkBzyXJ; Wed, 24 Sep 2025 06:58:00 +0000 (UTC) Date: Wed, 24 Sep 2025 08:57:59 +0200 From: Bastian Blank To: Roman Lebedev Cc: 1116120-done@bugs.debian.org Subject: Re: Bug#1116120: Please specify version of linux-headers-generic that is being `Provide:`d Message-ID: <20250924065759.dtha6i5ysszijzap@shell.thinkmo.de> Mail-Followup-To: Bastian Blank , Roman Lebedev , 1116120-done@bugs.debian.org References: <175866724685.377756.11148370123780280388.reportbug@pini-pini.lcl> <20250923230927.47urpcp7hz6ju7dw@shell.thinkmo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 ------------=_1758697144-1752468-4--