Installing openjdk-6-jre-headless pulls in X libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On current intrepid, when installing openjdk-
This somewhat defeats the purpose of having a -headless package.
Reproduce : on a minimal server install :
$ sudo apt-get install openjdk-
[...]
The following NEW packages will be installed:
avahi-daemon bind9-host ca-certificates
fastjar file fontconfig fontconfig-config gcj-4.3-base gij-4.3
hicolor-
libaccess-
libavahi-
libbind9-40 libcairo2 libcups2 libdaemon0 libdatrie0 libdbus-glib-1-2
libdns43 libexpat1 libfontconfig1 libfontenc1 libfreetype6 libgcj-bc
libgcj-common libgcj9-0 libgcj9-0-awt libgcj9-jar libgdbm3 libglib2.0-0
libglib2.0-data libgnutls26 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
libice6 libisc41 libisccc40 libisccfg40 libjpeg62 liblcms1 liblog4j1.2-java
liblog4j1.
libpam-
libpng12-0 libregexp-java libsm6 libthai-data libthai0 libtiff4 libttf2
libxcb-
libxfixes3 libxfont1 libxft2 libxi6 libxml2 libxrandr2 libxrender1 libxtst6
openjdk-
ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata-java x-ttcidfont-conf
xfonts-encodings xfonts-utils xml-core
[...]
1 upgraded, 98 newly installed, 0 to remove and 17 not upgraded.
$ sudo apt-get install openjdk-6-jre
[...]
The following NEW packages will be installed:
avahi-daemon bind9-host ca-certificates
file fontconfig fontconfig-config java-common lesstif2 libaccess-
libasound2 libavahi-
libcups2 libcupsys2 libdaemon0 libdbus-glib-1-2 libdns43 libexpat1
libfontconfig1 libfontenc1 libfreetype6 libgdbm3 libgif4 libglib2.0-0
libglib2.0-data libice6 libisc41 libisccc40 libisccfg40 libjpeg62 liblcms1
liblwres40 libmagic1 libnss-mdns libpam-ck-connector libpng12-0 libsm6
libttf2 libxfont1 libxi6 libxml2 libxp6 libxt6 libxtst6 openjdk-6-jre
openjdk-
ttf-baekmuk ttf-bengali-fonts ttf-dejavu ttf-dejavu-core ttf-dejavu-extra
ttf-indic-
ttf-oriya-fonts ttf-telugu-fonts ttf-wqy-zenhei tzdata-java x-ttcidfont-conf
xfonts-encodings xfonts-utils xml-core
[...]
1 upgraded, 74 newly installed, 0 to remove and 17 not upgraded.
> It even installs more than what the openjdk-6-jre package would.
wrong. we're not doing any black magic.
the x libs are installed because libgcj9-awt is recommended; all the java packages now depending on java-gcj-compat-dev | java2-runtime should depend on "default-jre | java2-runtime- headless" instead. please identify these packages, file bug reports and attach patches for these reports.