Bug#292451: java-package: ascending alternatives priorities

Ivan Nestlerode Ivan Nestlerode <nestler@speakeasy.net>, 292451@bugs.debian.org
Wed Jan 26 21:24:01 2005


Package: java-package
Version: 0.19
Severity: wishlist

It would be nice if the .deb packages generated by make-jpkg would set
different alternatives priorities depending on the version of the SDK/JRE
that is being installed.

For example, I have generated .deb packages for both the 1.3 and 1.4 Sun
SDKs and they are both installed.  Each of these packages installs alternatives
with priority of 200.

It would be more useful if the SDK with the higher version installed its
alternatives with a higher priority (say 200 for 1.3, 210 for 1.4, etc.).

This way this newest SDK would be the automatically chosen alternative (which
is a plausible setup).  Right now, achieving this setup requires manual
configuration of a dozen or so alternatives (since there is no consistent
winner when they both use priority of 200).

-Ivan

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages java-package depends on:
ii  debhelper                     4.2.30     helper programs for debian/rules
ii  fakeroot                      1.2.2      Gives a fake root environment

-- no debconf information