On Wed, Jul 25, 2018 at 06:50:43PM +0200, Irrwahn wrote: > Hendrik Boom wrote on 25.07.2018 17:59: > [cut] > > Package dependencies are of the form > > Install X if Y is installed > > Too bad it doesn't handle > > Install X it Y and Z are installed. > > I suspect, though, we don't wand to have to embed a SAT solver into the > > package manager. It's already complicated enough. > > Hi Hendrik, > > I'm not entirely sure I correctly understand what you think that could > accomplish. In case you meant it the way I _think_ you did, this would > be my two cents worth of comment: > > It wouldn't help a bit, at least in the case at hand. The package > dependency exists to make sure a library (here: libsystemd.so.0) the > application (here: sshd) was linked against is present on the system, > as otherwise the application would simply fail to start, which is > undesirable.
I was thinking about package Y, which has systemd init script in package Xd, depend on package Xd only if systemd is present. No linking involved. But I agree that adding such a mechanism would greaty complicate the package manager, likely beyond feasibility. Not worth it if it's only to avoid a few small files that may never be used. -- hendrik _______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
