Bug#590695: redmine: Fails to install.
On 28/07/2010 17:05, Cyril Brulebois wrote: > Hi. > > Jérémy Lal (28/07/2010): >> Excerpt from the Description of the redmine package : >> >> "Dependencies for database support are provided by these metapackages: >> redmine-mysql, redmine-pgsql, redmine-sqlite." > > The description has little to do with: > > 1. your not checking for appropriate (in this case: backend) > components before running installation/configuration steps. > > 2. your considering redmine's postinst configuration as successful > while it is not. As a consequence, redmine is considered being > installed properly, while it is not. > >> You selected a pgsql backend. It fails. Install redmine-pgsql. > > It's your job to (1) catch this kind of failure, possibly hitting > users with a cluebat, pointing to the documentation and appropriate > instructions if you feel like it, and to (2) leave your package in an > appropriate state WRT the package manager. > > Cheers, Agreed, i'm going to fix this in an appropriate way. Thanks for the report. Jérémy. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#590695: redmine: Fails to install.
Hi. Jérémy Lal (28/07/2010): > Excerpt from the Description of the redmine package : > > "Dependencies for database support are provided by these metapackages: > redmine-mysql, redmine-pgsql, redmine-sqlite." The description has little to do with: 1. your not checking for appropriate (in this case: backend) components before running installation/configuration steps. 2. your considering redmine's postinst configuration as successful while it is not. As a consequence, redmine is considered being installed properly, while it is not. > You selected a pgsql backend. It fails. Install redmine-pgsql. It's your job to (1) catch this kind of failure, possibly hitting users with a cluebat, pointing to the documentation and appropriate instructions if you feel like it, and to (2) leave your package in an appropriate state WRT the package manager. Cheers, -- Cyril Brulebois signature.asc Description: Digital signature
Bug#590695: redmine: Fails to install.
On 28/07/2010 16:10, Cyril Brulebois wrote: > Package: redmine > Version: 1.0.0-3 > Severity: grave > Justification: renders package unusable > > Hi, > > 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. Regards, Jérémy Lal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#590695: redmine: Fails to install.
Package: redmine Version: 1.0.0-3 Severity: grave Justification: renders package unusable Hi, 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) | /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection' | /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:60:in `establish_connection' | /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:55:in `establish_connection' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:438:in `initialize_database' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:141:in `process' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' | /usr/share/redmine/config/environment.rb:44 | /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' | /usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require' | /usr/lib/ruby/1.8/active_support/dependencies.rb:521:in `new_constants_in' | /usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require' | /usr/share/redmine/vendor/rails/railties/lib/tasks/misc.rake:4 | /usr/lib/ruby/1.8/rake.rb:636:in `call' | /usr/lib/ruby/1.8/rake.rb:636:in `execute' | /usr/lib/ruby/1.8/rake.rb:631:in `each' | /usr/lib/ruby/1.8/rake.rb:631:in `execute' | /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain' | /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain' | /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites' | /usr/lib/ruby/1.8/rake.rb:604:in `each' | /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites' | /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain' | /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain' | /usr/lib/ruby/1.8/rake.rb:583:in `invoke' | /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task' | /usr/lib/ruby/1.8/rake.rb:2029:in `top_level' | /usr/lib/ruby/1.8/rake.rb:2029:in `each' | /usr/lib/ruby/1.8/rake.rb:2029:in `top_level' | /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' | /usr/lib/ruby/1.8/rake.rb:2023:in `top_level' | /usr/lib/ruby/1.8/rake.rb:2001:in `run' | /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' | /usr/lib/ruby/1.8/rake.rb:1998:in `run' | /usr/bin/rake:28 | ** Invoke db:migrate (first_time) | ** Invoke environment (first_time) | ** Execute environment | Done. | rake aborted! | Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg) | /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection' | /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:60:in `establish_connection' | /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:55:in `establish_connection' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:438:in `initialize_database' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:141:in `process' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' | /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' | /usr/share/redmine/config/environment.rb:44 | /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' | /usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require' | /usr/lib/ruby/1.8/active_support/dependencies.rb:521:in `new_constants_in' | /usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require' | /usr/share/redmine/vendor/rails/railties/lib/tasks/misc.rake:4 | /usr/lib/ruby/1.8/rake.rb:636:in `call' | /usr/lib/ruby/1.8/rake.rb:636:in `execute' | /usr/lib/ruby/1.8/rake.rb:631:in `each' | /usr/