← Back to team overview

openjdk team mailing list archive

[Bug 261847] Re: Installing openjdk-6-jre-headless pulls in dbus/avahi

 

** Changed in: openjdk-6 (Ubuntu)
   Importance: Undecided => Critical
       Status: New => Confirmed
       Target: None => intrepid-alpha-6

-- 
Installing openjdk-6-jre-headless pulls in dbus/avahi
https://bugs.launchpad.net/bugs/261847
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: Confirmed

Bug description:
On a current intrepid setup, installing openjdk-6-jre-headless pulls in several packages that might not be suitable for a server setup : avahi-daemon, dbus, consolekit, dbus-x11...

They are pulled in through the libnss-mdns Recommends, as well as 24 other packages. Complete list follows:
avahi-daemon libavahi-common3 libavahi-common-data libavahi-core5 libdaemon0 libdbus-1-3 libexpat1 dbus consolekit libck-connector0 libdbus-glib-1-2 libglib2.0-0 libglib2.0-data libpam-ck-connector dbus-x11 bind9-host libbind9-40 libcap2 libdns43 libisc44 libisccfg40 libisccc40 liblwres40 libxml2 xml-core sgml-base perl perl-modules

As we want to promote usage of Java-based software on Ubuntu server, we might need a basic openjdk-6-jre-headless package that can be used as a dependency for a Java server package without pulling in too many packages.

I propose to downgrade the libnss-mdns recommend to a suggest (for openjdk-6-jre-headless), resulting in going from 37 dependencies for that runtime on a bare install to a more healthy 9.

According to the changelog, this Recommend was added for 6b09-1~pre1, but I am not sure it qualifies for something you want to find on all but specific setups ?

Proposed patch follows.



References