mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Klaus Schwartz
12.56.2019 b6371953a12aef76f6483c3b20d5b3dd2fba11d5
refs
author Klaus Schwartz <tntclaus@users.noreply.github.com>
Monday, August 12, 2019 09:56 +0200
committer vharseko <vharseko@openam.org.ru>
Monday, August 12, 2019 09:56 +0200
commitb6371953a12aef76f6483c3b20d5b3dd2fba11d5
tree d349f7cc674853737b425072f33ab2e2943c5226 tree | zip | gz
parent cb7de671e5ca2f487c34f110761c15cab998e7b8 view | diff
default-jre-headless dependency for deb package (#89)

OpenDJ doesn't need Java GUI in some (most?) cases, but still requires full jre as must have dependency.

Right now it can be tricked by installing opendj with following commands:
```
apt-get install default-jre-headless -y
dpkg -i --ignore-depends=default-jre opendj_4.4.3-1_all.deb
```

Everything works pretty fine so far except getting annoying message every attempt to install apt package:

```
root@localhost:~# apt-get install some-other-package
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
opendj : Depends: default-jre but it is not going to be installed or
java6-runtime or
java7-runtime
```


This patch alteres dependency in `opendj_X.Y.Z_all.deb` from `default-jre` to `default-jre-headless | default-jre` which solves the issue.
1 files modified
2 ■■■ changed files
opendj-packages/opendj-deb/resources/control/control 2 ●●● diff | view | raw | blame | history