I have the same problem.
$sudo dpkg --configure redmine
Setting up redmine (3.2.1-2) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
chown: cannot access '/var/lib/redmine/Gemfile.lock': No such file or directory
dpkg: error processing package redmine (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Even though I copy Gemfile.lock from /usr/share/redmine/ to
/var/lib/redmine/, it doesn't help.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
package redmine 3.2.1-2 fails to upgrade: subprocess installed post-
installation script returned error exit status 1
To manage notifications about this bug go to:
ubuntu-bugs mailing list