Failure to install on Lucid

Bug #661291 reported by Phil Howell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
redmine (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: redmine

Upon installing redmine version 0.9.3-1 in Lucid (10.04.1 LTS server - without rails or ruby previously installed), I'm presented the following error.

"Setting up redmine (0.9.3-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/dbconfig-common/redmine/instances/default.conf with new version

Creating config file /etc/redmine/default/database.yml.new with new version
granting access to database redmine_default for redmine@localhost: success.
verifying access for redmine@localhost: success.
creating database redmine_default: success.
verifying database redmine_default exists: success.
dbconfig-common: flushing administrative password

Creating config file /etc/redmine/default/database.yml with new version

Creating config file /etc/redmine/default/session.yml with new version
A new secret session key has been generated in /etc/redmine/default/session.yml
Populating database for redmine instance "default".
This may take a while.
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql

(See full trace by running task with --trace)
Done.
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql

(See full trace by running task with --trace)
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql

(See full trace by running task with --trace)"

I fixed this by purging redmine and installing the "libmysql-ruby" package and then reinstalling the redmine package.

Cheers, Phil.

Revision history for this message
kapouer (kapouer) wrote :

This has been fixed in debian package :

redmine (1.0.0-4) unstable; urgency=low

  * If package redmine-<dbtype> is not installed, display a postinst
    debconf note and do not configure that db instance. (Closes: #590695)

and

redmine (1.0.1-1) unstable; urgency=low

  * Postinst note should be an error. (Closes: #591220)

Changed in redmine (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.