I know... just an idea, there something I do for my backported packages. You could do:
base-files (>= foo) | php5-mysql php7.0-mysql | base-files (<< foo) Where foo should be version-in-xenial or version-in-stretch (whatever is higher), just make sure the "base-files (<< foo)" can be satisfied in jessie, wily and trusty (precise?). O. -- Ondřej Surý <[email protected]> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server On Tue, Apr 19, 2016, at 07:50, Michal Čihař wrote: > Hi Ondřej > > Dne 18.4.2016 v 22:59 Ondřej Surý napsal(a): > > Package: phpmyadmin > > Version: 4:4.6.0-1 > > Severity: important > > User: [email protected] > > Usertags: php7.0-transition > > > > Dear maintainer(s), > > > > this bug is a part of ongoing php7.0 transition. It is filled as > > important, but the severity will be bumped to serious within quite short > > (~month) timeframe as the transition was announced almost 3 months ago. > > > > The phpmyadmin package currently depends on libapache2-mod-php5 > > libapache2-mod-php5filter php5 php5-cgi php5-cli php5-common php5-fpm > > php5-mysql php5-mysqlnd . > > The only reason for this is to allow building packages for older distros > from same sources. Indeed the current solution is not really working > well, but I haven't found better. For example it doesn't prevent user > installing php5-mysql together with php7.0-cgi, what really doesn't lead > to working setup in current sid where both PHP versions are available. > > -- > Michal Čihař | http://cihar.com/ | https://weblate.org/ > > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature)

