On Thu, 25 Aug 2016, Roland Rosenfeld wrote:
>
> I'm not fully sure, whether I understand, what exactly triggered the
> issue on your system.  If I read the apt/term.logs right, this first
> happened to 3.0.24-2 and repeated with 3.0.25-1 and 3.0.25-2.
> Maybe you can track down, what the problem was?

I'll try.

> Maybe a configuration option, that you kept from an old version, but
> which failed with the new one?

I really don't think so.  My modifications are minimal

> But this shouldn't be solved by "apt-get -f install".

Right.

> Since I personally never run into this issue, I need more input to
> reproduce this problem.

Ok.  I'll try to reproduce.  First downgrade to 3.0.25-1.  Hang in
postinst :(  `ps auxwf' shows:

root      8374  1.3  0.7 138264 118184 pts/12  S+   16:38   0:00          \_ 
dpkg -i privoxy_3.0.25-1_amd64.deb
root      8375  0.0  0.0   4304   744 pts/12   S+   16:38   0:00              
\_ sh -c (test -x /usr/lib/needrestart/dpkg-status && 
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
root      8376  0.0  0.0   4304    96 pts/12   S+   16:38   0:00              | 
  \_ sh -c (test -x /usr/lib/needrestart/dpkg-status && 
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
root      8377  0.0  0.0   4304   736 pts/12   S+   16:38   0:00              | 
      \_ /bin/sh /usr/lib/needrestart/dpkg-status
root      8431  0.5  0.1  70340 21456 pts/12   S+   16:38   0:00              
\_ /usr/bin/perl -w /usr/share/debconf/frontend 
/var/lib/dpkg/info/privoxy.postinst configure 3.0.25-2
root      8439  0.0  0.0      0     0 pts/12   Z+   16:38   0:00                
  \_ [privoxy.postins] <defunct>

Why privoxy.postinst configure 3.0.25-2?
By the way, frontend is readline, in case it makes any difference.

I'll kill -9 8431.

Unpacking privoxy (3.0.25-1) over (3.0.25-2) ...
Setting up privoxy (3.0.25-1) ...
[ ok ] Starting filtering proxy server: privoxy.
dpkg: error processing package privoxy (--install):
 subprocess installed post-installation script was killed by signal (Killed)
Processing triggers for systemd (231-4) ...
Processing triggers for readahead-fedora (2:1.5.6-5.2) ...
Processing triggers for doc-base (0.10.7) ...
Processing 3 changed doc-base files, 2 added doc-base files...
Error while merging /usr/share/doc-base/kino-en with 
/usr/share/doc-base/kino-fr: format html already defined.
Registering documents with scrollkeeper...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 privoxy

> Maybe you could try to run
> sh -x /var/lib/dpkg/info/privoxy.postinst configure
> after the upgrade failed.
> Maybe this can show us, where the postinst fails.

# sh -x /var/lib/dpkg/info/privoxy.postinst configure
+ set -e
+ CONFDIR=/etc/privoxy
+ CONFIG=/etc/privoxy/config
+ EXAMPLE_CONFIG=/usr/share/privoxy/config
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/privoxy.postinst configure
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
[ ok ] Starting filtering proxy server: privoxy.

# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 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-1) ...
[ ok ] Starting filtering proxy server: privoxy.
[ Rootkit Hunter version 1.4.2 ]
File updated: searched for 177 files, found 155
localepurge: checking for existence of /var/cache/localepurge...
localepurge: checking for existence of /var/cache/localepurge/localelist...
localepurge: checking system for new locale ...
localepurge: processing locale files ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: processing man pages ...
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: processing Gnome files ...
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: processing Omf files ...
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: processing KDE files ...
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
needrestart is being skipped since dpkg has failed

Now upgrading to 3.0.25-2.

# apt-get install privoxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  privoxy
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/538 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 566945 files and directories currently installed.)
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%] [########################..................................]

and hanging there.  `ps auxwf' again:

root     21972  0.8  0.4 111016 71076 pts/12   S+   16:56   0:01          \_ 
apt-get install privoxy
root     22277  0.0  0.1  29304 16848 pts/18   Ss+  16:57   0:00              
\_ /usr/bin/dpkg --status-fd 37 --configure --pending
root     22278  0.0  0.0   4304   792 pts/18   S+   16:57   0:00                
  \_ sh -c (test -x /usr/lib/needrestart/dpkg-status && 
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
root     22279  0.0  0.0   4304    96 pts/18   S+   16:57   0:00                
  |   \_ sh -c (test -x /usr/lib/needrestart/dpkg-status && 
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
root     22280  0.0  0.0   4304   792 pts/18   S+   16:57   0:00                
  |       \_ /bin/sh /usr/lib/needrestart/dpkg-status
root     22285  0.1  0.1  70340 21568 pts/18   S+   16:57   0:00                
  \_ /usr/bin/perl -w /usr/share/debconf/frontend 
/var/lib/dpkg/info/privoxy.postinst configure 3.0.25-1
root     22293  0.0  0.0      0     0 pts/18   Z+   16:57   0:00                
      \_ [privoxy.postins] <defunct>

Why privoxy.postinst configure 3.0.25-1?  Killing 22285:

# 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.
dpkg: error processing package privoxy (--configure):
 subprocess installed post-installation script was killed by signal (Killed)
Processing triggers for doc-base (0.10.7) ...
Processing 3 changed doc-base files, 2 added doc-base files...
Error while merging /usr/share/doc-base/kino-en with 
/usr/share/doc-base/kino-fr: format html already defined.
Registering documents with scrollkeeper...
Processing triggers for systemd (231-4) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 privoxy
[ Rootkit Hunter version 1.4.2 ]
File updated: searched for 177 files, found 155
localepurge: checking for existence of /var/cache/localepurge...
localepurge: checking for existence of /var/cache/localepurge/localelist...
localepurge: checking system for new locale ...
localepurge: processing locale files ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: processing man pages ...
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: processing Gnome files ...
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: processing Omf files ...
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: processing KDE files ...
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

# sh -x /var/lib/dpkg/info/privoxy.postinst configure
+ set -e
+ CONFDIR=/etc/privoxy
+ CONFIG=/etc/privoxy/config
+ EXAMPLE_CONFIG=/usr/share/privoxy/config
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/privoxy.postinst configure
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
[ ok ] Starting filtering proxy server: privoxy.

# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 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.
[ Rootkit Hunter version 1.4.2 ]
File updated: searched for 177 files, found 155
localepurge: checking for existence of /var/cache/localepurge...
localepurge: checking for existence of /var/cache/localepurge/localelist...
localepurge: checking system for new locale ...
localepurge: processing locale files ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: processing man pages ...
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: processing Gnome files ...
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: processing Omf files ...
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: processing KDE files ...
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

What does this tell us?


Cheers,

-- 
Cristian

Reply via email to