ubuntu 14.04 chrome 安装flash问题
2016-05-19 13:09
387 查看
原因
Ubuntu14.04下,除了Chromium未能支持Flash播放器的安装外,其余像Firefox, Chrome浏览器都支持Flash播放器的安装。从14.04起,Chromium 不再使用 Netscape插件API ,导致原本的 Flash Player 将无法在 Chromium 运行.
要解决这个问题,就需要用Pepper Flash Player。它是一个来自于Google的安全稳定的版本。它已经包含在了Ubuntu 软件仓库中。安装它需要下载Chrome,并从中解压出它。
主要步骤:
sudo apt-get install pepperflashplugin-nonfree sudo update-pepperflashplugin-nonfree --install 安装 sudo update-pepperflashplugin-nonfree --uninstall 卸载
问题
sudo apt-get install pepperflashplugin-nonfree 出现以下问题: ERROR: failed to retrieve status information from google : W: There is no public key available for the following key IDs: 1397BC53640DB551 More information might be available at: http://wiki.debian.org/PepperFlashPlayer
解决方法
http://unix.stackexchange.com/questions/279825/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-gopepperflashplugin-nonfree has its own key stash in /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt. Until the package is updated with the new key, you can add the key locally by executing
gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551 gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt' sudo update-pepperflashplugin-nonfree --install
It is important that the new key is appended to the file (“>>”), the old key is still needed.
After this you can install the pepperflashplugin with
sudo update-pepperflashplugin-nonfree –install
The file will be overwritten when the package is updated, so you might have to do this again after an update if the maintainer hasn’t added the new key (in this case you will get the same error message again when the new version is being installed).
如果/usr/lib/pepperflashplugin-nofree不存在,则:
sudo apt-get update
sudo apt-get install chromium-browser
gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551 gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt' sudo update-pepperflashplugin-nonfree --install
结果
chrome中输入:chrome://plugins
相关文章推荐
- CDC不同模式在ODI中体现系列之一 同步模式
- mybatis "There is no getter for property named 'xx' in 'class java.lang.String"问题
- Anroid端通过HttpClient连接Web端
- NodeMCU介绍
- HTML基础总结二
- 打开SDKManager提示failed to execute tools\android.bat
- MFC-注册热键
- arcgis 10.1 32位desktop在服务器上安装oracle客户端和服务器端,plsql连接不上问题解决2
- Android ORM 框架之 greenDAO 使用
- 完全备份、差异备份以及增量备份的区别
- Slick.js+Animate.css 结合让网页炫动起来
- 实现线程同步的几种方式
- 2016年北京中国云计算技术大会会后感
- Android学习笔记二十七:连接Wifi
- ffmpeg-20160517-git-bin-v2
- javascript confirm()函数的用法
- Google IO 2016 首日热点
- 计算两个非负整数的最大公约数
- 列表
- JAVA设计模式(16):行为型-策略模式(Strategy)