[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Don't disable recoomends by default



On Fri, Jul 12, 2019 at 09:13:29AM -0300, Jonas Smedegaard wrote:
> Quoting Reco (2019-07-12 09:01:33)
> > > > Disabling installing Recommends by default also helps a great deal 
> > > > with all those dependencies you don't want.
> > > 
> > > Above may break your system in confusing to debug ways,
> > 
> > Rly? Recommends are called that for a reason.
> 
> Yes, and the reason is well defined: Packages requires in "all but 
> unusual installations." - quoted from Debian Policy §7.2.

This only shows us that one can prove anything by using selective
quoting. Full quote, btw is:

This declares a strong, but not absolute, dependency.
The Recommends field should list packages that would be found together
with this one in all but unusual installations.


Therefore Debian Policy explicitly says that Recommends are not
required.


> > If Recommend is actually needed for the correct functioning of the
> > package - it's a bug in a package.
> 
> Wrong.  If a package is possibly to use for any purpose at all, even if 
> exotic and unusual, then it makes sense to recommend instead of depend 
> on a package.

Let's take everyone's favorite package, systemd.
It's Recommends as of stretch are libpam-systemd and dbus.
Both are not required for the OS to boot and systemd to function. Also,
they are optional for the users' login.
Moreover, there's no need for both libpam-systemd and dbus to be
installed on a typical server (be it file server, print server, db
server or a web server).
Of course, if server environment is "exotic and unusual" to someone -
that's an entirely different matter.


> > Recommends are useful sometime, and it's a useful default to install 
> > them. But it comes with the cost and the cost is a dependency bloat.
> 
> Wrong.  Suggests are for packages useful only "sometimes", recommends 
> are for pacakges needed in "all but unusual installations."

See above.

Reco


Reply to: