java JRE upgrade 10 does not work

Peter Garrett peter.garrett at optusnet.com.au
Tue Jan 23 19:53:53 UTC 2007


On Tue, 23 Jan 2007 13:43:11 -0400
Derek Broughton <news at pointerstop.ca> wrote:

> > So much easier just to fetch the 1.6 package from Feisty!
> 
> which, fwiw, I just did:
> 
> - change "edgy" to "feisty" in /etc/apt/sources.list
> - sudo aptitude update
> - sudo aptitude install sun-java6-jdk
> (or you could just install sun-java5-jdk which would replace your existing
> one with update 10)
> - change "feisty" to "edgy" in /etc/apt/sources.list
> - sudo aptitude update
> 

Actually, all you need to do is add a "feisty" line like
 deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse

Then do the update, install, then comment that line out , update again
after the java install ( not forgetting  update-alternatives --config java ) 
 - but I guess the method you used is just as easy
with auto-replace in your editor of choice. Personally I only wanted the
runtime and plugin so I installed sun-java6-bin and sun-java6-plugin

Caveat: this is safe enough with java, but not advisable for other
packages that might do something unpleasant, like try to change your libc6
version etc. 

Peter




More information about the ubuntu-users mailing list