Reported version is incorrect

Bug #50480 reported by Pau Garcia Quiles
4
Affects Status Importance Assigned to Milestone
ruby-defaults (Debian)
Fix Released
Unknown
ruby-defaults (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ruby

'apt-cache show ruby' reports version 1.8.2, but it actually is 1.8.4 because it depends on package ruby1.8. The same thing happens with packages irb, ri, rdoc and ruby-dev.

It's a somewhat important bug because there are some serious differences between Ruby 1.8.2 and Ruby 1.8.4.

Revision history for this message
Ealden Escañan (ealden) wrote :

Confirming this bug. Doing a `ruby --version` on the other hand reports the correct version.

Changed in ruby-defaults:
status: Unconfirmed → Confirmed
Revision history for this message
Aizat Faiz (aizatto) wrote :

This still continues into Edgy:
package `ruby` reports version 1.8.2-1
package `ruby1.8` reports version 1.8.4-5ubuntu1

Revision history for this message
Pau Garcia Quiles (pgquiles) wrote :

Still present in Feisty. Package "ruby" is Ruby 1.8.2 and package "ruby1.8" is Ruby 1.8.5.

Please, fix this. Having both packages is misleading. I understand there might be some problems with Ruby > 1.8.2 in certain applications but then the most logical step would be to rename those packages:
Ruby 1.8.5 (always latest version) ---------> package name "ruby"
Ruby 1.8.2 ---------> package name "ruby1.8.2"

Revision history for this message
Áron Sisak (asisak) wrote :

I think it is because of the Debian versions.

Revision history for this message
Michael Nitschinger (moidaschl) wrote :

confirmed, it still exists in feisty

michi@homebase:~$ apt-cache show ruby1.8 | grep ^Version
Version: 1.8.4-5ubuntu1.2
Version: 1.8.4-5ubuntu1

michi@homebase:~$ apt-cache show ruby | grep ^Version
Version: 1.8.2-1

we maybe have to talk to the core developers

Revision history for this message
Michael Nitschinger (moidaschl) wrote :

sorry, i have to edit my last comment: it still exists in edgy! (i can't test it on feisty for the moment too)

Revision history for this message
Michael Nitschinger (moidaschl) wrote :

i talked to the people on #ubuntu-motu and they told me that this version bump is not possible without cooperating with the debian guys.. (see http://bugs.debian.org/359810) .. but the bug report is about a year old without a response, so we shouldnt expect much

regards,

Áron Sisak (asisak)
Changed in ruby-defaults:
status: Unconfirmed → Unknown
Changed in ruby-defaults:
status: Unknown → Unconfirmed
Changed in ruby-defaults:
status: New → Fix Committed
Changed in ruby-defaults:
status: Fix Committed → Fix Released
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

this was fixed in version 4.

Changed in ruby-defaults:
status: Confirmed → Fix Released
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.