Topic: dpkg: error processing frontaccounting (--configure):

Running Debian Squeeze

I get the following at the config stage of installation:

------
Unpacking frontaccounting (from .../frontaccounting_2.2.10-2_all.deb) ...
Setting up frontaccounting (2.2.10-2) ...
Reloading web server config: apache2.
sed: -e expression #1, char 148: unterminated `s' command
dpkg: error processing frontaccounting (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
frontaccounting
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up frontaccounting (2.2.10-2) ...
Reloading web server config: apache2.
sed: -e expression #1, char 148: unterminated `s' command
dpkg: error processing frontaccounting (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
frontaccounting
------
running:
$ grep sed $(ls |grep frontacc)
in /var/lib/dpkg/info gave a list of possible candidates.  The following are the ones I thought might be problematic, especially the first two, but I can't see any problem myself.

there are two varscript lines that are probably important:
varscript=

Re: dpkg: error processing frontaccounting (--configure):

I guess this is some packaging problem, so maybe you should report the problem to Debian team?
Janusz

Re: dpkg: error processing frontaccounting (--configure):

The package has installed the files, set up the mysql tables, and configured apache.  I think my permissions are correct (see below).   Following the installation instructions from the frontaccounting wiki, I don't see any steps that are incorrect, yet when I type http://myserver/frontaccounting apache returns a "404 not found" error. 

# ls -l modules/
total 4
-rw-r--r-- 1 www-data www-data 43 May  2  2007 index.php

Re: dpkg: error processing frontaccounting (--configure):

This bug was reported some time ago to debian bugtracker (#618771), but still is not resolved. I would advice installing current stable version downloaded from sourceforge, as anyway 2.2.x distributed by Debian is outdated release. Using installer included in the tarball  you can also select right language and COA, which is not available in current Debian package.

Janusz