Is it possible to install the sun-java6-plugin from jaunty in intrepid?

H.S. hs.samix at
Wed Mar 11 20:49:04 UTC 2009

Chris G wrote:
> I have a need for the 'real' Sun Java6 plugin for my Firefox on
> Intrepid (xubuntu 8.10).  It's not yet available for Intrepid but
> there is a Jaunty (9.04) version.
> Can anyone tell me if I can get the Jaunty version installed in
> Intrepid, or can I do a manual install of the Sun JRE in Intrepid and
> get what I want?

The right way to install a package from a different distribution is to
use apt pinning method.

In this, you add the repo for the new distribution. In you case, you
will add the repo for Jaunty in your sources.list file. To do this, you
can either add the repo line manually to /etc/apt/sources.list or use
the GUI from Settings->Aministration->sources (or something similar menu).

Once you add the repo, then that repo will also be checked for upgrade.
However, you do not all upgrades from that but only one particular
package. Let us call this package foo.

Next, to tell your update manager to check the new repo only for foo,
you create an /etc/apt/preferences file. See an example here .

In the preferences file, you just specify a package that is to be pulled
from a particular distribution.

The following web page explains it all, with examples:

Let us know how it goes.
Good luck.


Please reply to this list only. I read this list on its corresponding
newsgroup on Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

More information about the ubuntu-users mailing list