Hi Cristian!
On Thu, 01 Sep 2016, Cristian Ionescu-Idbohrn wrote:
In the meantime I did some testing with debconf configured with
readline mode. Except that this is not as fluent to handle as the
dialog frontend, everything works correct. But usually I'm asked
during the upgrade, whether I want to keep the old version, use the
maintainers version, show diffs or want to merge them.
I'm a little surprised, that you aren't asked for input, while the
debonf frontend is running on your system...
> ,----
> | Noticed that after migration to testin/stretch privoxy is taking with
> | it even this problem. To reiterate...
> |
> | # apt-get install privoxy
> | ...
> | Preparing to unpack .../privoxy_3.0.25-2_amd64.deb ...
> | [ ok ] Stopping filtering proxy server: privoxy.
> | Unpacking privoxy (3.0.25-2) over (3.0.25-1) ...
> | Processing triggers for readahead-fedora (2:1.5.6-5.2) ...
> | Setting up privoxy (3.0.25-2) ...
> | [ ok ] Starting filtering proxy server: privoxy.
> |
> | Progress: [ 42%]
> [########################..................................]
> `----
Where does this progress bar come from? I don't know this
personally. Maybe this is part of the problem, because it may block
the interaction of debconf readline?
> Looking at the process table where it's stuck:
>
> ,----
> | root 24049 1.0 0.4 120888 77092 pts/74 S+ 11:34 0:01 |
> \_ apt-get install privoxy
> | root 24821 0.1 0.0 28012 15568 pts/76 Ss+ 11:34 0:00 |
> \_ /usr/bin/dpkg --status-fd 48 --configure --pending
> | root 24829 0.2 0.1 69688 20880 pts/76 S+ 11:34 0:00 |
> \_ /usr/bin/perl -w /usr/share/debconf/frontend
> /var/lib/dpkg/info/privoxy.postinst configure 3.0.25-1
> | root 24860 0.0 0.0 0 0 pts/76 Z+ 11:34 0:00 |
> \_ [privoxy.postins] <defunct>
> `----
I'd expect, that 24829 opens some kind of dialog/readline with you, if
you cannot see this, it may be the center of the problem.
> Cleanup:
>
> ,----
> | # apt-get -f install
> | Reading package lists... Done
> | Building dependency tree
> | Reading state information... Done
> | 0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
> | 1 not fully installed or removed.
> | After this operation, 0 B of additional disk space will be used.
> | Setting up privoxy (3.0.25-2) ...
> | [ ok ] Starting filtering proxy server: privoxy.
> `----
This time no debconf interaction, so it runs without problems.
Maybe you could check, where upgrading from 3.0.25-1 to 3.0.25-2 works
correct, if you install 3.0.25-2 via
dpkg -i /var/cache/apt/archives/privoxy_3.0.25-2_amd64.de
instead of using apt-get (which may use some external hooks).
Sorry, I'm still digging in the fog, since I cannot reproduce the
issue and do not fully understand, what goes wrong on your system...
Greetings
Roland