Is it recommended that Recommended are switched off?
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil. Any comments on it? Best, Matěj -- https://matej.ceplovi.cz/blog/, @mcepl@floss.social GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Don’t anthropomorphize computers. They don’t like it.
On Wed, May 24, Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
Any comments on it?
The old problem discussed already hundreds of times. In the past everybody added everything "usefull" as hard requires, so if a package could work together with mariadb or postgresql as database backend, you had to install both, even if you can only use one and you wanted to use your remote database instance... Now with Requires, Recommends and Suggests it's a little bit better, but yes, there is still far too much "crap" in it. Quite some people only changed their Requires to Recommends, so if you install package X, it will still pull in mariadb, postgresql, ... and other databases at the same time. That's why many people disable recommends... And of course there is MicroOS and containers, where we really only want the bare minimal and nothing "may be usefull", thus we disabled recommends by default. Requires: the package will not work in any case without this dependency Recommends: the package will work without this dependency installed, but this could mean, that not all features are useable. This should be a usefull, minimal set of dependencies, which allows the user to use common functionality of the package without the need to install additional packages. Suggests: packages which could be usefull As example: git-core hard requires less. If less is hardcoded in git-core, this Requires is correct. If it is only optional, this should be a Recommends, since there are other pagers the user maybe preferes. If there is a UI for git, it sould be "suggests" and not "recommends", as most people will use the CLI and not a UI version. For this bug: could it be that there is a package already installed, which "Recommends" openssh-server? I saw that several times in the past, that installing a package did trigger dependencies of already installed packages, too. But in the end, only a solver testcase and our zypper developers can tell you more. Thorsten
Best,
Matěj -- https://matej.ceplovi.cz/blog/, @mcepl@floss.social GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
Don’t anthropomorphize computers. They don’t like it.
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)
On 5/25/23 06:30, Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
Any comments on it?
The general response is we know there are a number of places where switching off recommends will break things, particularly in the desktop patterns. If someone finds an issue we will try our best to fix it, but sometimes peoples opinions on what is required for a functioning system differ in which cases we usually use maintainer discretion. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
Simon Lees composed on 2023-05-28 04:23 (UTC+0930):
Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
Any comments on it?
The general response is we know there are a number of places where switching off recommends will break things, particularly in the desktop patterns. If someone finds an issue we will try our best to fix it, but sometimes peoples opinions on what is required for a functioning system differ in which cases we usually use maintainer discretion.
Nominal "breakage" is a most TW dup-days occurrence here: # grep onlyR /etc/zypp/zypp.conf solver.onlyRequires = true # zypper ll | grep -E 'lang|local|font|deve' | sort 1 | *-lang | package | (any) | 10 | cantarell-font* | package | (any) | 14 | glibc-deve? | package | (any) | 15 | glibc-local? | package | (any) | 16 | google*fonts | package | (any) | 20 | kde-oxygen-font* | package | (any) | 26 | noto*fonts | package | (any) | 29 | raleway-font* | package | (any) | A big annoyance here is having to respond with a different numbered selection corresponding to "break" for various locked-out packages when running zypper dup. After more than a decade of this I feel safe in saying not having any particular font installed never "breaks" any more than an intrusive maintainer's ego. Normal people don't *need* more than a pittance of fonts packages. They shouldn't have to work to avoid wasting time and bandwidth on fonts they don't need or want, or to enjoy their favorite fonts on their own devices. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Am 27. Mai 2023 20:53:16 MESZ schrieb Simon Lees <sflees@suse.de>:
On 5/25/23 06:30, Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
Any comments on it?
The general response is we know there are a number of places where switching off recommends will break things, particularly in the desktop patterns. If someone finds an issue we will try our best to fix it, but sometimes peoples opinions on what is required for a functioning system differ in which cases we usually use maintainer discretion.
I find this discussion ludicrous. People are fighting over a few megabytes. At the same time, however, the focus is on Alp/MicroOS/flatpack, where several gigabytes are installed twice and three times and thus unnecessarily. Secondly, I think a programme should be able to do everything it can right from the start after installation. How is a user supposed to find out which additional package is needed? Or have I misunderstood something? Regards Eric
On 5/28/23 08:01, Eric Schirra wrote:
Am 27. Mai 2023 20:53:16 MESZ schrieb Simon Lees <sflees@suse.de>:
On 5/25/23 06:30, Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
Any comments on it? The general response is we know there are a number of places where switching off recommends will break things, particularly in the desktop patterns. If someone finds an issue we will try our best to fix it, but sometimes peoples opinions on what is required for a functioning system differ in which cases we usually use maintainer discretion.
I find this discussion ludicrous. People are fighting over a few megabytes. At the same time, however, the focus is on Alp/MicroOS/flatpack, where several gigabytes are installed twice and three times and thus unnecessarily.
Secondly, I think a programme should be able to do everything it can right from the start after installation. How is a user supposed to find out which additional package is needed?
Well, it depends on the user. If a user does not care, or does not know packages enough, then going with recommends is the best way. However, going without recommended does not only save disk space. I'm not trying to install minimal systems just because I started using SUSE Linux 4.3 on a 400MB hard drive alongside Windows 27 years ago :-) The less software you have the smaller the updates are and the smaller the attack surface is. On SUSE Linux 4.3 I knew for each and every package what they did. Unfortunately it's not the case any more, but still I think keeping a system minimal is the best approach and one can learn a lot while cleaning a system. As you can see from my comment, I do start installation with Recommends, so I have a working system, and go to minimal from that state. For the syslog-ng package, which I maintain, I do not use Recommends at all. The syslog-ng package itself has all core functionality, but nothing more. I leave it up to the user to install any additional syslog-ng sub-packages. Even if those sub-packages are just a few kilobytes in most cases, they can pull in huge dependencies, like Java, etc. If someone configures syslog-ng by hand and tries to use an uninstalled module, the error message is quite helpful in most cases. Peter
On Sunday 2023-05-28 08:01, Eric Schirra wrote:
On 5/25/23 06:30, Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
The general response is we know there are a number of places where switching off recommends will break things, particularly in the desktop patterns.
E.g. evince-plugin-pdfdocument. But it's fine to be recommended rather than required. wpg and pcx support in msword are also optional, because when was the last time you exercised wpg/pcx functionality? (It depends on the user!)
I think a programme should be able to do everything it can right from the start after installation. How is a user supposed to find out which additional package is needed?
That is the point; if you are such a user, you choose "recommended"/"typical", not --no-recommends/"custom". The concept is at least as old as '95: https://www.howtogeek.com/wp-content/uploads/2017/10/img_59de74218c289.png
Am 28. Mai 2023 09:52:42 MESZ schrieb Jan Engelhardt <jengelh@inai.de>:
On Sunday 2023-05-28 08:01, Eric Schirra wrote:
On 5/25/23 06:30, Matěj Cepl wrote:
See https://bugzilla.suse.com/1211446 … it seems to me that this attitude, that everybody switch off Recommends, because they bring too much garbage, so it is all right that packages bring too much garbage, is rather evil.
The general response is we know there are a number of places where switching off recommends will break things, particularly in the desktop patterns.
E.g. evince-plugin-pdfdocument. But it's fine to be recommended rather than required. wpg and pcx support in msword are also optional, because when was the last time you exercised wpg/pcx functionality? (It depends on the user!)
I think a programme should be able to do everything it can right from the start after installation. How is a user supposed to find out which additional package is needed?
That is the point; if you are such a user, you choose "recommended"/"typical", not --no-recommends/"custom". The concept is at least as old
That's exactly how I handle it in packages. If there are things that are probably (this is just my opinion) rarely needed, I set them to recommend in the package. But I don't just drop them in. But that's exactly what has been asked for in this thread, isn't it? And I think absolutely nothing of that.
participants (7)
-
Eric Schirra
-
Felix Miata
-
Jan Engelhardt
-
Matěj Cepl
-
Peter Czanik
-
Simon Lees
-
Thorsten Kukuk