Package: ruby Version: 4.9 Severity: serious Justification: breaks squeeze->wheezy upgrades
The transition of the default version from ruby1.8 to ruby1.9.1 causes the upgrade from squeeze to wheezy to fail if apt-listbugs is installed. After replacing squeeze with wheezy in /etc/apt/sources.list and a successful 'apt-get update' and 'apt-get install dpkg apt', 'apt-get [upgrade|install|dist-upgrade]' all fail with: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- gettext (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/sbin/apt-listbugs:240:in `<main>' E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code (10) E: Failure running script /usr/sbin/apt-listbugs apt || exit 10 'apt-get install dpkg apt' causes ruby to be installed and thus /usr/bin/ruby points to ruby1.9.1 afterwards. However, ruby-gettext, which provides the gettext module for ruby1.9.1, doesn't get installed. Since /usr/bin/apt-listbugs has #!/usr/bin/ruby as shebang, apt-listbugs is then executed with ruby1.9.1 and fails with the error message above. apt-listbugs's shebang has been changed to #/usr/bin/ruby1.8 in 0.1.6. So I think that ruby should gain a Breaks: apt-listbugs (<< 0.1.6) to force the upgrade of apt-listbugs if ruby is installed. I'm filing this bug with severity serious since it breaks upgrades from squeeze to wheezy. If my analysis of this bug is wrong, please reassign it to the correct package and change the severity accordingly. I've attached the log of performing the upgrade to wheezy in a squeeze chroot which has apt-listbugs installed. Regards -- Sebastian Ramacher
squeeze-to-wheezy-update.log.xz
Description: Binary data
signature.asc
Description: Digital signature