dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

debian packages dependencies - missing dependencies #1640

Open calestyo opened 9 years ago

calestyo commented 9 years ago

Hi.

The Debian packages miss at least the dependency on a JRE (or JDK?). Unless it's already known that it really doesn't work with specific JREs, it should probably use Debian's default:

default-jre | java-runtime

or if the headless version is enough:

default-jre-headless | java-runtime-headless

But if some java versions are known to not work (as in the newer dCache's), the following may virtual packages may be used as well: java2-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, e.g. for dcache 2.12 which requires java 8 this would be just: java8-runtime (respectively java8-runtime-headless) (since at least as of now, default-jre is only OpenJDK 8 on most debian arches).

If there are specific JREs known to not than you really must list the ones that work, e.g.

openjdk-8-jre | gcj-5-jre

or whatever...

Cheers, Chris.

gbehrmann commented 9 years ago

I don't disagree, but just to provide some context: That dependency was left out on purpose as many (well, at least we do and we are the original users of the DEBs) do not install Java through a package, but dump the tarball from Oracle into an /opt diectory.

calestyo commented 9 years ago

I see, but there's an easy solution for those people: