GETAROUND:
sudo nano /etc/redmine/default/database.yml
- change line
  adapter: mysql
- to
  adapter: mysql2
sudo apt-get install --fix-broken
- completes successfully

CAUSE:
The issue is that database mysql is specified where mysql2 should be used
/usr/share/redmine/Gemfile includes 
/usr/share/redmine/config/database.yml -> /etc/redmine/default/database.yml
ls -l /etc/redmine/default/database.yml
-r--r----- 1 www-data www-data 151 Jun 12 23:56 
/etc/redmine/default/database.yml


apt-cache policy redmine
redmine:
  Installed: 3.2.1-2
  Candidate: 3.2.1-2
  Version table:
 *** 3.2.1-2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603817

Title:
  apt-get update redmine: E: Sub-process /usr/bin/dpkg returned an error
  code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1603817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to