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

Re: package bundle versioning



Jeroen Ooms <jeroen.ooms@stat.ucla.edu> writes:
> I have a source package which contains a number of packages that are
> inter-dependent. Is there a way to make sure that the versions of the
> different packages inside the bundle are in sync when installed?

As long as only one source package is involved you can easily do so by
using Depends: foo (= ${source:Version}) or (= ${binary:Version}) in
debian/control.  See also deb-substvars(5).

You usually want to use source:Version for dependencies on an arch:all
package and binary:Version for dependencies of an arch:any package on
another arch:any package.  This way the dependencies will be correct
even after a binNMU of the arch:any packages.

Dependencies of an arch:any on a arch:all package are a bit trickier.

Regards,
Ansgar


Reply to: