I've pushed a proposed fix in bzr (linked above) which I think is the
right fix for a more general problem, namely that there's other metadata
already available that should tell us which packages are preferred, but
we're not using it.

This change adds sorting the package by archive component (including
both the known Debian and Ubuntu components in the list, with all other
components sorted last).

To further improve the sort order, I think we should also sort by
package priority - which requires storing that information in the
database for all packages.  The priority data in the Ubuntu archive is
more or less unmaintained at present, I think, but it /can/ be fixed up
if there's a use case, and I think that's a better choice than carrying
overrides around in the command-not-found package itself.

-- 
openjdk-6-jdk should be the default/priority for javac
https://bugs.launchpad.net/bugs/318442
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to