[Aptitude-devel] Bug#880170: Bug#880170: aptitude: Read error (-5: DATA_ERROR_MAGIC)

Axel Beckert abe at debian.org
Mon Oct 30 18:29:04 UTC 2017

Control: reassign -1 apt 1.5

Hi Mykola,

thanks for the bug report.

Mykola Nikishov wrote:
> Package: aptitude
> $ 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.
> Removing the file in question doesn't help, an error persists.

In the past, I've seen such deadlocks occassionally. But haven't had
such a case for one or two years now. Back then it usually sufficed to
also remove the according file in /var/lib/apt/lists/ or, in the worst
case, to empty /var/lib/apt/lists/ completely.

Since things like package list downloads are not done by aptitude
itself but by calling functions from libapt-*, I'm reassigning this to

		Regards, Axel
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

More information about the Aptitude-devel mailing list