where is multiverse repository

Asked by Sean

Im looking for multiverse repository in order to instal javascript

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Spanjaard
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

How to install Java

To install sun-java6
Be sure all software sources are selected under menu: System->Administration->Software source: Ubuntu software

Then open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get update
sudo apt-get upgrade
sudo aptitude install sun-java6-jre

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Always useful is the online Ubuntu doc https://help.ubuntu.com/8.04/
Hope this helps

Revision history for this message
Robert Spanjaard (spamtrap-arumes) said :
#2

Go to System / Administration / Software Sources, and put a checkmark in front of "Software restricted by copyright or legal issues (multiverse)".

Note that is this only needed for Java, not for Javascript. These are two different things. Webbrowsers like Firefox support Javascript without plugins.

Revision history for this message
Sean (mareshah) said :
#3

I followed instructions sudo etc etc and thing went brilliantly. The download was proceeding and when I returned to see had it downloaded it had and what was on the screen was the licence agreement. I pressed "OK" to proceed and it was frozen. I decided to start again and it said after ..sudo apt-get update that I had to manually run dpkg --configure -a
I do not know how to do this... HELP!... and thanks to you all for all your help
John

Revision history for this message
Robert Spanjaard (spamtrap-arumes) said :
#4

Well, just do what the system tells you to do. :-)

   sudo dpkg --configure -a

Revision history for this message
Sean (mareshah) said :
#5

having come to the same place as before licence agreement on screen ..unable to press" OK" and continue........so trying again..I get

 sudo apt-get update
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016) gutsy/main Translation-en_IE
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016) gutsy/restricted Translation-en_IE
Get:1 http://archive.canonical.com gutsy Release.gpg [191B]
Ign http://archive.canonical.com gutsy/partner Translation-en_IE
Get:2 http://archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy/multiverse Translation-en_IE
Hit http://archive.canonical.com gutsy Release
Ign http://archive.ubuntu.com gutsy/main Translation-en_IE
Ign http://archive.ubuntu.com gutsy/universe Translation-en_IE
Ign http://archive.ubuntu.com gutsy/restricted Translation-en_IE
Hit http://archive.ubuntu.com gutsy Release
Hit http://archive.canonical.com gutsy/partner Packages
Hit http://archive.ubuntu.com gutsy/multiverse Packages
Hit http://archive.canonical.com gutsy/partner Sources
Hit http://archive.ubuntu.com gutsy/main Packages
Hit http://archive.ubuntu.com gutsy/universe Packages
Hit http://archive.ubuntu.com gutsy/restricted Packages
Hit http://archive.ubuntu.com gutsy/universe Sources
Hit http://archive.ubuntu.com gutsy/main Sources
Hit http://archive.ubuntu.com gutsy/multiverse Sources
Hit http://archive.ubuntu.com gutsy/restricted Sources
Fetched 2B in 1s (2B/s)
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
abraham@abraham -laptop:~$ sudo apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
abraham@abraham -laptop:~$ sudo aptitude install sun-java-jre
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Revision history for this message
Robert Spanjaard (spamtrap-arumes) said :
#6

Do you have another package manager open? Like Synaptic, or automatic updates running in the background?

Revision history for this message
Sean (mareshah) said :
#7

I found my way in through clicking on un met dependencies icon on desktop toolbar and was able to install sun java etc and found it possible to download and install latest edition hardy heron successfully.Problem there was a moment where it said something had crashed in the system previously. Also in successfully getting Hardy heron I now have the problem of reconnecting to wireless networking again having only got it right the day before yesterday.

Revision history for this message
Best Robert Spanjaard (spamtrap-arumes) said :
#8

In case you didn't realize it yourself: that is a "yes" to my question. The icon in the toolbar was from a package manager. :-)

If you can't solve the wireless issue, I'd advise you to open a new question (after researching what's already available) to keep these topics separated.
Don't forget to close this question (set its status to Solved) so everybody knows it's finished.

I hope Hardy Heron will be as pleasing for you as it is for me. :-)

Revision history for this message
Sean (mareshah) said :
#9

thanks for your help
John