Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" Newsgroups: linux.debian.kernel Subject: Bug#1116120: marked as done (Please specify version of linux-headers-generic that is being `Provide:`d) Date: Wed, 24 Sep 2025 09:00:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-kernel-request@lists.debian.org Wed Sep 24 06:59:24 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-115.19 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, FOURLA=0.1, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, PGPSIGNATURE=-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 1116120 X-Debian-Pr-Package: src:linux X-Debian-Pr-Keywords: moreinfo X-Debian-Pr-Source: linux Reply-To: 1116120@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1758697142-1752468-0" X-Mailing-List: archive/latest/151332 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/handler.1116120.D1116120.17586970841750811.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 231 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 24 Sep 2025 06:59:02 +0000 X-Original-Message-ID: X-Original-References: <20250924065759.dtha6i5ysszijzap@shell.thinkmo.de> <175866724685.377756.11148370123780280388.reportbug@pini-pini.lcl> Xref: csiph.com linux.debian.kernel:89387 This is a multi-part message in MIME format... ------------=_1758697142-1752468-0 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 specify version of linux-headers-generic that is being `Pr= ovide:`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.) --=20 1116120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1116120 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1758697142-1752468-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 23 Sep 2025 22:40:55 +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=-22.4 required=4.0 tests=BAYES_00, BODY_INCLUDES_PACKAGE,DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FOURLA, FREEMAIL_FROM,FVGT_m_MULTI_ODD,HAS_PACKAGE,KHOP_HELO_FCRDNS, NML_ADSP_CUSTOM_MED,PGPSIGNATURE,SPF_HELO_NONE,SPF_SOFTFAIL, SPOOFED_FREEMAIL,SPOOF_GMAIL_MID,XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 80; hammy, 150; neutral, 68; spammy, 0. spammytokens: hammytokens:0.000-+--sk:iqizbae, 0.000-+--sk:iQIzBAE, 0.000-+--sha512, 0.000-+--SHA512, 0.000-+--forky Return-path: Received: from 78-107-250-75.static.corbina.ru ([78.107.250.75]:21948 helo=pini-pini.lcl) by buxtehude.debian.org with esmtp (Exim 4.96) (envelope-from ) id 1v1Bgt-005aPY-0f for submit@bugs.debian.org; Tue, 23 Sep 2025 22:40:55 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Roman Lebedev To: Debian Bug Tracking System Subject: Please specify version of linux-headers-generic that is being `Provide:`d Message-ID: <175866724685.377756.11148370123780280388.reportbug@pini-pini.lcl> X-Mailer: reportbug 13.2.0 Date: Wed, 24 Sep 2025 01:40:46 +0300 X-Debbugs-Cc: lebedev.ri@gmail.com Delivered-To: submit@bugs.debian.org 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----- ------------=_1758697142-1752468-0 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 ------------=_1758697142-1752468-0--