12.04 LTS flashplugin-installer问题

当我安装flashplugin我有问题:

flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.235.orig.tar.gz Traceback (most recent call last): File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests dest_file = urllib.urlretrieve(files[i])[0] File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File "/usr/lib/python2.7/urllib.py", line 239, in retrieve fp = self.open(url, data) File "/usr/lib/python2.7/urllib.py", line 207, in open return getattr(self, name)(url) File "/usr/lib/python2.7/urllib.py", line 344, in open_http h.endheaders(data) File "/usr/lib/python2.7/httplib.py", line 954, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 814, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 776, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 757, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err IOError: [Errno socket error] [Errno 113] No route to host ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe Traceback (most recent call last): File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests dest_file = urllib.urlretrieve(files[i])[0] File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File "/usr/lib/python2.7/urllib.py", line 239, in retrieve fp = self.open(url, data) File "/usr/lib/python2.7/urllib.py", line 207, in open return getattr(self, name)(url) File "/usr/lib/python2.7/urllib.py", line 344, in open_http h.endheaders(data) File "/usr/lib/python2.7/httplib.py", line 954, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 814, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 776, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 757, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err IOError: [Errno socket error] [Errno 113] No route to host Konfigurowanie flashplugin-installer (11.2.202.235ubuntu0.12.04.1) ... 

我在Ubuntu 12.04中安装flashplugin-installerflashplugin-installer同样的问题。 我已修复此错误:

  1. /etc/environment/etc/wgetrc添加正确的代理
  2. /etc/sudoers添加以下行:
    • Defaults env_keep="http_proxy"
  3. 安装以下内容:
    • sudo apt-get install policykit-1
    • sudo apt-get install ttf-mscorefonts-installer
    • sudo apt-get --reinstall install flashplugin-installer

现在问题解决了。

“无主机路由”是网络连接问题。

你有互联网连接吗?

您可能想要检查:

  • 你能从同一台PC上ping主机( archive.canonical.comdownloads.sourceforge.net )吗?
  • 您是否有阻止访问这些网站的防火墙或其他网络设置?
  • 您是否依赖代理服务器来访问您在浏览器和APT中配置的Web,但是Python / update-notifier没有提升? 如果是这样, 这个错误报告在12.04可能会有所帮助。 基本上问题是这两个软件包的安装程序需要访问Web才能下载数据,但是sudo没有将它们传递给您的系统代理设置(APT以不同的方式获取代理设置,因此不受影响)。