在 Ubuntu 16.10 上为 Firefox 安装 adobe-flashplugin

在 Ubuntu 16.10 上为 Firefox 安装 adobe-flashplugin

我正在尝试在 Ubuntu 16.10 上安装adobe-flashpluginFirefox。我使用了以下命令:

sudo apt-get install adobe-flashplugin

这会引发以下错误:

Err:0 http://archive.canonical.com/ubuntu maverick/partner i386 adobe-flashplugin i386 11.2.202.228-0maverick1
  Insufficient information available to perform this download securely
  Hashes of expected file:
   - SHA1:bff9666cc9f108ae59833a0f44c2499f0a0dd261 [weak]
   - MD5Sum:b92c92245c190c7dc9d4a9bb4bd780c3 [weak]
   - Checksum-FileSize:6591116 [weak]
Err:1 http://archive.canonical.com/ubuntu maverick/partner i386 adobe-flash-properties-gtk i386 11.2.202.228-0maverick1
  Insufficient information available to perform this download securely
  Hashes of expected file:
   - SHA1:5ea9ea111686652665cfca3aa1320b064c4f458f [weak]
   - MD5Sum:2ed1fadfb6a07c3ca8ba9b8f3c774edc [weak]
   - Checksum-FileSize:131074 [weak]
E: Failed to fetch http://archive.canonical.com/ubuntu/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.228-0maverick1_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - SHA1:bff9666cc9f108ae59833a0f44c2499f0a0dd261 [weak]
    - MD5Sum:b92c92245c190c7dc9d4a9bb4bd780c3 [weak]
    - Checksum-FileSize:6591116 [weak]
E: Failed to fetch http://archive.canonical.com/ubuntu/pool/partner/a/adobe-flashplugin/adobe-flash-properties-gtk_11.2.202.228-0maverick1_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - SHA1:5ea9ea111686652665cfca3aa1320b064c4f458f [weak]
    - MD5Sum:2ed1fadfb6a07c3ca8ba9b8f3c774edc [weak]
    - Checksum-FileSize:131074 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我怎样才能解决这个问题?

答案1

将此行添加到/etc/apt/sources.list

deb http://archive.canonical.com/ubuntu yakkety partner

然后运行

sudo apt update

答案2

看起来您正在从旧的存储库中提取数据。

软件和更新>其他软件。

然后删除旧的存储库:

http://archive.canonical.com/ubuntu maverick partner

然后启用“典型合作伙伴”存储库。

如果不存在,请单击添加并输入:

deb http://archive.canonical.com/ubuntu yakkety partner

接下来运行:

sudo apt-get install adobe-flashplugin

现在应该已安装 Flash Player。重新启动浏览器以使更改生效。

相关内容