On Sun, 04 Sep 2016, Cristian Ionescu-Idbohrn wrote:

> Did another experiment:
> 
>       # dpkg-reconfigure privoxy
>
> and hangs there.  No more questians asked.  The process table shows:
> 
>       root     25980  0.6  0.1  71172 22280 pts/12   S+   15:03   0:00      
> \_ /usr/bin/perl -w /usr/sbin/dpkg-reconfigure privoxy
>       root     26034  0.0  0.0      0     0 pts/12   Z+   15:03   0:00        
>   \_ [privoxy.postins] <defunct>

Okay, that's good, since it's an easier way to reproduce the issue :-)
In https://lists.debian.org/debian-mentors/2005/11/msg00067.html I
found a similar problem description.

So let's try the following: Please open 
/var/lib/dpkg/info/privoxy.postinst with an editor and add the command
dh_stop after the line rm -f $CONFIG.ucftmp:

--- privoxy.postinst.org        2016-08-27 22:28:32.000000000 +0200
+++ privoxy.postinst    2016-09-04 15:59:42.189145833 +0200
@@ -60,6 +60,7 @@
        ucf --three-way --debconf-ok $CONFIG.ucftmp $CONFIG
        ucfr privoxy $CONFIG
        rm -f $CONFIG.ucftmp
+       db_stop
 
        if [ "x$2" != "x" ] && dpkg --compare-versions "$2" lt "3.0.4"
        then

And let me know, whether this helps.
If it doesn't help, try to move the db_stop in 3 lines up above the
command ucf --three-way --debconf-ok $CONFIG.ucftmp $CONFIG

Greetings
Roland

Reply via email to