Hello, and thanks for your time.
I've been a Debian user and contributor for a while, and have noticed a rather frustrating issue that I'm interested in potentially
contributing code to fix. The issue is what I call "Recommended bloat",
which in short is what happens when you install a package with all of
its recommended packages, and end up with a whole lot of stuff installed
that you don't want and that the package you actually wanted probably
didn't even need.
Le Tue, Nov 05, 2024 at 05:35:59PM -0600, Aaron Rainbolt a écrit :
Hello, and thanks for your time.
I've been a Debian user and contributor for a while, and have noticed a
rather frustrating issue that I'm interested in potentially
contributing code to fix. The issue is what I call "Recommended bloat",
which in short is what happens when you install a package with all of
its recommended packages, and end up with a whole lot of stuff installed
that you don't want and that the package you actually wanted probably
didn't even need.
A proposal I made was an option for apt to handle Recommends non
recursively.
That is if A Recommends B and B Recommends C,
apt-get install A --no-transitive-recommends
would install B but not C.
On 06/11/2024 19:20, Bill Allombert wrote:
Le Tue, Nov 05, 2024 at 05:35:59PM -0600, Aaron Rainbolt a écrit :
Hello, and thanks for your time.
I've been a Debian user and contributor for a while, and have noticed a
rather frustrating issue that I'm interested in potentially
contributing code to fix. The issue is what I call "Recommended bloat",
which in short is what happens when you install a package with all of
its recommended packages, and end up with a whole lot of stuff installed >> that you don't want and that the package you actually wanted probably
didn't even need.
A proposal I made was an option for apt to handle Recommends non recursively.
That is if A Recommends B and B Recommends C,
apt-get install A --no-transitive-recommends
would install B but not C.
This, please!
However, this isn't that hard to rectify - rather than specifying the[...]
depth at which apt should stop installing recommends, one can specify
the packages in the dependency tree from which apt should install
recommends from. I.e., to replicate --no-transitive-recommends, one
would do
`sudo apt install package --only-install-recommends-from=package`
(please someone pick a better name for this switch). If you're
installing a complex metapackage network, you can just specify all the metapackages you want to allow recommends from, i.e.
`sudo apt install metapackage --only-install-recommends-from=metapackage,submetapackage1,...`
I personally would consider a "apt install-recs", analogous to "apt build-dep",
quite useful. That would require multiple steps instead of a single command, >but allow installing the recommends for a specific package at any later time, >which is also useful when they have changed over time or you change your mind >about installing them.
Am 8. November 2024 06:42:25 MEZ schrieb Marc Haber <mh+debian-devel@zugschlus.de>:
Agreed! And I would also love the possibility to directly paste a
package list from apt show's output into apt install without having to >remove the commas.
This!
Agreed! And I would also love the possibility to directly paste a
package list from apt show's output into apt install without having to
remove the commas.
On Fri, Nov 08, 2024 at 08:20:46AM +0100, IOhannes m zmölnig wrote:
Am 8. November 2024 06:42:25 MEZ schrieb Marc Haber <mh+debian-devel@zugschlus.de>:
Agreed! And I would also love the possibility to directly paste a
package list from apt show's output into apt install without having to
remove the commas.
This!
apt satisfy
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 489 |
Nodes: | 16 (2 / 14) |
Uptime: | 17:19:46 |
Calls: | 9,665 |
Files: | 13,712 |
Messages: | 6,167,823 |