Bug#1131438: marked as done (Feature request: 'Dpkg -L -R <pkg>' to show files from metapackages including dependencies.)
"Debian Bug Tracking System" <[email protected]> Sun, 07 Jun 2026 02:33:02 +0000
| Newsgroups | gmane.linux.debian.devel.dpkg.bugs |
|---|---|
| Message-ID | <handler.1131438.D1131438.17807995101230656.ackdone@bugs.debian.org> |
This is a multi-part message in MIME format... ------------=_1780799582-1231423-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Sun, 7 Jun 2026 04:31:47 +0200 with message-id <[email protected]> and subject line Re: Bug#1131438: Feature request: 'Dpkg -L -R <pkg>' to sh= ow files from metapackages including dependencies. has caused the Debian Bug report #1131438, regarding Feature request: 'Dpkg -L -R <pkg>' to show files from metapackag= es including dependencies. 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 [email protected] immediately.) --=20 1131438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1131438 Debian Bug Tracking System Contact [email protected] with problems ------------=_1780799582-1231423-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 21 Mar 2026 12:42:10 +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=-13.7 required=4.0 tests=ARC_SIGNED,ARC_VALID, BAYES_00,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, DKIM_VALID_EF,HAS_PACKAGE,HTML_MESSAGE,MULTALT,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 115; neutral, 66; spammy, 1. spammytokens:0.987-1--deliverable hammytokens:0.000-+--metapackages, 0.000-+--maintainer's, 0.000-+--metapackage, 0.000-+--aptcache, 0.000-+--apt-cache Return-path: <[email protected]> Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17129) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <[email protected]>) id 1w3vec-007PQx-1B for [email protected]; Sat, 21 Mar 2026 12:42:10 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1774096926; cv=none; d=zohomail.com; s=zohoarc; b=JVhNqJ9ISh/QLfDeC/fXzonEyZ//gjwLo89kCjcFIxZh/U+EsL97t8Mvfvz7JI6XRXydoSF8YRB+iR4whu77/3lD5Qi94zo7ytwUkGdQh4WeLwAUwLf1Pstkr2t9bJNGlrp1l07tcfY9oUqqFPHWw2PzRzu4/ZtZNCzU9+7AOJk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1774096926; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=iKXd0MfCmh+ZI5X/Z62q/fnXwLtUxma3mNac3qQRyZ4=; b=oDPGLlox1WtOfQIPvcUm06GFBolscH4K+dg4Mk+F+yPUcrKKZ3XGzPtTkQ7Hn1EFeadHz9785FBnuy6e7LhTukrMqF68TO53OUyA0mM0i0m6ywmroJUU0TQFalfRq3K2oY7ToKMr2KqGSqVCCwYzoL2/9DpbFhEO9xmWz3bWH8s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=tomaszubiri.com; spf=pass [email protected]; dmarc=pass header.from=<[email protected]> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1774096926; s=raiz; d=tomaszubiri.com; [email protected]; h=Date:Date:From:From:To:To:Message-Id:Message-Id:Subject:Subject:MIME-Version:Content-Type:Reply-To:Cc; bh=iKXd0MfCmh+ZI5X/Z62q/fnXwLtUxma3mNac3qQRyZ4=; b=iu04+VVTK8cc9M7dCy/G3JtEYjEJEy/nAcmKJQBUp4Eux+0PnzET/Q/p3e6cPaZf RXACzebTfuoxwyGCKnvcBOJA/IMe8kdpY3euRkdJlV5DnCgh4efcb7E3NFz9qhTTg0C bgLdqhkRrNyUo6X2wbntguYmvdvdIiU0ZGY83wBs= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1774096925174485.7705052771329; Sat, 21 Mar 2026 05:42:05 -0700 (PDT) Date: Sat, 21 Mar 2026 09:42:05 -0300 From: Tomas <[email protected]> To: "Submit" <[email protected]> Message-Id: <[email protected]> Subject: Feature request: 'Dpkg -L -R <pkg>' to show files from metapackages including dependencies. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3827527_1910277989.1774096925020" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Delivered-To: [email protected] ------=_Part_3827527_1910277989.1774096925020 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable package: dpkg Hello, thank you for reading this feature request. Hopefully the title is self-explanatory, but I will try to make this clear: #The issue: User wants to know what files were installed by running 'apt install <packa= ge>' He can run 'dpkg -L <package>' but that only shows files installed by the m= etapackage itself, not its dependencies. He can also use 'apt-cache depends --recurse', but that produces huge files= with too much info, not just the files added. #Backwards Compatibility?: Yes, fully, currently dpkg -L -R reads out an error, as the options are con= sidered incompatible (-R is used for something else, but the option can be = reused in this separate context). #Implementation: I am available to attempt implementing the fix if I can be formally assigne= d the issue with the expectation that in principle there's interest in appl= ying the patch to mainstream.=C2=A0 No general guidance is needed, my approach would be to start by reading the= Debian New Maintainer's guide, the project specific readmes, building dpkg= , hacking a recursive solution and integrating it with the main binary when= the combination of both options is invoked. The deliverable would of course be in git-patch format. #Clarification: I know that these days there's a lot of LLM spam to OS projects, so I'd lik= e to clarify of course that this message is not LLM written, and that a pat= ch would not include LLM output. Thank you. ------=_Part_3827527_1910277989.1774096925020 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>= <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"></h= ead><body ><div style=3D"font-family: Verdana, Arial, Helvetica, sans-serif= ; font-size: 10pt;"><div><span style=3D"font-family: Verdana, Arial, Helvet= ica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-lig= atures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing= : normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: = none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-s= pace: normal; text-decoration-thickness: initial; text-decoration-style: in= itial; text-decoration-color: initial; float: none; color: rgb(0, 0, 0); ba= ckground-color: rgb(255, 255, 255); display: inline !important;">package: d= pkg<br><br>Hello, thank you for reading this feature request.</span><br></d= iv><div><br></div><div><span style=3D"font-family: Verdana, Arial, Helvetic= a, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligat= ures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: no= ne; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-spa= ce: normal; text-decoration-thickness: initial; text-decoration-style: init= ial; text-decoration-color: initial; float: none; color: rgb(0, 0, 0); back= ground-color: rgb(255, 255, 255); display: inline !important;">Hopefully th= e title is self-explanatory, but I will try to make this clear:</span><br><= /div><div><br></div><div><span style=3D"font-family: Verdana, Arial, Helvet= ica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-lig= atures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing= : normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: = none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-s= pace: normal; text-decoration-thickness: initial; text-decoration-style: in= itial; text-decoration-color: initial; float: none; color: rgb(0, 0, 0); ba= ckground-color: rgb(255, 255, 255); display: inline !important;">#The issue= :</span><br></div><div><br></div><div><span style=3D"font-family: Verdana, = Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; fon= t-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; l= etter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; tex= t-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:= 0px; white-space: normal; text-decoration-thickness: initial; text-decorat= ion-style: initial; text-decoration-color: initial; float: none; color: rgb= (0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important= ;">User wants to know what files were installed by running 'apt install <= ;package>'</span><br></div><div><br></div><div><span style=3D"font-famil= y: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style:= normal; font-variant-ligatures: normal; font-variant-caps: normal; font-we= ight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-inde= nt: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-s= troke-width: 0px; white-space: normal; text-decoration-thickness: initial; = text-decoration-style: initial; text-decoration-color: initial; float: none= ; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inlin= e !important;">He can run 'dpkg -L <package>' but that only shows fil= es installed by the metapackage itself, not its dependencies.</span><br></d= iv><div><br></div><div><span style=3D"font-family: Verdana, Arial, Helvetic= a, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligat= ures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: no= ne; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-spa= ce: normal; text-decoration-thickness: initial; text-decoration-style: init= ial; text-decoration-color: initial; float: none; color: rgb(0, 0, 0); back= ground-color: rgb(255, 255, 255); display: inline !important;">He can also = use 'apt-cache depends --recurse', but that produces huge files with too mu= ch info, not just the files added.</span><br></div><div><br></div><div><spa= n style=3D"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1= 3.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-= caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-al= ign: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing= : 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration= -thickness: initial; text-decoration-style: initial; text-decoration-color:= initial; float: none; color: rgb(0, 0, 0); background-color: rgb(255, 255,= 255); display: inline !important;">#Backwards Compatibility?:</span><br></= div><div><br></div><div><span style=3D"font-family: Verdana, Arial, Helveti= ca, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-liga= tures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing:= normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: n= one; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-sp= ace: normal; text-decoration-thickness: initial; text-decoration-style: ini= tial; text-decoration-color: initial; float: none; color: rgb(0, 0, 0); bac= kground-color: rgb(255, 255, 255); display: inline !important;">Yes, fully,= currently dpkg -L -R reads out an error, as the options are considered inc= ompatible (-R is used for something else, but the option can be reused in t= his separate context).</span><br></div><div><br></div><div><span style=3D"f= ont-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; fo= nt-style: normal; font-variant-ligatures: normal; font-variant-caps: normal= ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; = text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webk= it-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: = initial; text-decoration-style: initial; text-decoration-color: initial; fl= oat: none; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); displ= ay: inline !important;">#Implementation:</span><br></div><div><br></div><di= v><span style=3D"font-family: Verdana, Arial, Helvetica, sans-serif; font-s= ize: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-va= riant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; t= ext-align: start; text-indent: 0px; text-transform: none; widows: 2; word-s= pacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-deco= ration-thickness: initial; text-decoration-style: initial; text-decoration-= color: initial; float: none; color: rgb(0, 0, 0); background-color: rgb(255= , 255, 255); display: inline !important;">I am available to attempt impleme= nting the fix if I can be formally assigned the issue with the expectation = that in principle there's interest in applying the patch to mainstream.&nbs= p;</span><br></div><div style=3D"font-family: Verdana, Arial, Helvetica, sa= ns-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures:= normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norma= l; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; w= idows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: n= ormal; text-decoration-thickness: initial; text-decoration-style: initial; = text-decoration-color: initial; color: rgb(0, 0, 0); background-color: rgb(= 255, 255, 255);"><div><br></div><div>No general guidance is needed, my appr= oach would be to start by reading the Debian New Maintainer's guide, the pr= oject specific readmes, building dpkg, hacking a recursive solution and int= egrating it with the main binary when the combination of both options is in= voked.<br></div><div><br></div><div>The deliverable would of course be in g= it-patch format.<br></div></div><div style=3D"font-family: Verdana, Arial, = Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-varia= nt-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-s= pacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-trans= form: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; w= hite-space: normal; text-decoration-thickness: initial; text-decoration-sty= le: initial; text-decoration-color: initial; color: rgb(0, 0, 0); backgroun= d-color: rgb(255, 255, 255);">#Clarification:<br></div><div style=3D"font-f= amily: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-st= yle: normal; font-variant-ligatures: normal; font-variant-caps: normal; fon= t-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-= indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-te= xt-stroke-width: 0px; white-space: normal; text-decoration-thickness: initi= al; text-decoration-style: initial; text-decoration-color: initial; color: = rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style= =3D"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333p= x; font-style: normal; font-variant-ligatures: normal; font-variant-caps: n= ormal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: st= art; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickn= ess: initial; text-decoration-style: initial; text-decoration-color: initia= l; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><div>I know = that these days there's a lot of LLM spam to OS projects, so I'd like to cl= arify of course that this message is not LLM written, and that a patch woul= d not include LLM output.<br></div><div><br></div><div>Thank you.<br></div>= </div></div><br></body></html> ------=_Part_3827527_1910277989.1774096925020-- ------------=_1780799582-1231423-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1131438-done) by bugs.debian.org; 7 Jun 2026 02:31:50 +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=-120.5 required=4.0 tests=ALL_TRUSTED,BAYES_00, BODY_INCLUDES_CONTROL_SEVERITY,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FROMDEVELOPER,HAS_BUG_NUMBER,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, 12; hammy, 150; neutral, 82; spammy, 0. spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:36ff, 0.000-+--H*r:36ff, 0.000-+--H*RT:sk:master., 0.000-+--H*RT:216, 0.000-+--H*RT:fe40 Return-path: <[email protected]> Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001]:46314) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <[email protected]>) id 1wW3Ik-005A98-1S for [email protected]; Sun, 07 Jun 2026 02:31:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.master; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-ID:Content-Description; bh=AjPhAo0b786nkW0lvaSD5OtkChyDIapGzC5Rut2SjKA=; b=XvLCZrx5qItw7a35Y9iYcI7xH6 jr5tD80dFtgMKJm421jxemGkiplXgUy5PGeVyzd6xdcszuqey3JztFjxUdwm6ULtPEOGVS61EXqao ApYaW3fNoj/zwyQWA/c07vvvpp5jzUPxLKNJ5QKrQOhvJsvU+ahcaLnb5+clvwSCqXeiin6jg/6Le etgjBHjSxMV0SWl23/pjrFYze0+6hgLv7loOpPpE2ZNH5wlzXksytlMVCLo/MGQCGVFP/oNrY6gcG mUyD7W3QEeKW4xiMaX3qQ1y3C0BBwM8PBayguEOIKn+6OKRqzgpTgDBuCNF5bs8Ff2YtF/2coepe1 ScYCs8qw==; Received: from guillem by master.debian.org with local (Exim 4.96) (envelope-from <[email protected]>) id 1wW3Ii-00CWRc-2F; Sun, 07 Jun 2026 02:31:48 +0000 Date: Sun, 7 Jun 2026 04:31:47 +0200 From: Guillem Jover <[email protected]> To: [email protected] Cc: Tomas <[email protected]> Subject: Re: Bug#1131438: Feature request: 'Dpkg -L -R <pkg>' to show files from metapackages including dependencies. Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> Hi! On Sun, 2026-03-22 at 04:28:54 +0100, Guillem Jover wrote: > Control: severity -1 wishlist > Control: tag -1 moreinfo > > On Sat, 2026-03-21 at 09:42:05 -0300, Tomas wrote: > > package: dpkg > > > #The issue: > > > > User wants to know what files were installed by running > > 'apt install <package>' > > I don't think this is a clear enough use case, because this could be > an interest in only the packages that actually got installed anew, > and not any already installed dependencies that the system already > had. What about alternative dependencies (as in "foo | bar")? What > about dependencies satisfied by virtual packages provided by multiple > real packages, etc. What about packages which are only Recommended > but apt might install depending on how it is configured? > > What about the matching query on package removals? (Which dpkg would > be unable to answer as it would no longer have the list of removed > files.) > > > He can run 'dpkg -L <package>' but that only shows files installed > > by the metapackage itself, not its dependencies. > > TBH, it does not seem like this request belongs in dpkg itself, as it > does not have enough information to properly answer the question that > is supposedly being asked, as mentioned above, because that depends on > the previous dpkg state and how a frontend like apt is configured. > > > He can also use 'apt-cache depends --recurse', but that produces huge > > files with too much info, not just the files added. > > To get only the list of Depends and Pre-depends one can use > «apt-cache depends --important --recurse», but apt by default will > install Recommends, so that will depend on how it is configured. > > Given the above, I'm inclined to close this as a wontfix. Closing this now. Thanks, Guillem ------------=_1780799582-1231423-0--