package redmine 3.4.4-1 failed to install/upgrade: installed redmine package post-installation script subprocess returned error exit status 1

Bug #1785502 reported by FernandoBG
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
redmine (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Error when upgrade from ubuntu 16 to ubuntu 18

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: redmine 3.4.4-1
ProcVersionSignature: Ubuntu 4.4.0-131.157-generic 4.4.134
Uname: Linux 4.4.0-131-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Sun Aug 5 19:29:09 2018
ErrorMessage: installed redmine package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2016-10-31 (643 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3
SourcePackage: redmine
Title: package redmine 3.4.4-1 failed to install/upgrade: installed redmine package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-08-05 (0 days ago)

Revision history for this message
FernandoBG (fernanbg) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in redmine (Ubuntu):
status: New → Confirmed
Revision history for this message
Benoit Blais (benoit-blais) wrote :

I made it installs correctly.
Since I had a backup, I decided to reinstall completely from scratch (which didn't work at first...)

And since I don't know what was necessary and what wasn't, here is all I've done to do so:

# removed completely (answered yes to database removal)
apt remove -y redmine
apt autoremove -y
# fixed the rake problem for install
rm /usr/local/bin/rake
# reinstalled
apt install redmine
service redmine start
# it started but as a new install, will now try to restore backup...

What I know for sure is the problem is coming from the /usr/local/bin/rake file (which refers to ruby2.3)

Should give you a hint on how to fix this ;)

Revision history for this message
Benoit Blais (benoit-blais) wrote :

Sorry not being able to correct last comment...
/usr/local/bin/bundle has the same flaw...
So eveything wasn't fixed in my case.
Haven't been able to reimport my backup with my plugins yet.

Revision history for this message
Benoit Blais (benoit-blais) wrote :

Brought it back to work:

cd /usr/share/redmine
rm /usr/local/bin/bundle
ln -s /usr/bin/bundle /usr/local/bin/bundle

(I haven't had to do the same with rake yet, since no complaints about it have been heard yet)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.