openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00767
[Bug 261847] Re: Installing openjdk-6-jre-headless pulls in dbus/avahi
The libnss-mdns Recommend was reintroduced in 6b12~pre1-0ubuntu1
** Changed in: openjdk-6 (Ubuntu Intrepid)
Status: Fix Released => New
--
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: New
Status in openjdk-6 in Ubuntu Intrepid: New
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