[DRE-maint] [Bug 1199487] Re: package redmine 1.3.2+dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Michel Bouckaert
1199487 at bugs.launchpad.net
Tue Jul 9 19:12:51 UTC 2013
Additional info trying a second round:
Setting up redmine (1.3.2+dfsg1-1ubuntu1) ...
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf
Creating config file /etc/redmine/default/database.yml.new with new version
granting access to database redmine_default for redmine at localhost: already exists.
creating database redmine_default: already exists.
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/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /usr/share/redmine/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:91.
!!! 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!
libmysqlclient.so.16: cannot open shared object file: No such file or directory - /usr/local/lib/site_ruby/1.8/i686-linux/mysql.so
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Error when running rake db:migrate, check database configuration.
/var/lib/dpkg/info/redmine.postinst: 279: exit: Illegal number: -1
dpkg: error processing redmine (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
redmine
-----------------------------------------------------------------------------------------------------------
Note
$ ls -l /usr/local/lib/site_ruby/1.8/i686-linux/mysql.so
-rwxrwxr-x 1 root staff 163033 Nov 1 2012 /usr/local/lib/site_ruby/1.8/i686-linux/mysql.so
-------------------------------------------------------------------------------------------------------------
MySQL was reinstalled immediately before trying to install/configure redmine.
This is Ubuntu 12.04 LTS.
--------------------------------------------------------------------------------------------------------------
Please do not hesitate asking for more informetion. And thanks for the
amazing work!
--
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1199487
Title:
package redmine 1.3.2+dfsg1-1ubuntu1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 2
Status in “redmine” package in Ubuntu:
New
Bug description:
Sorry if duplicate, but did not find the following in the two existin
reports:
Processing triggers for menu ...
Errors were encountered while processing:
redmine
W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up redmine (1.3.2+dfsg1-1ubuntu1) ...
Will update if/when I gain more info.
Cheers!
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: redmine 1.3.2+dfsg1-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-49.75-generic-pae 3.2.46
Uname: Linux 3.2.0-49-generic-pae i686
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: i386
Date: Tue Jul 9 11:49:09 2013
DuplicateSignature: package:redmine:1.3.2+dfsg1-1ubuntu1:subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: redmine
Title: package redmine 1.3.2+dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to precise on 2013-03-14 (116 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1199487/+subscriptions
More information about the Pkg-ruby-extras-maintainers
mailing list