[Pkg-dspam-misc] installation report

Matthijs Mohlmann matthijs at cacholong.nl
Wed Feb 22 12:12:26 UTC 2006


Johannes Berg wrote:
> 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.
> 
I fixed this in svn, I experienced this bug too. It gets uploaded in a 
short while.

> johannes
> 
Regards,

Matthijs Mohlmann




More information about the Pkg-dspam-misc mailing list