@ Armin: you install to 'apt-get install ruby'
Hi Debian-Ruby,
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'm not sure of how to address this situation. 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.
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.
Lucas
On 04/01/14 at 13:09 +0100, Armin Haas wrote:
Package: how-can-i-help
Version: 1
Severity: normal
Dear Maintainer,
upon upgrading the ruby-debian package from 0.3.8+b1 to 0.3.8+b2
I got the following error message:
/usr/lib/ruby/vendor_ruby/debian.rb:24:in `require': no such file to load --
debian_version (LoadError)
from
/usr/lib/ruby/vendor_ruby/debian.rb:24
from /usr/bin/how-can-i-help:20:in
`require'
from /usr/bin/how-can-i-help:20
E: Problem executing scripts DPkg::Post-Invoke '[ ! -e
/usr/bin/how-can-i-help ] || /usr/bin/how-can-i-help'
E: Sub-process returned an error code
The upgrade of ruby-debian iteslf was not afected (according to apt-check).
Cheers
Armin
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.12-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages how-can-i-help depends on:
ii ruby-debian 0.3.8+b2
ii ruby-json 1.8.0-1+b1
ii ruby1.8 [ruby-interpreter] 1.8.7.358-9
how-can-i-help recommends no packages.
how-can-i-help suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org