PDA

View Full Version : [ubuntu] Installing JRE on Ubuntu 10.04



talha099
March 30th, 2012, 12:54 PM
I am very new to Ubuntu. I am trying to install JRE on Ubuntu 10.04.

I add the partner repository using the following command:

sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”

However when I run:

sudo apt-get update

I get the following error:

E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)

Can someone please tell me what's going wrong? It'll be greatly appreciated. Thanks a lot!

Paddy Landau
March 30th, 2012, 03:55 PM
Remove that repository and instead add:
deb http://archive.canonical.com/ubuntu lucid partner

You can do this in the GUI, if you prefer: System > Administration > Software Sources.

cyiucsy
March 30th, 2012, 04:01 PM
I am not an expert on this but perhaps you can give us more details by posting your sources.list

Press Alt+F2 (Run Application), type:

gedit /etc/apt/sources.list
and press ENTER, then copy the contest of the sources.list file here. Hopefully then someone will be able to spot out the cause of the problem.

QIII
March 30th, 2012, 04:01 PM
That will, however, leave you with an old Java update with some security issues. Java 6 is now up to Update 31.

I'm on my cell phone on a train, so I can't give you the link. However, if you google the following terms you will find an excellent, well-explained tutorial for installing Update 31:


easy linux tips java

Oracle has withdrawn all Sun's previous license agreements and distributions are no longer allowed to maintain the Sun packages as part of their freely downloadable software.

talha099
March 30th, 2012, 11:43 PM
It worked.. thanks a lot!



That will, however, leave you with an old Java update with some security issues. Java 6 is now up to Update 31.

I'm on my cell phone on a train, so I can't give you the link. However, if you google the following terms you will find an excellent, well-explained tutorial for installing Update 31:


easy linux tips javaOracle has withdrawn all Sun's previous license agreements and distributions are no longer allowed to maintain the Sun packages as part of their freely downloadable software.

sammiev
March 31st, 2012, 12:13 AM
I suggest you try This (http://sites.google.com/site/easylinuxtipsproject/java). You need the latest version to help keep your computer protected.

Paddy Landau
March 31st, 2012, 10:36 AM
It worked.. thanks a lot!
Excellent. Please mark this thread as solved (https://wiki.ubuntu.com/UnansweredPostsTeam/SolvedThreads).