Upgrading openjdk overrides existing alternatives javac setting

Bug #426920 reported by Kevin Smith on 2009-09-09
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)

Bug Description

Binary package hint: update-manager

When update-manager upgrades some package (I think is it openjdk), my existing /etc/alternatives javac setting gets replaced with the default. This means suddenly my system is running java apps using openjdk instead of sun's java. It should respect and preserve the alternatives setting, or at the very minimum, should warn me that it is changing this important setting. This has hit me several times over the last year or two.

Apologies if this is not actually an update-manager problem. I reported it here since this is the app that is running when the problem happens.

Running Ubuntu 9.04, update-manager 1:0.111.9

Michael Vogt (mvo) on 2009-09-14
affects: update-manager (Ubuntu) → openjdk-6 (Ubuntu)
Matthias Klose (doko) wrote :

the alternatives are only set at configure time. if they are set to automatic mode, then manually configured alternatives should not be changed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers