PDA

View Full Version : [ubuntu] cant install sun java 6.0 plugin



cormac616
June 2nd, 2010, 09:58 PM
Ive tried to install sun java 6.0 plugin but its not showing an install icon on the software center.

Ive clicked on "more info" but it says: "To show information about this item, the software catalog needs updating"

Ive looked in the update manager but there are no updates.

http://i257.photobucket.com/albums/hh215/cormacmonty/Screenshot.png
Any help would be appreciated.

Brandon Williams
June 2nd, 2010, 10:06 PM
If you click on 'Canonical Partners' in the sidebar, do you get a listing of items that includes, among others, 'Sun Java 6.0 Plugin'?

Also, in a terminal, run this command 'grep partner /etc/apt/sources.list'. What does the output look like?

gandaran
June 2nd, 2010, 10:13 PM
the software catalog needs updating
this message means you have to reload synaptic not look for updates, just click the reload button.
make sure you have the archive.canonical repo enabled in software sources

cormac616
June 2nd, 2010, 10:13 PM
http://i257.photobucket.com/albums/hh215/cormacmonty/partner.png

Nope its not in canonical partners tab.

cormac616
June 2nd, 2010, 10:17 PM
just click the reload button.



Where's this? sorry, im fairly new to Ubuntu, and thanks everyone for your quick response and help!

gandaran
June 2nd, 2010, 10:21 PM
Where's this? sorry, im fairly new to Ubuntu, and thanks everyone for your quick response and help!
open synaptic package manager, see the button top left corner

cormac616
June 2nd, 2010, 10:31 PM
Nope still cant install after reloading it, the software sources seem correct?

http://i257.photobucket.com/albums/hh215/cormacmonty/Screenshot-1.png

gandaran
June 2nd, 2010, 10:37 PM
try installing using apt-get and post all the errors
sudo apt-get install sun-java6-plugin

_Mark_
June 2nd, 2010, 10:41 PM
Went through this last night myself, open a terminal

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
change lucid to whatever version you are running

Then

sudo apt-get update && sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin sun-java6-fonts

That should be all the java you need

cormac616
June 2nd, 2010, 10:41 PM
http://i257.photobucket.com/albums/hh215/cormacmonty/Screenshot-2.png

_Mark_
June 2nd, 2010, 10:45 PM
close the software centre and/or synaptic

gandaran
June 2nd, 2010, 10:46 PM
looks like some kind of problem not sure what but use synaptic to fix it, open synaptic and click the filters tab, check for any problem there like broken packages

_Mark_
June 2nd, 2010, 10:49 PM
He is getting that error because he has either the software centre and /or synaptic open when trying to apt-get in the terminal, thats all

gandaran
June 2nd, 2010, 10:57 PM
He is getting that error because he has either the software centre and /or synaptic open when trying to apt-get in the terminal, thats all
yes that's right, I should have known that!
he will have to close both to install using apt-get or keep one open and use it to install

cormac616
June 2nd, 2010, 11:01 PM
Ahh thanks so much guys, got it working through Mark's method,

Thank you all so much!

rmckee
June 3rd, 2010, 02:35 AM
i am new to ubuntu and i am tring to frostwire to work can someone help me please

AliceKingsley
September 6th, 2010, 10:40 PM
Went through this last night myself, open a terminal

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
change lucid to whatever version you are running

Then

sudo apt-get update && sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin sun-java6-fonts

That should be all the java you need

Just wanted to give a huge thank you. I've been trying to get this to work for days.

_Mark_
September 6th, 2010, 11:33 PM
Just wanted to give a huge thank you. I've been trying to get this to work for days.

Your welcome

:D

Muzicman16
September 12th, 2010, 05:35 AM
Hey guys. . .im having the same problem, ran the code like you said and it worked. but java still says my java is out of date (only version 6, update 18)

now, when the second command finished it gave me some error saying that not all the repositories could be updated and so they were either skipped or used an older version. that was fine because it let me install the java runtime. so now i just tried running the update manager to see if that would give me the current version of java and it gave me the same error and doesnt show any updates. Any ideas?

oh and one thing that i didnt do was change lucid to anything the first time, but then tried lucid lynx the second time (not sure if that makes a diffrence or what exactly you were asking me to change it to. would it be 10.04 lucid lynx?

exact error: "The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct."
And in update manager after that it says: "Failed to fetch http://archive.canonical.com/dists/lucid/Release Unable to find expected entry linx/binary-i386/Packages in Meta-index file (malformed Release file?)
Some index files failed to download, they have been ignored, or old ones used instead."

Muzicman16
September 15th, 2010, 07:25 PM
help anyone?