Package: phpwiki
Version: 1.3.4-5
Severity: normal

aptitude purge phpwiki produces this:
Removing phpwiki ...
Could not get phpwiki/webservers: 
dpkg: error processing phpwiki (--purge):
 subprocess post-removal script returned error exit status 10
 
/var/lib/dpkg/info/phpwiki.postrm contains:
        . /usr/share/debconf/confmodule
        if [ "db_get phpwiki/webservers" != "0" ]; then

turning on -x in this script gives:
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
++ db_get phpwiki/webservers
++ _db_cmd 'GET phpwiki/webservers'
++ echo 'GET phpwiki/webservers'
++ local 'IFS=
'
++ local _LINE
++ read -r _LINE
++ RET=apache
++ return 0
+ '[' '' '!=' 0 ']'
+ echo 'Could not get phpwiki/webservers: '
Could not get phpwiki/webservers: 
+ exit 10

WHich I think means that the debconf setting has been lost so things barf.

Running dpkg-reconfigure phpwiki does not fix it.

debconf-show phpwiki gives:
* phpwiki/system/accessible: global
* phpwiki/system/documentroot: /phpwiki
* phpwiki/system/purgepages: true
  phpwiki/system/localnet: 10.0.0.0/24
* phpwiki/webservers: apache
* phpwiki/notes/introduction:

Which looks OK. 

If I run . /usr/share/debconf/confmodule on it's own I get this:
. /usr/share/debconf/confmodule
Can't exec "-bash": No such file or directory at
/usr/share/perl/5.8/IPC/Open3.pm line 168.
open2: exec of -bash failed at /usr/share/perl5/Debconf/ConfModule.pm line 44
and my ssh connection is terminated. Not sure if this is a clue?

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26-bytemark-uml-20040706-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages phpwiki depends on:
ii  apache                    1.3.33-6sarge1 versatile, high-performance HTTP s
ii  debconf                   1.4.30.13      Debian configuration management sy
ii  php4                      4:4.3.10-16    server-side, HTML-embedded scripti
ii  php4-pear                 4:4.3.10-16    PEAR - PHP Extension and Applicati

-- debconf information:
* phpwiki/system/accessible: localhost only
* phpwiki/system/documentroot: /phpwiki
* phpwiki/system/purgepages: true
  phpwiki/system/localnet: 10.0.0.0/24
* phpwiki/webservers: apache
* phpwiki/notes/introduction:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to