我无法在我的 Ubuntu 上安装 Pepperflashplugin-nonfree :
$ sudo apt install pepperflashplugin-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ttf-dejavu ttf-xfree86-nonfree
The following NEW packages will be installed:
pepperflashplugin-nonfree
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/11,1 kB of archives.
After this operation, 70,7 kB of additional disk space will be used.
Selecting previously unselected package pepperflashplugin-nonfree.
(Reading database ... 603638 files and directories currently installed.)
Preparing to unpack .../pepperflashplugin-nonfree_1.7ubuntu1_amd64.deb ...
Unpacking pepperflashplugin-nonfree (1.7ubuntu1) ...
Setting up pepperflashplugin-nonfree (1.7ubuntu1) ...
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
Run Code Online (Sandbox Code Playgroud)
我添加了缺少的键:
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1397BC53640DB551
gpg: requesting key 640DB551 from hkp server keyserver.ubuntu.com
gpg: key D38B4796: public key "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Run Code Online (Sandbox Code Playgroud)
我仍然收到相同的消息:
sudo dpkg-reconfigure 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
Run Code Online (Sandbox Code Playgroud)
你能帮我吗 ?
小智 16
Pepperflashplugin-nonfree 在/usr/lib/pepperflashplugin-nonfree/pubkey-google.txt. 在使用新密钥更新包之前,您可以通过执行在本地添加密钥
gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551
gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'
Run Code Online (Sandbox Code Playgroud)
重要的是将新密钥附加到文件 (">>"),旧密钥仍然需要。
在此之后,您可以安装pepperflashplugin
sudo update-pepperflashplugin-nonfree --install
Run Code Online (Sandbox Code Playgroud)
该文件将在包更新时被覆盖,因此如果维护者没有添加新密钥,您可能需要在更新后再次执行此操作(在这种情况下,当新版本正在更新时,您将再次收到相同的错误消息安装)。
小智 -1
你必须使用:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1397BC53640DB551
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11921 次 |
| 最近记录: |