Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
@me:/home$ sudo apt-get install polipo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 198 kB of archives.
After this operation, 799 kB of additional disk space will be used.
Get:1 precise/universe polipo amd64 [198 kB]
    Fetched 198 kB in 2s (97.5 kB/s)                        
    Selecting previously unselected package polipo.
    (Reading database ... 169595 files and directories currently installed.)
Unpacking polipo (from .../polipo_1.0.4.1-1.1_amd64.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for ureadahead ...
Setting up polipo ( ...
Starting polipo: Couldn't open config file /etc/polipo/config: 2.
invoke-rc.d: initscript polipo, action "start" failed.
****dpkg: error processing polipo (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)****
share|improve this question

The problem might with your config file. I would recommend you to back the original config file /etc/polipo/config and download the config file provided by torbrowser.

Here is the steps

sudo mv /etc/polipo/config /etc/polipo/config.orig
sudo wget \
-O /etc/polipo/config

Now try to rerun the command

sudo apt-get install polipo

Hope this helps

share|improve this answer
i did not change the original config file .. the only steps i did are : 1- apt-get install tor ( and its working very well ) 2- and when i install Polipo its giving me this error is its start dpkg ? – ICXC Oct 15 '12 at 6:27
Yeah I understood. Backup the /etc/polipo/config file and follow the steps I mentioned. – devav2 Oct 15 '12 at 6:39
its giving me Starting polipo: /etc/polipo/config:1: parse error. /etc/polipo/config:2: parse error. p – ICXC Oct 15 '12 at 6:58
please i need help !~ – ICXC Oct 15 '12 at 7:17
Do the following sudo mv /etc/polipo/config /etc/polipo/config.orig and then sudo wget‌​c63a84d874:/build-scripts/config/polipo.conf \ -O /etc/polipo/config after these two steps now do the installation once again. sudo apt-get install polipo – devav2 Oct 15 '12 at 7:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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