Public bug reported: I tried reinstall for redmine. And, I got the message as the below :
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libavresample1 libbs2b0 libquvi-scripts libquvi7 linux-image-generic-lts-vivid ruby-sqlite3 sqlite3 thermald Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded. Need to get 0 B/4,541 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 416078 files and directories currently installed.) Preparing to unpack .../redmine_2.4.2-1_all.deb ... Unpacking redmine (2.4.2-1) over (2.4.2-1) ... Setting up redmine (2.4.2-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 dbconfig-common: flushing administrative password Replacing 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. rake aborted! Access denied for user 'redmine_default'@'localhost' (using password: YES) 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 package redmine (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 14.04 Package: redmine 2.4.2-1 ProcVersionSignature: Ubuntu 3.19.0-26.28~14.04.1-generic 3.19.8-ckt4 Uname: Linux 3.19.0-26-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3.12 AptOrdering: redmine: Install redmine: Configure Architecture: amd64 Date: Fri Aug 21 08:49:00 2015 DuplicateSignature: package:redmine:2.4.2-1:subprocess installed post-installation script returned error exit status 1 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2015-08-17 (3 days ago) InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) PackageArchitecture: all RelatedPackageVersions: dpkg 1.17.5ubuntu5.4 apt 1.0.1ubuntu2.10 SourcePackage: redmine Title: package redmine 2.4.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: redmine (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package need-duplicate-check trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1487326 Title: package redmine 2.4.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1487326/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs