由於代理無法安裝 flash 插件

由於代理無法安裝 flash 插件

昨天我從 Ubuntu 11.10 升級到 Ubuntu 12.04(64 位元)。升級很順利(遠遠超出我的預期)。不幸的是,我似乎無法在 Firefox 或 Chrome 中安裝 flash 插件。

chrome://plugins

不顯示閃光。我試過

19:17farhat ~$ sudo apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
flashplugin-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

然而,我似乎無法在系統上找到與快閃記憶體相關的任何內容。

19:17farhat ~$ sudo updatedb
[sudo] password for farhat: 
19:17farhat ~$ locate libflashplayer.so
19:17farhat ~$ locate libflashplayer
19:17farhat ~$ locate libflash
/usr/lib/libreoffice/program/libflashlo.so
19:17farhat ~$ 

我已經知道我所知道的一切了。任何幫助將不勝感激。我已嘗試刪除並重新安裝該軟體包。結果還是一樣。

答案1

實際上,Farhat 在評論中提供了解決方案。這是分步說明。

  1. sudo su
  2. export http_proxy="http://address.to.my.proxy/"
  3. apt-get remove flashplugin-installer
  4. apt-get install flashplugin-installer

答案2

透過 Dash 開啟終端機(Dash 然後輸入終端,按一下它)。然後輸入以下兩個命令:

sudo mkdir /opt/google/chrome/plugins
sudo ln -s /usr/lib/flashplugin-installer/libflashplayer.so /opt/google/chrome/plugins

重新啟動鉻

當 sudo 提示輸入密碼時,請輸入密碼,它不會顯示,因此請記住您輸入的內容。

答案3

Chrome使用自己內建的Flash版本,所以我不知道為什麼它不起作用。至於其他程序,請嘗試重新安裝flashplugin-installer

  • sudo apt-get remove flashplugin-installer
  • sudo apt-get install flashplugin-installer

也許更新破壞或刪除了一些檔案。

答案4

您是否安裝了名為 ubuntu-restricted-extras 的軟體套件?您可以在軟體中心執行此操作,或者,如果您喜歡使用命令列,則可以運行

sudo apt-get update 

其次是

sudo apt-get install ubuntu-restricted-extras

相關內容