LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   E: Package sun-java6-fonts has no installation candidate (http://www.linuxquestions.org/questions/ubuntu-63/e-package-sun-java6-fonts-has-no-installation-candidate-824016/)

oznola 08-04-2010 12:24 AM

E: Package sun-java6-fonts has no installation candidate
 
hi,

i have started a thread on the ubuntu forum here http://ubuntuforums.org/showthread.php?t=1545466 that describes the problem using their sticky thread on how to get multimedia going.

this is the sticky thread howto for enabling multimedia http://ubuntuforums.org/showthread.php?t=766683

i get the following error when i try to run the second step of their sticky thread for activating multimedia with a fresh install of 10.04 and none of the proposed solutions have worked.

Quote:

oem@oem-laptop:~$ sudo apt-get remove gnash gnash-common libflashsupport mozilla-plugin-gnash swfdec-mozilla && sudo apt-get install alsa-oss faac faad flashplugin-nonfree gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-pitfdll libmp3lame0 non-free-codecs sun-java6-fonts sun-java6-jre sun-java6-plugin unrar
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gnash is not installed, so not removed
Package gnash-common is not installed, so not removed
Package libflashsupport is not installed, so not removed
Package mozilla-plugin-gnash is not installed, so not removed
Package swfdec-mozilla is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-fonts is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-fonts has no installation candidate
oem@oem-laptop:~$

please advise.

thank you. :hattip:

paulsm4 08-04-2010 01:41 AM

Hi -

I did a "Google" on the error message, and came up with this Sun bug:

https://bugs.launchpad.net/sun-java/+bug/104512

with this Ubuntu 10.x solution:

enable the "partner" repository in SYstem -> Administration -> SOftware SOurces

http://groups.google.com/group/ec2ub...331c76c1df90dc

'Hope that helps .. PSM

oznola 08-04-2010 02:49 AM

thank you paulsm4.

i had installed 9.10 first because it offered an oem install option. i have worked around the problem by changing Software Sources>Other Software>http://archive.canonical.com/ubuntu to "lucid" in the Distribution field using the Edit feature in the Software Sources dialog after selecting the "partner" repository as previously advised.

previously the distribution field contained "karmic" perhaps this was some artifact from the upgrade that was not handled properly?

thank you for your help.

:jawa:


All times are GMT -5. The time now is 10:33 AM.