redmine : Depends: ruby-rack (>= 1.4.0) but 1.3.5-1 is to be installed

Bug #965484 reported by Paul Belanger
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
redmine (Ubuntu)
Fix Released
High
Fabrice Coutadeur

Bug Description

$ sudo apt-get install redmine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 redmine : Depends: ruby-rack (>= 1.4.0) but 1.3.5-1 is to be installed
E: Unable to correct problems, you have held broken packages.

Related branches

tags: added: regression-release
Changed in redmine (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Paul Belanger (pabelanger) wrote :

Looks like 1.3.2+dfsg1-1 was uploaded yesterday[1] with a hard requirement for ruby-rack (>= 1.4.0).

[1] https://launchpad.net/ubuntu/+source/redmine/1.3.2+dfsg1-1

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

So I synced this but missed the dependency. I can try to fix this, but it won't be until next week. If someone wants to fix this in the meantime, that is ok by me. Sorry for the bug.

Changed in redmine (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
assignee: Jamie Strandboge (jdstrand) → nobody
Revision history for this message
Paul Belanger (pabelanger) wrote :

How do you see fixing this? I don't have a problem doing the work if you say how you want it fixed.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The easiest would be to sync ruby-rack. Please check the output of the reverse-depends and reverse-build-depends output (seems very doable overall-- might need a couple other syncs though). Other than that seeing if redmine actually needs this dependency, and if not adjusting it.

Revision history for this message
Ferenc Kovacs (tyra3l) wrote :

Hi,

I bumped into this issue, and lowering the ruby-rack dependencies fixed the issue for me.
The redmine wiki also lists a much lower rack version dependency(Rack 1.1.x for 1.3.x and even for trunk) than 1.4.0, so I guess it would be safe to fix that in the control file.
see http://www.redmine.org/projects/redmine/wiki/RedmineInstall

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

hi,

According to doc/INSTALL, rack 1.1.2 is ok, so someone should check with Debian maintainer why he bumped dependency on 1.4 in latest upload.

Otherwise, we could downgrade the required version to > 1.1.2

My 2 cents.

Fabrice

Revision history for this message
kapouer (kapouer) wrote :

Please at least read redmine 1.3.2+dfsg1-1 changelog !

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

I read it, but stopped at the "Explicit dependency on ruby-rake >= 1.4.0" sentence, as I was expecting the explanation in the same sentence, not in the patch section.

Anyway, does it mean that we could reenable 1014_logout_cookie_rake.patch, lower the dependency and avoid the sync of ruby-rack 1.4?

Thanks,
Fabrice

Revision history for this message
kapouer (kapouer) wrote :

Well changelogs cannot be perfect every time...

If i remember well, you can do that and it will work.

Changed in redmine (Ubuntu):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: Triaged → In Progress
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Actually, the patch is not required since ruby-rack 1.3.2 as the fix has been commited in 1.3 branch (https://github.com/rack/rack/commit/5f75258c2469977fd534a68ce98be0c255871176) and delivered in 1.3.2 zip.
Uploading a updated package with a lower required version.

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

This bug was fixed in the package redmine - 1.3.2+dfsg1-1ubuntu1

---------------
redmine (1.3.2+dfsg1-1ubuntu1) precise; urgency=low

  * debian/control: lower required version of ruby-rack to 1.3.2 as the bug in
    ruby-rack fixed by 1014_logout_cookie_rake.patch has been fixed in commit
    5f75258c2469977fd534a68ce98be0c255871176 and released in 1.3.2. This makes
    redmine installable (LP: #965484)
 -- Fabrice Coutadeur <email address hidden> Sun, 01 Apr 2012 10:20:13 +0000

Changed in redmine (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ferenc Kovacs (tyra3l) wrote :

"Please at least read redmine ... changelog !"
that backfired :/

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Tyrael, what is the problem? I don't see anything in docs/CHANGELOG in redmine for versions 1.3.1 and 1.3.2 that suggests there would be a problem.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Tyrael, I guess that comment was directed at me.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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