I’ve used win5it’s procedure (Re: 3.10 rc on ubuntu with java-common) to add openjdk-7-jre-headless to the Pre-Depends list, generated the .deb and installed (upgraded) over 3.9.3 on a test server (Debian 8 Jessie).
Seems to be working.
If there was no real reason to remove the headless dependency, could someone please put it back?
It looks like default-jre-headless was removed not to risk that in some systems that depended on openjdk-6-jre-headless, as Openfire 3.10.0 wants java 7.
They should have added openjdk-7-jre-headless though.
To avoid problems upon apt-get upgrade command you should edit the file /var/lib/dpkg/status: Search for Openfire and edit the Pre-Depends section. Replace both entries with openjdk-7-jre-headless.
Hmm please edit the file /var/lib/dpkg/status. Search for Openfire and edit the Pre-Depends section. Replace both entries with openjdk-7-jre-headless. After another invoke of apt-get update it should be fixed.
I’ve provided a better workaround, that actually fixes the .deb. The workarounds above do work, but they make system maintenance a hassle. The following will not make system maintenance a hassle. It should work well, until there’s a newly packaged version. Here’s my suggestion:
The above was tested successfully on Ubuntu 12.04; I’m sure it works on 14.04 as well. (To be clear, the above was tested on the java/etc end; I’ve had some issues since but I believe they’er just normal upgrade-related issues; the above shouldn’t do anything differently from the other people’s suggestions).
As I noted in my reply, telling dpkg to ignore a dependency is going to create a long-lasting headache for the sysadmin; the linked item will allow the user to reconfigure the .deb file with the correct dependency. Thus it’s a one-time fix, rather than a thing they have to deal with every time they install software, run updates, etc.
–Edit-- it looks like I don’t understand how threading on this forum works; sorry for the seeming double-post.