[DRE-maint] Bug#590695: redmine: Fails to install.
jerry at edagames.com
Wed Jul 28 14:44:42 UTC 2010
On 28/07/2010 16:10, Cyril Brulebois wrote:
> Package: redmine
> Version: 1.0.0-3
> Severity: grave
> Justification: renders package unusable
> your package fails to install. Granted, I'm trying to install it within
> lenny, pulling packages from sid as needed; but of course you're
> supposed to have proper Depends/Pre-Depends to support partial upgrades,
> etc., you know the drill.
> The failure can be reproduced at will outside an apt run by using:
> /var/lib/dpkg/info/redmine.postinst configure
> I'm quoting its output:
> | dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf
> | Creating config file /etc/redmine/default/database.yml.new with new version
> | creating postgres user redmine: already exists.
> | resetting password: success.
> | creating database redmine_default: already exists.
> | dbconfig-common: flushing administrative password
> | Populating database for redmine instance "default".
> | This may take a while.
> | rake aborted!
> | Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg)
Excerpt from the Description of the redmine package :
"Dependencies for database support are provided by these metapackages:
redmine-mysql, redmine-pgsql, redmine-sqlite."
You selected a pgsql backend. It fails. Install redmine-pgsql.
If you did not select anything, then
dpkg-reconfigure -plow redmine
and select proper backend.
More information about the Pkg-ruby-extras-maintainers