[Pkg-dspam-misc] installation report

Johannes Berg johannes at sipsolutions.net
Tue Feb 21 15:18:12 UTC 2006


Hi,

For reference, here's an installation report on my new debian/unstable
system (with experimental sources).

First, I tried to just install dspam-webfrontend:
Selecting previously deselected package dspam-webfrontend.
(Reading database ... 96285 files and directories currently installed.)
Preparing to replace dspam-webfrontend 3.6.2-2 (using .../dspam-webfrontend_3.6.2-2_all.deb) ...
Unpacking replacement dspam-webfrontend ...
Setting up dspam-webfrontend (3.6.2-2) ...
dpkg-statoverride: non-existing user dspam

You need --help.
dpkg: error processing dspam-webfrontend (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 dspam-webfrontend
E: Sub-process /usr/bin/dpkg returned an error code (1)


=> it needs to pre-depend on dspam.



Thus, I tried to purge it again which failed due to the previous problem:
Removing dspam-webfrontend ...
No override present.
No override present.
No override present.
No override present.
No override present.
No override present.
dpkg: error processing dspam-webfrontend (--purge):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 dspam-webfrontend

I worked around this by removing the 'set -e' in the postrm script so
that the purge went through.


Now secondly, I try to install dspam. I have a postgresql-8.1 server
installed, without any personal configuration...

# apt-get install libdspam7-drv-pgsql dspam
[answer yes to configure database with dbconfig-common]

dbconfig-common: writing config to /etc/dbconfig-common/libdspam7-drv-pgsql.conf

Creating config file /etc/dbconfig-common/libdspam7-drv-pgsql.conf with new version

Creating config file /etc/dspam/dspam.d/pgsql.conf with new version
chown: `dspam': invalid user
creating postgres user libdspam7drvpgsql:  Shall the new role be allowed to create more new roles? (y/n)
y
[here, the dspam package should probably have told the user what to
answer to this question]

But, I get:
An error seems to have occurred while installing the database. If it's
of any help, this was the error encountered:
Unknown id: libdspam7drvpgsql
[...]
Error installing database for libdspam7-drv-pgsql.  Retry?

I select abort.

Purging it all again, and installing just dspam, pulls in
libdspam7-drv-db4 as well even if I don't want it. But ok for now. Let's
try installing the pgsql driver now:

Same thing again:
Setting up libdspam7-drv-pgsql (3.6.2-2) ...
dbconfig-common: writing config to /etc/dbconfig-common/libdspam7-drv-pgsql.conf

Creating config file /etc/dbconfig-common/libdspam7-drv-pgsql.conf with new version

Creating config file /etc/dspam/dspam.d/pgsql.conf with new version
creating postgres user libdspam7drvpgsql:  Shall the new role be allowed to create more new roles? (y/n) y
success.
verifying creation of user: success.
creating database libdspam7drvpgsql: success.
verifying database libdspam7drvpgsql exists: success.
chown: `libdspam7drvpgsql': invalid user
error encountered populating database:
Unknown id: libdspam7drvpgsql
dbconfig-common: libdspam7-drv-pgsql configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing libdspam7-drv-pgsql (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libdspam7-drv-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any help would be appreciated.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20060221/acf15ac5/attachment.pgp


More information about the Pkg-dspam-misc mailing list