我有一个运行 Ubuntu 12.10 的 EC2 实例,我想在其上安装 Flash Player。但是,当我尝试按如下方式安装它时,我无法安装。关于我如何继续的一些提示?谢谢。
$ sudo apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package flashplugin-installer 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 'flashplugin-installer' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我还没有设置 VNC,所以我非常喜欢同样的 CLI 解决方案。
小智 3
您是否启用了足够的软件源?由于您想通过 CLI 安装 Flash,因此您必须编辑此处的sources.list /etc/apt/sources.list:。为此,您必须使用sudo合适的编辑器,例如nano 在备份原始文件后:
sudo nano /etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)
阅读https://help.ubuntu.com/community/Repositories/Ubuntu以确保包含您需要的源。例如:
deb http://archive.ubuntu.com/ubuntu quantal main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu quantal-updates main restricted multiverse universe
deb http://archive.canonical.com/ubuntu quantal partner
deb http://extras.ubuntu.com/ubuntu quantal main
Run Code Online (Sandbox Code Playgroud)
您可以在这里阅读更多信息: https: //help.ubuntu.com/community/Repositories/CommandLine
一旦您编辑了 resources.list 到您满意的程度,您将需要刷新内容并apt通过运行来了解更改
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
然后您应该能够安装 Flash Player
sudo apt-get install flashplugin-installer
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8904 次 |
| 最近记录: |