Package: libgettext-ruby-util
Version: 0.8.0-1
Severity: grave
Tags: sarge

rgettext does not work due to dependency problem.
/usr/bin/ruby is symlinked to ruby1.8.
But apt installed libgettext-ruby1.6 to fix dependency.

# apt-get install libgettext-ruby-util 
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libgettext-ruby1.6
The following NEW packages will be installed:
  libgettext-ruby-util libgettext-ruby1.6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.3kB of archives.
After unpacking 348kB of additional disk space will be used.
Do you want to continue? [Y/n] 

So, ruby is 1.8 but libgettext-ruby is for 1.6.
Therefore ruby does not find library.

libgettext-ruby-0.8.0% rgettext bin/rgettext -o hoge.pot
/usr/bin/rgettext:15:in `require': no such file to load -- 
gettext/parser/ruby.rb (LoadError)
        from /usr/bin/rgettext:15

I think you should change as below to fix this problem.

From:
  Depends: libgettext-ruby | libgettext-ruby1.8, ruby, irb

To:
  Depends: libgettext-ruby1.8, ruby (>= 1.8), irb

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-bcm5700-p4
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) (ignored: 
LC_ALL set to ja_JP.eucJP)

Versions of packages libgettext-ruby-util depends on:
ii  irb                           1.8.2-1    Interactive Ruby (irb)
ii  libgettext-ruby1.6 [libgettex 0.8.0-1    Gettext for ruby
ii  ruby                          1.8.2-1    An interpreter of object-oriented 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to