can an update over write java in /usr

C de-Avillez hggdh2 at ubuntu.com
Tue Feb 8 14:07:27 UTC 2011


On 02/08/2011 05:25 AM, Tapas Mishra wrote:
> I observed that
> 	One week before the
> 	JAVA_HOME was /usr/lib/jvm/java-6-sun-1.6.0.20
> 
> 	While today in the process of debugging this problem I notice that
> there is no such 	directory
> 
> 	/usr/lib/jvm/java-6-sun-1.6.0.20
> 	where as this did existed before doing any apt-get update
> 
> 	Seems any update of Ubuntu has over written this.(Not sure of this though)

You can look at /var/log/apt. One interesting file there is the
history.log, showing what was done, and when. The term.log shows
what happened on each apt-get run.

> 
> So is it possible that if a new version of Java is available in some
> update it over writes my installation.

Yes, it is -- both possible and probable, if any such update was
available. But you can pin a package to a certain version.

> If that being the case how can I go back to the previous version it
> does not exist there any more.

Perhaps on the original install CD? Another option is to rebuild it.
But it will take a while, Java is a monster.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110208/bafbb09f/attachment.sig>


More information about the ubuntu-users mailing list