java JRE upgrade 10 does not work

Derek Broughton news at
Wed Jan 24 00:21:44 UTC 2007

Peter Garrett wrote:

> On Tue, 23 Jan 2007 13:43:11 -0400
> Derek Broughton <news at> 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 feisty main restricted universe
>  multiverse
> Then do the update, install, then comment that line out , update again

Well, sure (and, in fact, you only need multiverse), but it's not any easier
than changing _all_ edgy to feisty - faster, though, since it wouldn't hit
as many new package files on the update.

> after the java install ( not forgetting  update-alternatives --config java
> )

Not necessary - it's part of the install.

>  - 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

That's not a complete runtime - you need sun-java?-jre.  The bin package is
just the native code.  Damn, I forgot the 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.

Yeah, I should probably have mentioned that...  libc6 changes are annoying
enough _within_ a release (I've taken to removing libc6-i686 before any
upgrade that changes libc6, then reinstalling it - otherwise I routinely
find myself unable to run anything).  

More information about the ubuntu-users mailing list