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

Chris G cl at isbd.net
Thu Mar 12 09:17:06 UTC 2009


On Wed, Mar 11, 2009 at 04:49:04PM -0400, H.S. wrote:
> 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
> https://help.ubuntu.com/community/PinningHowto .
> 
> 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:
> http://jaqque.sbih.org/kplug/apt-pinning.html
> 
Aha, thank you, that's *exactly* what I was asking for.  In fact it's
*brilliant* thank you very much indeed.

-- 
Chris Green




More information about the ubuntu-users mailing list