Package: libopenssl-ruby1.8 Version: 1.8.4-1 I found following error.
% /usr/bin/ruby -rnet/https -e ' http = Net::HTTP.new("www.codeblog.org", 443) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE http.start { req = Net::HTTP::Get.new("/blog/akr/") http.request(req) {|response| p response } } ' /usr/lib/ruby/1.8/net/http.rb:2019:in `read_status_line': wrong status line: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">" (Net::HTTPBadResponse) from /usr/lib/ruby/1.8/net/http.rb:2006:in `read_new' from /usr/lib/ruby/1.8/net/http.rb:1047:in `request' from -e:7 from /usr/lib/ruby/1.8/net/http.rb:543:in `start' from -e:5 zsh: exit 1 /usr/bin/ruby -rnet/https -e I investigated that the problem is caused by package version inconsistency. % dpkg -S /usr/lib/ruby/1.8/net/https.rb libopenssl-ruby1.8: /usr/lib/ruby/1.8/net/https.rb % dpkg -S /usr/lib/ruby/1.8/net/http.rb libruby1.8: /usr/lib/ruby/1.8/net/http.rb % dpkg -l |egrep 'libopenssl-ruby1.8|libruby1.8' ii libopenssl-ruby1.8 1.8.4-1 OpenSSL interface for Ruby 1.8 ii libruby1.8 1.8.5-4 Libraries necessary to run Ruby 1.8 libopenssl-ruby1.8 is declared to work with libruby1.8 1.8.4 or later. But actually it doesn't work with libruby1.8 1.8.5-4. So the Depends clause is wrong. % dpkg -s libopenssl-ruby1.8 Package: libopenssl-ruby1.8 Status: install ok installed Priority: optional Section: interpreters Installed-Size: 584 Maintainer: akira yamada <[EMAIL PROTECTED]> Architecture: amd64 Source: ruby1.8 Version: 1.8.4-1 Replaces: libruby1.8 (= 1.8.3-2) Depends: libc6 (>= 2.3.5-1), libruby1.8 (>= 1.8.4), libssl0.9.8 (>= 0.9.8a-1) Description: OpenSSL interface for Ruby 1.8 Ruby/OpenSSL makes Ruby to be able to use OpenSSL. It includes HTTP and TELNET protocols' SSL/TLS support. . This package provides Ruby/OpenSSL for Ruby 1.8. % uname -a Linux athlon64 2.6.16-amd64-k8-smp #3 SMP Sat Mar 25 18:52:59 JST 2006 x86_64 GNU/Linux -- Tanaka Akira -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]