[DRE-maint] Bug#695774: redmine: fails to upgrade, says something about a pgsql_adapter

Thorsten Glaser tg at mirbsd.de
Wed Dec 12 16:27:16 UTC 2012


Package: redmine
Version: 1.4.4+dfsg1-1.1
Severity: serious
Justification: Policy 4.2

Today’s dist-upgrade inside wheezy failed. Retrying yields:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
Setting up redmine (1.4.4+dfsg1-1.1) ...
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/redmine/default/database.yml.new with new version
dbconfig-common: flushing administrative password
Populating database for redmine instance "default".
This may take a while.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/vendor/rails/railties/lib/rails/gem_dependency.rb:21.
rake aborted!
Please install the pgsql adapter: `gem install activerecord-pgsql-adapter` (cannot load such file -- active_record/connection_adapters/pgsql_adapter)

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Error when running rake db:migrate, check database configuration.
dpkg: error processing redmine (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static

Versions of packages redmine depends on:
ii  bundler                       1.1.4-6
ii  dbconfig-common               1.8.47+nmu1
ii  debconf [debconf-2.0]         1.5.46
ii  redmine-pgsql                 1.4.4+dfsg1-1.1
ii  ruby                          4.9
ii  ruby-coderay                  1.0.6-2
ii  ruby-fastercsv                1.5.5-1
ii  ruby-net-ldap                 0.3.1-2
ii  ruby-rack                     1.4.1-2
ii  ruby-rails-2.3                2.3.14-4
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-5

redmine recommends no packages.

Versions of packages redmine suggests:
pn  bzr           <none>
pn  cvs           <none>
pn  darcs         <none>
ii  git           1:1.7.10.4-1+wheezy1
pn  mercurial     <none>
pn  ruby-openid   <none>
pn  ruby-rmagick  <none>
ii  subversion    1.6.17dfsg-4

-- debconf information:
  redmine/instances/default/password-confirm: (password omitted)
  redmine/instances/default/pgsql/admin-pass: (password omitted)
  redmine/instances/default/mysql/admin-pass: (password omitted)
  redmine/instances/default/app-password-confirm: (password omitted)
  redmine/instances/default/mysql/app-pass: (password omitted)
  redmine/instances/default/pgsql/app-pass: (password omitted)
  redmine/instances/default/db/app-user: redmine
  redmine/instances/default/passwords-do-not-match:
  redmine/instances/default/default-language: en
  redmine/instances/default/remote/newhost:
  redmine/instances/default/db/basepath:
  redmine/notify-migration:
  redmine/old-instances:
  redmine/instances/default/upgrade-error: abort
  redmine/instances/default/pgsql/changeconf: false
  redmine/instances/default/missing-db-package-error: abort
  redmine/instances/default/db/dbname: redmine_default
  redmine/instances/default/purge: false
  redmine/current-instances: default
  redmine/instances/default/remote/host:
  redmine/default-language: ${defaultLocale}
  redmine/instances/default/dbconfig-upgrade: true
  redmine/instances/default/pgsql/no-empty-passwords:
  redmine/instances/default/internal/reconfiguring: false
  redmine/instances/default/upgrade-backup: true
  redmine/instances/default/pgsql/method: unix socket
  redmine/instances/default/install-error: abort
  redmine/instances/default/mysql/admin-user: root
* redmine/instances/default/database-type: pgsql
  redmine/instances/default/pgsql/manualconf:
  redmine/instances/default/pgsql/authmethod-admin: ident
  redmine/instances/default/mysql/method: unix socket
  redmine/instances/default/internal/skip-preseed: false
  redmine/instances/default/pgsql/admin-user: postgres
  redmine/instances/default/remove-error: abort
  redmine/instances/default/dbconfig-remove:
  redmine/missing-redmine-package:
  redmine/instances/default/remote/port:
  redmine/instances/default/pgsql/authmethod-user: password
* redmine/instances/default/dbconfig-install: true
  redmine/instances/default/dbconfig-reinstall: false




More information about the Pkg-ruby-extras-maintainers mailing list