On Wed, Nov 16, 2011 at 11:54:00PM +0100, Andrey Gursky wrote: >Hi! > >As with almost each weekly-build DVD I was about to update one of my >PCs not connected to internet. But this time it has failed: > ># apt-cdrom add >Using CD-ROM mount point /media/cdrom/ >Identifying.. [069340101a1adf7d86340ad21d1a4711-2] >Scanning disc for index files.. >Found 2 package indexes, 0 source indexes, 39 translation indexes and >0 signatures >Found label 'Debian GNU/Linux testing _Wheezy_ - Official Snapshot >i386 DVD Binary-1 20111114-04:04' >This disc is called: >'Debian GNU/Linux testing _Wheezy_ - Official Snapshot i386 DVD >Binary-1 20111114-04:04' >Reading Package Indexes... Done >Reading Translation Indexes... Error! >E: Unable to parse package file >/media/cdrom/dists/wheezy/main/i18n/Translation-da.bz2 (1) ># > >What could be the reason?
Looks like a bug in apt, as far as I can see - pkgTagFile::Resize() has a hard-coded internal maximum buffer size of 1MiB, and Translation-da.bz2 decompresses to 1134737 bytes. It's the first file in dists/wheezy/main/i18n that crosses that threshold, hence it's the one listed in the error message. Andrey, you *may* be able to work around this problem by specifying just the languages you want using Acquire::Languages in apt.conf. I've not been able to test that myself yet. Um, folks - I think this is likely to be a show-stopper for putting translated description files on CD/DVD. Help! :-/ As to why we've not seen this in the archive yet, I don't know... -- Steve McIntyre, Cambridge, UK. st...@einval.com Who needs computer imagery when you've got Brian Blessed? -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111117000257.gu3...@einval.com