安装主包后如何安装建议包?

安装主包后如何安装建议包?

我刚刚安装了 chromium-browser,安装列出了一些建议安装的软件包,然后我继续安装并完成了。

$ sudo apt-get install chromium-browser
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 The following extra packages will be installed:
   chromium-browser-l10n chromium-codecs-ffmpeg-extra
 Suggested packages:
   webaccounts-chromium-extension unity-chromium-extension chromiumflashplugin

然后我决定安装上面安装进度中列出的建议软件包,但出现错误:

$ sudo apt-get install chromiumflashplugin
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 Package chromiumflashplugin 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 'chromiumflashplugin' has no installation candidate

我也尝试按照以下命令:

$ sudo apt-get -o APT::Install-Suggests="true" install chromium-browser

 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 chromium-browser is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 364 not upgraded.

我该如何安装这个包?如果只能从其他来源获得,为什么安装会提示这个?

答案1

为什么?


开发人员是人,也是懒惰的。他们不会为 DEB 文件的每个版本/发行版/软件包列表创建单独的软件包清单,而是只使用一个主清单。建议的软件包是此开发人员声明的清单的一部分。他们只是太懒和/或工作过度而无法更新它。

该软件包已从另一个存储库中删除,因此实际上不再存在,但清单仍会调用它。请安装类似/替代软件包。

如何?


就您而言,您正在尝试安装 Flash。运行并重新启动浏览器:

sudo apt-get install flashplugin-installer 

答案2

您可以安装pepperflashplugin-nonfree包。它是来自 Chrome 的 Flash 插件。

实际上,它会下载 Chrome 浏览器并仅从libpepflashplayer.so中提取。

相关内容