Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I install flashplugin i have problem :

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) ...
share|improve this question
    
Are you using a proxy? –  Braiam Jul 25 '13 at 8:47
    
By below comments and answers this obviously is a bug. Report here bugs.launchpad.net/ubuntu/+source/sudo/+bug/982684 –  Braiam Aug 2 '13 at 3:27
add comment

closed as off-topic by Eric Carvalho, Jorge Castro, raaz, Seth, Radu Rădeanu Aug 3 '13 at 5:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports and problems with the development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – Eric Carvalho, Jorge Castro, raaz, Seth, Radu Rădeanu
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

I have the same problem with the installation of flashplugin-installer in Ubuntu 12.04. I have fixed this bug by:

  1. Adding the correct proxy in /etc/environment and /etc/wgetrc
  2. Adding the following line in /etc/sudoers:
    • Defaults env_keep="http_proxy"
  3. By installing the following:
    • sudo apt-get install policykit-1
    • sudo apt-get install ttf-mscorefonts-installer
    • sudo apt-get --reinstall install flashplugin-installer

And now the problem is solved.

share|improve this answer
add comment

"No route to host" is a network connectivity problem.

Do you have an otherwise working internet connection?

You may want to check:

  • Can you ping either host (archive.canonical.com or downloads.sourceforge.net) from the same PC?
  • Do you have any firewall or other network setup that could be blocking access to these sites?
  • Do you rely on a proxy server to access the web that you may have configured in your browser and in APT, but that Python/update-notifier is not picking up? If so, this bug report may be helpful in 12.04. Essentially the problem is that the installer for these two packages require access to the web to download data, but sudo is not passing them your system proxy settings (APT gets it proxy settings a different way so is unaffected).
share|improve this answer
    
I haven't any internet connection problems. I use proxy and everthing working properly. –  Mcgr3g0r May 22 '12 at 6:46
    
Then my third dot point is relevant to you. Python is not picking up your proxy settings. The installer for these two packages (flashplugin-installer and ttf-mscorefonts-installer) need to download files from web sites in order to install. They do this with Python scripts. –  neon_overload May 22 '12 at 7:26
    
This bug report may be helpful or relevant here: bugs.launchpad.net/ubuntu/+source/sudo/+bug/982684 - essentially the problem is that the installer for these two packages flashplugin-installer and ttf-mscorefonts-installer require access to the web, but sudo is unable to pass them proxy settings (APT gets it proxy settings a different way so is unaffected). –  neon_overload May 22 '12 at 7:59
    
Just to add to this answer. The workaround from the bug report is to use "sudo -i apt-get install" to install this package until the bug is fixed. –  Jon7 Jun 1 '12 at 23:14
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.