Package: ruby
Version: 2.0.0
Severity: normal
Tags: d-i

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

after upgrading ruby (as a dependency) 

        Setting up ruby2.0 (2.0.0.484+really457-3) ...
        Setting up ruby (1:2.0.0.2) ...
        Setting up perl-modules (5.18.2-2) ...
        Setting up libruby2.0:i386 (2.0.0.484+really457-3) ...

the how-can-I-help, and
        apt-listbugs

are both corrupted.

This corrupts the apt system: 

[ end of an aptitude update: ]

        Setting up libtext-soundex-perl (3.4-1+b1) ...
        Processing triggers for libc-bin (2.18-4) ...
        Processing triggers for menu (2.1.46) ...
        /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require': cannot load such file -- debian_version (LoadError)
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/lib/ruby/vendor_ruby/debian.rb:24:in `<top 
(required)>'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/bin/how-can-i-help:20:in `<main>'
        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
        Failed to perform requested operation on package.  Trying to recover:
        Press Return to continue.

the apt system is now corrupt. Every action returns:


        /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require': cannot load such file -- debian_version (LoadError)
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/lib/ruby/vendor_ruby/debian.rb:24:in `<top 
(required)>'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/sbin/apt-listbugs:314:in `<main>'
        E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (1)
        E: Failure running script /usr/sbin/apt-listbugs apt
        Failed to perform requested operation on package.  Trying to recover:
        Press Return to continue.

        /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require': cannot load such file -- debian_version (LoadError)
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/lib/ruby/vendor_ruby/debian.rb:24:in `<top 
(required)>'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/sbin/apt-listbugs:314:in `<main>'
        E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (1)
        E: Failure running script /usr/sbin/apt-listbugs apt
        Failed to perform requested operation on package.  Trying to recover:
        Press Return to continue.

and does NOT complete it's task. Thus the violating [that have these 
dependencies ] packages can NOT be removed:

        apt-get remove --purge apt-listbugs
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following packages will be REMOVED:
        apt-listbugs*
        0 upgraded, 0 newly installed, 1 to remove and 345 not upgraded.
        After this operation, 430 kB disk space will be freed.
        Do you want to continue? [Y/n] Y
        /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require': cannot load such file -- debian_version (LoadError)
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/lib/ruby/vendor_ruby/debian.rb:24:in `<top 
(required)>'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/sbin/apt-listbugs:314:in `<main>'
        E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (1)
        E: Failure running script /usr/sbin/apt-listbugs apt


and 

        apt-get remove --purge apt-listbugs how-can-i-help 
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following packages will be REMOVED:
        apt-listbugs* how-can-i-help*
        0 upgraded, 0 newly installed, 2 to remove and 345 not upgraded.
        After this operation, 493 kB disk space will be freed.
        Do you want to continue? [Y/n] Y
        /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require': cannot load such file -- debian_version (LoadError)
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/lib/ruby/vendor_ruby/debian.rb:24:in `<top 
(required)>'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/sbin/apt-listbugs:314:in `<main>'
        E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (1)
        E: Failure running script /usr/sbin/apt-listbugs apt


solutions for similiar bugs can NOT be implemented 
Bug#746607: jekyll: Needs dependency on ruby-colored

        apt-get install ruby-colored
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following NEW packages will be installed:
        ruby-colored
        0 upgraded, 1 newly installed, 0 to remove and 345 not upgraded.
        Need to get 3,682 B of archives.
        After this operation, 63.5 kB of additional disk space will be used.
        Get:1 http://ftp.tr.debian.org/debian/ jessie/main ruby-colored all 
1.2-1 [3,682 B]
        Fetched 3,682 B in 0s (11.7 kB/s) 
        /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require': cannot load such file -- debian_version (LoadError)
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/lib/ruby/vendor_ruby/debian.rb:24:in `<top 
(required)>'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from 
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                from /usr/sbin/apt-listbugs:314:in `<main>'
        E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (1)
        E: Failure running script /usr/sbin/apt-listbugs apt


This is related to  bugs #746123, #746607 #744010


-- System Information:
Debian Release: jessie/sid
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to