I'm packaging a couple of libraries that have some dependencies with one-another.
To simplify, let's say I have: libA and libB.
libB depends on libA for both building and installing.
libA depends on
libboost-system-dev (>= 1.49) for building, and
libboost-system (>= 1.49) for installing.
libA's package builds successfully using cowbuilder but when trying to build libB's package, I get the following error:
The following packages have unmet dependencies: libA1 : Depends: libboost-system (>= 1.49) which is a virtual package. Unable to resolve dependencies! Giving up...
Obviously, cowbuilder does not know which libboost-system package to install.
I'd like to avoid having to write
libboost-system1.49 in libA's installation dependencies so that it always uses the latest available boost version.
How can I fix that ?