[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Bug#734156: how-can-i-help: "no such file to load -- debian_version" after upgrade of ruby-debian package



On Sat, 4 Jan 2014 17:26:31 +0100 Lucas Nussbaum wrote:

> Hi Debian-Ruby,

Hi Lucas, hi list,

> 
> The bug report below is interesting. The user has ruby1.8 installed, that
> provides ruby-interpreter. As a result, h-c-i-h Depends' line is satisfied:
> Depends: ruby | ruby-interpreter, ruby-debian, ruby-json
> 
> However, since ruby-debian no longer has support for ruby1.8, h-c-i-h can't use
> ruby1.8.

I seem to have the same exact problem with apt-listbugs:
http://bugs.debian.org/734233
http://bugs.debian.org/734256

> 
> I'm not sure of how to address this situation.

Nor am I...   :-(

> For now, I'll just drop
> |ruby-interpreter. But the overall handling of dependencies when switching Ruby
> versions seems fragile. And there are 578 occurences of "Depends: ruby
> | ruby-interpreter" in the archive, which scares me a bit.

I think those 578 occurrences are there because of the current draft of
the Debian Ruby Policy:
http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-policy.git;a=blob;f=ruby-policy.mdw;h=b73fc81565f386ff9730cfdfbc8ed168fffbb409;hb=26b919ee012470d429dcdf9ac5b5bea14dbb22aa

Specifically, it says:

[...]
| ### Dependencies
|
| All packages **must** depend either on 
|   `ruby | ruby-interpreter`
| if the package supports all implementations of Ruby or on the specific
| implementations needed if that is not the case.
[...]

Hence, I am a bit hesitant about dropping something that is mandated by
the currently recommended Debian Ruby practice.


> 
> Maybe ruby-defaults should provide a symlink to the default ruby version
> that we could use in shebangs (#!/usr/bin/ruby-debian-default)? That
> would allow to ensure that hcih really runs with ruby1.9.3 even if the
> user used update-alternatives to switch to another version.

Wouldn't that defeat the very purpose of the
/usr/bin/ruby -> /etc/alternatives/ruby
symlink?!?


Please keep me in Cc:, as I would like to be informed about the correct
solution, but I am not subscribed to the mailing list.
Thanks!


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgp9rd1pDangQ.pgp
Description: PGP signature


Reply to: