can an update over write java in /usr
Tapas Mishra
mightydreams at gmail.com
Tue Feb 8 14:17:10 UTC 2011
On Tue, Feb 8, 2011 at 7:37 PM, C de-Avillez <hggdh2 at ubuntu.com> wrote:
> 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.
>
Many thanks for this message I really did not knew where to look for
in such a situation this thread goes to my book marks list.
>> 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.
How can restrict a package to not getting updated.
>> 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.
>
>
>
--
http://mightydreams.blogspot.com
More information about the ubuntu-users
mailing list