How to prevent Java updates. Twice, 6 mths apart, Java was upgraded "automatically" by some process breaking a vendor server application.

Asked by vaiRichard Sytsma

I have one UBUNTU server running a critical server application over a large WAN. Twice , 6 months apart, Java was updated unintentionally by some "automatic" process that we want stopped. Actually we want all packages "frozen" on the server. It works fine and the Java updates break our vendor's application.
I have little LINUX experience in this shop and only this one UBUNTU installation. This seems like an easy fix but someone ran a couple of commands they thought would stop updates the 1st time this happened and apparently missed something because it happened again, updating us to Java 1.6, and causing an outage.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1
Revision history for this message
François Tissandier (baloo) said :
#2

Open Synaptic (it's in System>Administration)
Look for Java, it should be "sun-java" something.
Then you can click on the "package" menu, and use the "lock version" option.

Can you help with this problem?

Provide an answer of your own, or ask vaiRichard Sytsma for more information if necessary.

To post a message you must log in.