Hello Mesos fans,

I just wanted to alert you to a potentially disastrous incompatibility
introduced in the last few OpenJDK packages released for the popular
"openjdk-r" Ubuntu PPA.

Per Debian bug 815475:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815475

The OpenJDK packaging changed the virtual packages it provides.
Notably, it no longer provides "java-runtime-headless", which Mesos depends on:
http://bazaar.launchpad.net/%7Eopenjdk/openjdk/openjdk8/revision/672/debian/control

This means that if you use the Mesosphere .deb packaging and the OpenJDK
Ubuntu / Debian repos, when you upgrade from < 8u77 to >= 8u77, the Mesos
package may be uninstalled.  If you happen to run Puppet, it calls apt with
the "-f" force option by default, which will do all this without even
telling you...

I believe I have a fix here:
https://github.com/mesosphere/mesos-deb-packaging/pull/77

I would love critical review -- this surprised us and crippled our
production clusters, and I got this out in a panic, so I am not 100% sure
it is the right fix... hopefully this note saves someone else a really really
bad day.

Wishing package management a slow and painful death,
Steven

(PS... maybe this is good evidence that the Mesos project needs
more support around understanding packaging and distribution management)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to