1

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.

2
  • 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, 2013 at 9:52
  • Have you tried sudo apt-get update? Sep 18, 2016 at 23:53

2 Answers 2

1

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.

2
  • 1
    I have tryed what you told me to do, It doesnt work. It give me the following message
    – Sthabiso
    Feb 3, 2013 at 10:01
  • 1
    What is the "ubuntu software" tab? Is there a non-gui way to do this?
    – jozxyqk
    Nov 2, 2016 at 17:23
0

It sounds like your /etc/apt/sources.list file had something bad happen to it. I just had a similar problem. I had a fresh sources.list file lying around so I just copied that in place. There is a similar question here https://unix.stackexchange.com/questions/140119/every-package-has-no-installation-candidate. You could try using RepoGen like they suggest.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .