[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Do transitive dependencies need to be specified in the control file?

>>>>> Markus Koschany <apo@debian.org>:
>> I tried adding two dependencies, libjna-java and libjna-platform-java to the debian/control file:
>> Depends: adduser, default-jre (>=1.8), libosgi-core-java (>=6), libjna-java (>=4.2.2), libjna-platform-java (>=4.2.2)
>                                  ^^^^^^
> This should be >= 2:1.8 (note the epoch) otherwise even a Java 7 JDK
> would satisfy this dependency.

Thanks! I will correct that.
>> The following packages have unmet dependencies:
>> karaf : Depends: libjna-java (>= 4.2.2) but it is not going to be installed
>> Depends: libjna-platform-java (>= 4.2.2) but it is not going to be installed
>> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
>> root@lorenzo:~#

> The versions for libjna-java (>= 4.2.2) and libjna-platform-java (>=
> 4.2.2) are already present in Stretch, so if you declare these
> dependencies in debian/control they should be downloaded automatically.
> I assume this error message is caused by your special build environment.

I thought the unmet dependency was libjna-jni that was added by
'apt --fix-broken install'? And that this was a transitive depdenency? 

Reply to: