Bug#881266: apt-files fails with LZ4F error on calling apt-helper with xargs
Control: reassign -1 apt, liblz4-1
Control: severity -1 normal
Control: tag -1 unreproducible
On Thu, Nov 09, 2017 at 03:17:02PM +0100, Ara Keary wrote:
> Package: apt-file
> Version: 3.1.5
> Severity: grave
> Justification: renders package unusable
>
> Dear maintainers,
>
> installing apt-file and running
>
> apt-file update
>
> works well, but any search fails with an error ; for instance
>
> apt-file search ogg123
>
> fails with
>
> E: LZ4F:
> /var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_Contents-amd64.lz4
> Read error (18446744073709551615: ERROR_GENERIC)
> Command xargs -0r /usr/lib/apt/apt-helper cat-file exited with code 123 at
> /usr/bin/apt-file line 240.
> E: A subprocess exited uncleanly (raw: 31488)
It's definitely not an apt-file problem if apt-helper exits. It seems to me that
the file is broken. I'd assume your memory or hard disk is failing, or you force
rebooted while/after apt(-get) update was running and writing that file and we
maybe do not sync it correctly. Or maybe it's a bug in lz4 decompressor - I don't
know.
In either case, I've not seen this before. You could also try using "lz4cat"
from liblz4-tool, that should fail as well. I'd say upload the file, but it's
probably about 60-90 MB or so, so probably not really an option.
--
Debian Developer - deb.li/jak | jak-linux.org - free software dev
Ubuntu Core Developer de, en speaker
Reply to: