I have recently installed Ubuntu 11.10 using wubi. I am now still in the process of installing my development environments. I have seen the following error occur multiple times.

For example, just now I wanted to install vim using the commmand sudo apt-get install vim. The following error is returned:

Fehler traten auf beim Bearbeiten von:  
("Errors were encountered while processing:" [via Google Translate])
  E: Sub-process /usr/bin/dpkg returned an error code (1)

The install seems to have completed and I can now use vim. Still, I would like to know what this error is and how I can fix it.


This error simply means flashplugin-installer didn't install correctly before, and you will need to reinstall it.


sudo apt-get remove --purge flashplugin-installer
sudo apt-get update
sudo apt-get install flashplugin-installer
| improve this answer | |

This flashplugin problem often happen when you are behind proxy. Right now, flashplugin-installer does not work if you are behind a proxy, bcause it tries to download it directly, not via the proxy. Even if you applied the settings systemwide.

My workaround is, the following:

Two things need to be done:

  • Edit your /etc/environment file and add the following line to it: HTTP_PROXY="http://your_proxy_addess:proxy_port"
  • Edit your sudoers file by sudo visudo (use the EDITOR environment variable to specify the editor if you don't like vi), and add the following line before the Defaults env_reset one: Defaults env_keep="http_proxy"

Now it should install fine, via sudo apt-get install --reinstall flashplugin-installer

If the update notifier bugs you on every startup, you may want to delete this file:


| improve this answer | |
  • update notifier was bugging me a lot with flash-plugin installer. thanks for the last hint :) – Prasad RD Mar 21 '14 at 3:37

I'm also behind proxy. Thank you Calmarius.

As root, I typed these lines in the terminal to get flashplugin installed:

  • export http_proxy=
  • apt-get install --reinstall flashplugin-installer
| improve this answer | |
  • I'm unsure about the answer I gave here. In one of the two machines I did that, flashplugin keeps prompting me to re-install. – polarbear347 Jul 31 '14 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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