Hi, I just had the same bug. The postinst seemed to hang forever, so I killed it. dpkg --configure -a showed the same, and restarting apache2 from another shell fixed it.
This is a ps output while it hang (1st time): ~# ps awx|grep gallery 5492 pts/0 S+ 0:00 apt-get install gallery 5547 pts/0 S+ 0:00 /usr/bin/dpkg --configure libnetpbm10 libtiff4 netpbm gallery 5552 pts/0 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/gallery.postinst configure 5559 pts/0 Z+ 0:00 [gallery.postins] <defunct> The apt-get output (including the kill): Setting up gallery (1.5-1) ... Forcing reload of web server: Apache2apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName . E: Sub-process /usr/bin/dpkg exited unexpectedly Debconf information: ~# debconf-show gallery * gallery/restart: true * gallery/webserver: apache2 mythtv:~# I am using sarge on that box, with apache2 (apache2-mpm-prefork). Linux mythtv 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux Greetings, Oliver
signature.asc
Description: This is a digitally signed message part