[DRE-maint] Bug#953205: "NameError: uninitialized constant URI::Generic" on upgrade

Soren Stoutner soren at smallbusinesstech.net
Thu Mar 5 18:46:22 GMT 2020


Package: Redmine
Version: 4.0.6-2
Severity: grave
Justification: renders package unusable

The following error is produced when upgrading from 4.0.4-3 to 4.0.6-2.  This leaves the package in an unusable state.

dpkg --configure -a
Setting up redmine (4.0.6-2) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf
dbconfig-common: flushing administrative password
`/var/www` is not writable.
Bundler will use `/tmp/bundler20200305-6746-1s3l6nw6746' as your home directory temporarily.
rake aborted!
NameError: uninitialized constant URI::Generic
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/core_ext/object/json.rb:6:in `require'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/core_ext/object/json.rb:6:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/core_ext/object.rb:13:in `require'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/core_ext/object.rb:13:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/configuration.rb:4:in `require'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/configuration.rb:4:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/railtie/configuration.rb:3:in `require'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/railtie/configuration.rb:3:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/railtie.rb:223:in `require'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/railtie.rb:223:in `config'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/railtie.rb:127:in `config'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/i18n_railtie.rb:11:in `<class:Railtie>'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/i18n_railtie.rb:10:in `<module:I18n>'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/i18n_railtie.rb:9:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/railtie.rb:4:in `require'
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/railtie.rb:4:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails.rb:17:in `require'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails.rb:17:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/all.rb:3:in `require'
/usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/all.rb:3:in `<top (required)>'
/usr/share/redmine/config/application.rb:3:in `require'
/usr/share/redmine/config/application.rb:3:in `<top (required)>'
/usr/share/redmine/Rakefile:4:in `require'
/usr/share/redmine/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)
dpkg: error processing package redmine (--configure):
 installed redmine package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 redmine

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

Kernel: Linux 5.4.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages Redmine depends on:
ii  dbconfig-common                 2.0.13
ii  debconf [debconf-2.0]           1.5.73
ii  libjs-chart.js                  2.9.3+dfsg-2
ii  libjs-jquery                    3.3.1~dfsg-3
ii  libjs-jquery-ui                 1.12.1+dfsg-5
ii  libjs-raphael                   2.3.0-2
ii  redmine-mysql                   4.0.6-2
ii  ruby                            1:2.5.7.1
ii  ruby-actionpack-action-caching  1.2.1-1
ii  ruby-actionpack-xml-parser      2.0.1-3
ii  ruby-bundler                    2.1.4-1
ii  ruby-coderay                    1.1.2-2
ii  ruby-csv                        3.1.2-1
ii  ruby-i18n                       1.8.2-2
ii  ruby-jquery-rails               4.3.3-1
ii  ruby-mail                       2.7.1+dfsg1-1
ii  ruby-mime-types                 3.3.1-1
ii  ruby-mimemagic                  0.3.2+dfsg-1
ii  ruby-mini-mime                  1.0.1-1
ii  ruby-net-ldap                   0.16.1-1
ii  ruby-nokogiri                   1.10.7+dfsg1-2+b1
ii  ruby-rack                       2.0.7-2
ii  ruby-rack-test                  0.7.0-1
ii  ruby-rails                      2:5.2.3+dfsg-3
ii  ruby-rails-dom-testing          2.0.3-3
ii  ruby-rails-observers            0.1.5-1
ii  ruby-rbpdf                      1.20.1-1
ii  ruby-redcarpet                  3.5.0-1+b1
ii  ruby-request-store              1.5.0-2
ii  ruby-rmagick                    2.16.0-6+b1
ii  ruby-roadie                     4.0.0-1
ii  ruby-roadie-rails               1.3.0-2
ii  ruby-rouge                      3.15.0-1

Versions of packages Redmine recommends:
ii  passenger  5.0.30-1.1+b1

Versions of packages Redmine suggests:
pn  bzr         <none>
ii  cvs         2:1.12.13+real-27+b1
pn  darcs       <none>
ii  git         1:2.25.1-1
pn  mercurial   <none>
pn  ruby-fcgi   <none>
ii  subversion  1.13.0-2+b1

-- no debconf information



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