Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Please help, I cannot install any software. If I try to install google chrome, this what I get

sthabiso@sthabiso-R519-R719:~$ sudo apt-get install libcurl3 libnspr4-0d libxss1[sudo] password for sthabiso: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libxss1 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

Package libnspr4-0d 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
However the following packages replace it:
  libnspr4

E: Package 'libnspr4-0d' has no installation candidate
E: Package 'libxss1' has no installation candidate

sthabiso@sthabiso-R519-R719:~$ 

If I install light spark, I get the following

sthabiso@sthabiso-R519-R719:~$ sudo apt-get install lightspark browser-plugin-lightspark
[sudo] password for sthabiso: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package browser-plugin-lightspark 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

Package lightspark 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 'lightspark' has no installation candidate
E: Package 'browser-plugin-lightspark' has no installation candidate

If I install Gnash

sthabiso@sthabiso-R519-R719:~$ sudo apt-get install gnash mozilla-plugin-gnash
[sudo] password for sthabiso: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gnash 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

Package mozilla-plugin-gnash 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 'gnash' has no installation candidate
E: Package 'mozilla-plugin-gnash' has no installation candidate

I cannot do anything,Please help me.

share|improve this question
1  
Google Chrome is not in the software sources so of course you can't install it! If the program isn't in the software sources then the installer wont find them and this will happen! –  Alvar Feb 3 '13 at 9:52
add comment

1 Answer

You have to enable the following software sources:

  1. in "Ubuntu Software" tab:
    • main
    • universe
    • restricted
    • multiverse
  2. in "Other software" tab:
    • Canonical partner (both binary and source);
    • independent (both binary and source).

Once you've done all this, open a Terminal window with CTRL-ALT-T and give the following command:

    sudo apt-get update -y

Now you should be able to install your desired software.

share|improve this answer
    
I have tryed what you told me to do, It doesnt work. It give me the following message –  Sthabiso Feb 3 '13 at 10:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.