libcommons-csv-java should depend on a headless runtime
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server papercuts |
Fix Released
|
Medium
|
Thierry Carrez | ||
commons-csv (Ubuntu) |
Fix Released
|
Low
|
Thierry Carrez | ||
Lucid |
Fix Released
|
Low
|
Thierry Carrez |
Bug Description
libcommons-csv-java depends on default-jre, which pulls a full JRE. It is used by solr, which is installed on server environments. Fixing this library to only depend on "default-
== SRU report ==
Impact:
Due to this bug, Apache Solr (enterprise search) cannot be installed via the repo packages on Ubuntu Server without installing a huge number of desktop dependencies, including a wide array of media codecs and other cruft.
Dev branch fix:
This was fixed in Maverick by depending on headless runtimes instead.
Minimal patch:
-Depends: openjdk-6-jre | java2-runtime
+Depends: openjdk-
TEST CASE:
On a new Lucid server, try:
apt-get install libcommons-csv-java
On an affected setup, it tries to install 70+ packages, including "libpango1.0-0"
On a fixed setup, it should install less than 20 packages.
Regression potential;
This only affects reverse dependencies of libcommons-csv-java (i.e. solr-common) and does not affect already-installed setups, so the regression potential is very limited.
Changed in commons-csv (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in server-papercuts: | |
importance: | Undecided → Medium |
milestone: | none → maverick-alpha-3 |
status: | New → Triaged |
Changed in server-papercuts: | |
assignee: | nobody → Thierry Carrez (ttx) |
Changed in commons-csv (Ubuntu): | |
assignee: | nobody → Thierry Carrez (ttx) |
status: | Triaged → In Progress |
Changed in server-papercuts: | |
status: | Triaged → In Progress |
Changed in server-papercuts: | |
status: | In Progress → Fix Released |
Changed in commons-csv (Ubuntu Lucid): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in commons-csv (Ubuntu Lucid): | |
assignee: | nobody → Thierry Carrez (ttx) |
status: | Triaged → In Progress |
tags: | added: testcase |
Fix uploaded and diff submitted to Debian