On Wed, 31 Dec 2003, Matt Zimmerman wrote:
> > Hmm, weird. Removing var/lib/apt didn't fix it, but downgrading to
> > 0.6.1 and upgrading to 0.6.7 did.
> >
> > Definitely time to sleep.
>
> There's still a bug in the tagfile parser that is tickled by the code which
> reads Release. Can you try this and tell me if it helps?
>
> --- deblistparser.cc.~1.29.2.1.~ 2003-12-28 15:56:18.000000000 -0800
> +++ deblistparser.cc 2003-12-31 22:05:38.000000000 -0800
> @@ -566,7 +566,7 @@
> bool debListParser::LoadReleaseInfo(pkgCache::PkgFileIterator FileI,
> FileFd &File)
> {
> - pkgTagFile Tags(&File, File.Size());
> + pkgTagFile Tags(&File, File.Size() + 256);
> pkgTagSection Section;
> if (Tags.Step(Section) == false)
> return false;
That seems to fix the problem for me.
Peter
--
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/
Attachment:
signature.asc
Description: Digital signature