Failed download leaves apt-p2p cache inconsistent

Bug #591648 reported by Ludovic Claude on 2010-06-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-p2p (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: apt-p2p

Hello,

I tried to run an update of my system with apt-p2p installed. Apparently, the Ubuntu servers where temporary quite busy, and the download of packages failed partially. In particular, there was one package (openoffice-base-core) which could not be installed by Synaptic. Synaptic reported an 'inconsistent file length' on that package, even long after the download servers where working properly. I managed to fix that issue by digging in /var/cache/apt-p2p/cache/security.ubuntu.com/ubuntu/pool/main/o/openoffice.org and removing manually the openoffice-base-core package there, as well as in /var/cache/apt/archives.

The file in /var/cache/apt-p2p/cache/security.ubuntu.com/ubuntu/pool/main has a size of 0, so it would be great if apt-p2p could keep the integrity of its cache even in the face of incorrect downloads.

Thanks,
Ludovic
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: apt-p2p 0.1.5
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR.utf8
 PATH=(custom, user)
 LANG=fr_FR.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fuse libvirtd lpadmin netdev plugdev sambashare tape video

apport information

tags: added: apport-collected
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers