Hi,
based on some discussion on IRC I want to propose install
profiles.
Recommends: foo <bar>
Suggests: foo <bar>
The syntax is the same as for build profiles, and it is
allowed in Recommends and Suggests fields only (maybe
Enhances?).
This allows users to customize their systems and avoid installing recommends they don't want.
based on some discussion on IRC I want to propose install
profiles.
Recommends: foo <bar>
Suggests: foo <bar>
The syntax is the same as for build profiles, and it is
allowed in Recommends and Suggests fields only (maybe
Enhances?).
Alternatively, dpkg doesn't need to care about which
profiles are active and apt manages the list.
Gentoo use flags have a default state, it seems
reasonable to follow the same approach, so you would
have
enable-profile
disable-profile
reset-profile
or something and the repository could declare default
profiles.
This allows users to customize their systems and avoid
installing recommends they don't want.
Quoting Julian Andres Klode (2023-06-14 18:00:42)
This allows users to customize their systems and avoid installing recommends
they don't want.
I do not see a reasonable cost/benefit ratio here. There is a surprising amount
implementation for build profiles. And there is more software handling binary packages than software handling source packages.
On 16.06.23 22:29, David Kalnischkies wrote:
The topic of "conditional dependencies" comes up once in a while, and
that is basically how this came up as well – as a pipe dream. I was somewhat surprised Julian would actually go and post it seriously.
The things you usually want to express with those are roughly:
* if X, do not install foo (aka: bar recommends foo for printing, if
machine can't print, don't install it)
* if X do also install foo (e.g. install firefox-l10n-de if firefox
is installed and user wants german language packs)
* make a "clever" choice for virtual package rather than assuming theAll of these could be done with "negative" packages, even today.
"real | virtual" can always list the best 'real' for everyone
(e.g. different reals for different desktop environments)
Recommends: foo-print | no-printing
Recommends: firefox-l10n-de | no-task-german
Recommends: gnome-terminal | no-gnome,
kde-terminal | no-kde,
lxde-terminal | no-lxde
The reason we don't do that is that it creates a lot of bloat in the
package list and all of these would show up in the package managers.
So, having a less annoying way to do negation would solve most of these problems -- are there any it doesn't solve?
must not require or recommend a package outside of main for compilation or execution (thus, the package must not declare a Pre-Depends, Depends, Recommends, Build-Depends, Build-Depends-Indep, or Build-Depends-Arch relationship on a non-main package unless that package is only listed as a non-default alternative for a package in main),
On Wed, Jun 14, 2023 at 07:29:57PM +0200, Johannes Schauer Marin Rodrigues wrote:
Quoting Julian Andres Klode (2023-06-14 18:00:42)
This allows users to customize their systems and avoid installing recommends
they don't want.
I do not see a reasonable cost/benefit ratio here. There is a surprising amount
The topic of "conditional dependencies" comes up once in a while, and
that is basically how this came up as well – as a pipe dream. I was somewhat surprised Julian would actually go and post it seriously.
The things you usually want to express with those are roughly:
* if X do also install foo (e.g. install firefox-l10n-de if firefox
is installed and user wants german language packs)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 39:45:12 |
Calls: | 6,708 |
Calls today: | 1 |
Files: | 12,241 |
Messages: | 5,353,645 |