我无法安装我想要的软件!

请帮忙,我无法安装任何软件。 如果我尝试安装谷歌浏览器,这就是我得到的

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:~$ 

如果我安装了轻微火花,我会得到以下结果

 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 

如果我安装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 

我什么都做不了,请帮帮我。

您必须启用以下软件源:

  1. 在“Ubuntu软件”选项卡中:
    • 主要
    • 宇宙
    • 限制
    • 多重宇宙
  2. 在“其他软件”选项卡中:
    • Canonical合作伙伴(二进制和源代码);
    • 独立的(二进制和源)。

完成所有这些后,使用CTRL-ALT-T打开终端窗口并提供以下命令:

  sudo apt-get update -y 

现在您应该能够安装所需的软件。

听起来你的/etc/apt/sources.list文件发生了一些不好的事情。 我刚遇到类似的问题。 我有一个新的sources.list文件,所以我只是将其复制到位。 这里有一个类似的问题https://unix.stackexchange.com/questions/140119/every-package-has-no-installation-candidate 。 您可以像他们建议的那样尝试使用RepoGen 。