Upgrading openjdk overrides existing alternatives javac setting

Bug #426920 reported by Kevin Smith
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

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)
affects: update-manager (Ubuntu) → openjdk-6 (Ubuntu)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.