Thank you Eberhard and Andrey for your help.
So I added default-jre-headless (which permits to install the correct jdk
version) to the depends. But even if default-jre-headless was installed before
B, openjdk-11-jre-headless still got installed at the end after B. This is
probably because it wa
On Fri, Sep 09, 2022 at 10:32:18AM +0200, Fab Stz wrote:
> 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.
"The Depends field should also be used if the postinst or
If B runs a postinst script which requires Java, then I'd think it needs
a dependency on Java in d/control.
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
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?
4 matches
Mail list logo