-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I was recently hit by ia32-apt-get bug (Bug #512634) caused by
zero-size *_Packages file, and it seems no official response was
made since January.

This can be fixed by simply ignoring such *_Packages file,
so I'm sending in this one-line patch. Please include it in
next release.

Best Regards,
Taisuke Yamada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm0hYQACgkQXWDWh3AeWqmUDACgsC7b5EfvBnljduV/t2KfPdnf
/qAAoKIs/QCJR6zV8dHAFbLuoTPuz5Gb
=IAl+
-----END PGP SIGNATURE-----
--- apt-get.orig        2009-03-09 11:39:25.000000000 +0900
+++ apt-get     2009-03-09 11:39:11.000000000 +0900
@@ -66,6 +66,7 @@
 
   # Mangle foreign files
   for F in $LISTDIR/foreign/lists/*_*; do
+    test -s "$F" || continue
     DIR="$(dirname "$F")"
     case "$F" in
       *_Packages)

Attachment: ia32-apt-get.diff.sig
Description: Binary data

Reply via email to