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

debian/control: enhanced version dependencies?

Hi folks,

For running a local set of meta packages I would like to
express package dependencies depending upon other packages
installed, e.g.

Package: xyz
Version: all
Depends: ${misc:Depends}
	, dbus (systemd >= 215)

Hopefully you get the meaning. Package xyz could make sure
that dbus is installed, if systemd is installed. (systemd
version 215 itself just recommends dbus.)

Another example:

Package: mykde
Version: all
Depends: ${misc:Depends}
	. kde-full
	, mykde1 (kde-full >= 5:66)
	, mykde2 (kde-full >= 5:77)
	, mykde3 (kde-full >= 5:84)

Package mykde1

Do you think this could be possible? Are there other
options for debian/control to express complex package


Reply to: