That also solves the problem with ensuring that B is setup after Java. Fab Stz wrote on 2022-09-09 10:32:
Hi, I have a package B that depends on gradle, which depends on Java. B doesn't have a dependency to Java set in d/control. B runs a postinst script which requires Java. At times, during installation Java is set up before B, at times after. How can I be sure that B is always setup after Java?By Java I mean: openjdk-11-jre-headless:amd64 which is the one that creates the alternatives to have/usr/bin/java.Thanks
Attachment:
OpenPGP_0xE9140597606020D3.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature