我的 Adobe Flash 插件在 Ubuntu 12.04 上停止工作。我看不到任何视频。当我尝试再次安装它时,我的终端上出现了以下内容:
root@ubuntu:/home/salty# sudo apt-get install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package adobe-flashplugin 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 'adobe-flashplugin' has no installation candidate
root@ubuntu:/home/salty#
我现在应该怎么做?
答案1
使用文本编辑器打开文件/etc/apt/sources.list
。取消注释(删除前面的 #):
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
在 Ubuntu 16.04 中,这个有效:
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
在终端中运行
sudo apt-get update
sudo apt-get install adobe-flashplugin
答案2
flash插件安装步骤
步骤 1:在 sources.list 中添加以下行(sudo nano /etc/apt/sources.list)
deb http://security.ubuntu.com/ubuntu lucid-security main multiverse
第 2 步:更新 apt-get
sudo apt-get update
步骤 3:安装 flash 插件
sudo apt-get install flashplugin-installer
答案3
进入
sudo apt-get update && sudo apt-get ugrade && sudo apt-get install flashplugin-installer
此后,您的浏览器就应该能运行 Flash。
请不要根!从您的普通用户帐户执行给出的命令。
答案4
在 Ubuntu 16.04 中这对我有用:
$ sudo vi /etc/apt/sources.list
48 deb http://archive.canonical.com/ubuntu xenial partner
49 deb-src http://archive.canonical.com/ubuntu xenial partner
$ sudo apt-get update
$ sudo apt-get install adobe-flashplugin