Am Donnerstag, 7. Juni 2018, 09:58:04 CEST schrieb Dominique Leuenberger / DimStar:
On Thu, 2018-06-07 at 09:54 +0200, Axel Braun wrote:
Am Donnerstag, 7. Juni 2018, 09:50:53 CEST schrieb Dominique Leuenberger /
DimStar:
Sure. The package is: https://build.opensuse.org/package/show/ home:DocB:branches:Application:ERP:GNUHealth:Factory/trytond
Conflicts is fixed in between by considering all postgresql[10] entries: Conflicts: postgresql10 Conflicts: postgresql
Don't conflict postgresql: this is only a meta-package bringing in the various scripts to switch between the PGSQL versions. Every postgresql* requires its presence.
...but if I dont conflict it, it installs version 10.
postgresql (the meta package) has version 10; but it has no (direct) relation to postgresql10. The verison of the meta package is only the relevant to the solver to find a possible default, if nothing else can be found.
Well, I've tried different conditions like Requires: postgresql-server < 10 Result: Problem: nothing provides postgresql-server < 10 needed by trytond-4.2.11- lp150.27.1.noarch Conflicts: postgresql10-server Results - installs postgres 10 Additionally I tried setting the update-alternatives in the %post section update-alternatives --set postgresql /usr/lib/postgresql96 which resulted in a build error After all there seems no clean way to install postgres96 without user interaction Any expert advice? Thanks Axel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org