Confusing title for Java package caused by _get_application_for_package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Using version 0.196.12
Recently, a bunch of Java 6 packages needed to be updated on my machine:
icedtea-6-jre-cacao
icedtea-6-jre-jamvm
openjdk-6-jre
openjdk-
openjdk-6-jre-lib
tzdata
tzdata-java
Update-Manager has decided that the name for the openjdk-6-jre package should be "OpenJDK Java 6 Policy Tool".
It then decided that openjdk-6-jre is the representative package of that group, so the entire update was under a drop-down named "OpenJDK Java 6 Policy Tool". (See screenshot)
Upon cursory inspection of the code, it seems like the function _get_applicatio
This logic seems faulty. The "Java Policy Tool" is not a good description for that package, or for the group. It should use the description of openjdk-6-jre which is "OpenJDK Java runtime, using Hotspot JIT". Also, it's odd that the "Java Policy Tool" requires a 38MB update. That program is rarely used.
I don't have a suggestion on how to improve the algorithm itself to detect whether a desktop application provided by a package should be its description or not.
Changed in update-manager (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Confirmed with openjdk-7-jre on Vivid.