[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#880170: aptitude: Read error (-5: DATA_ERROR_MAGIC)



<150935636765.12708.6154635335479747081.reportbug@think>

Hi,

On Mon, Oct 30, 2017 at 10:39:27AM +0100, Mykola Nikishov wrote:
> $ sudo aptitude update 
> ...
> W: Failed to fetch tor+http://security.debian.org/dists/stable/updates/contrib/i18n/Translation-en: BZ2_bzread: /var/lib/apt/lists/partial/security.debian.org_dists_stable_updates_contrib_i18n_Translation-en.bz2 Read error (-5: DATA_ERROR_MAGIC)
> E: Some index files failed to download. They have been ignored, or old ones used instead.

Download issues in the update stage tend to not be the fault of
aptitude, as it shares the code with apt (via libapt). Whose fault
it is on the other hand…

Assuming you aren't doing something dangerous like disabling security
checks such an error means that the file passed hashsum checks while
downloading, but while trying to extract the file contents a bad file
was encountered where a good file should have been.

That tends to be hardware issues like a slowly failing disk – but there
is of course also the option that the archive had a bad file (less
likely through).


Would be nice if you could attach the failing file (and the Release file
which should sit there as well):
/var/lib/apt/lists/partial/security.debian.org_dists_stable_updates_Release
/var/lib/apt/lists/partial/security.debian.org_dists_stable_updates_contrib_i18n_Translation-en.bz2

So we can have a look as me trying to download what is available now
produces no such error (with apt, but same difference).


Also, if you include the output of a command, please include the entire
output: It can help figuring out what the tool did before reaching the
error as there tend to be multiple ways of arriving at the same error.
Talking back to you a triager will usually "cut down" the output to the
error messages, but that doesn't mean he hasn't read the cut lines.


> -- System Information:
> Debian Release: buster/sid
>   APT prefers stable
>   APT policy: (500, 'stable'), (70, 'unstable'), (60, 'testing'), (50, 'experimental')
[…]
> Versions of packages aptitude depends on:
[…]
> ii  libapt-pkg5.0              1.5

mhhhh. That is the version from testing. Such "Frankendebian" systems
are not very advisable. I guess we have to add the possibility of
a hidden library incompatibility in the list above as a potential
contender.

btw: Yeah for using tor! You know that there are onion services for all
Debian archives available? See onion.debian.org [5nca3wxl33tzlzj5.onion]


Best regards

David Kalnischkies, apt(-transport-tor) developer

Attachment: signature.asc
Description: PGP signature


Reply to: