Package: libdpkg-ruby1.8
Version: 0.3.2
[13:09:29]dancer64:apt-listbugs> irb
irb(main):001:0> require 'debian'
=> true
irb(main):002:0>
a=Debian::DpkgDeb.load("/var/cache/apt/archives/ecawave_1%3a0.6.1-9_amd64.deb")
/bin/tar: Pattern matching characters used in file names. Please,
/bin/tar: use --wildcards to enable pattern matching, or --no-wildcards to
/bin/tar: suppress this warning.
/bin/tar: */control: アーカイブ内に見つかりません
/bin/tar: 処理中にエラーが起きましたが、最後まで処理してからエラー終了させました
Debian::FieldError: E: required field Package not found in
from /usr/lib/ruby/1.8/debian.rb:193:in `parseFields'
from /usr/lib/ruby/1.8/debian.rb:191:in `each'
from /usr/lib/ruby/1.8/debian.rb:191:in `parseFields'
from /usr/lib/ruby/1.8/debian.rb:434:in `initialize'
from /usr/lib/ruby/1.8/debian.rb:145:in `new'
from /usr/lib/ruby/1.8/debian.rb:145:in `load'
from (irb):2
from :0
Something like this? (haven't tested):
==================================================
diff -ru dpkg-ruby-0.3.2-orig/lib/debian/utils.rb
dpkg-ruby-0.3.2/lib/debian/utils.rb
--- dpkg-ruby-0.3.2-orig/lib/debian/utils.rb 2003-10-08 02:07:02.000000000
+0900
+++ dpkg-ruby-0.3.2/lib/debian/utils.rb 2006-09-30 13:22:14.622289536 +0900
@@ -72,7 +72,7 @@
}
end
def tar(io,op,*pat)
- progs = [TAR, op, '-f', '-']
+ progs = [TAR, op, '--wildcards', '-f', '-']
if pat[0]
progs += ['--to-stdout', *pat]
end
==================================================
regards,
junichi
--
[EMAIL PROTECTED],netfort.gr.jp} Debian Project
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]