Not solved for me on gutsy 7.10 with apt-cacher installed on Thursday 3
July 2008:

% sudo rm /var/cache/apt-cacher/packages/*Packages*gz
% sudo /usr/share/apt-cacher/apt-cacher-cleanup.pl -v
D: gb.archive.ubuntu.com_ubuntu_dists_edgy-updates_main_source_Sources.gz
GET /gb.archive.ubuntu.com/ubuntu/dists/edgy-updates/main/source/Sources.gz
D: gb.archive.ubuntu.com_ubuntu_dists_edgy-updates_multiverse_source_Sources.gz
GET 
/gb.archive.ubuntu.com/ubuntu/dists/edgy-updates/multiverse/source/Sources.gz
...
GET /security.ubuntu.com/ubuntu/dists/edgy-security/restricted/source/Sources.gz
D: security.ubuntu.com_ubuntu_dists_edgy-security_universe_source_Sources.gz
GET /security.ubuntu.com/ubuntu/dists/edgy-security/universe/source/Sources.gz
D: 
gb.archive.ubuntu.com_ubuntu_dists_dapper-updates_main_binary-i386_Packages.bz2
GET 
/gb.archive.ubuntu.com/ubuntu/dists/dapper-updates/main/binary-i386/Packages.bz2
...
D: security.ubuntu.com_ubuntu_dists_hardy-security_universe_source_Sources.bz2
GET /security.ubuntu.com/ubuntu/dists/hardy-security/universe/source/Sources.bz2
R: gb.archive.ubuntu.com_ubuntu_dists_edgy-updates_main_source_Sources.gz

gzip: 
/var/cache/apt-cacher/temp/gb.archive.ubuntu.com_ubuntu_dists_edgy-updates_main_source_Sources.gz:
 unexpected end of file
Error processing 
gb.archive.ubuntu.com_ubuntu_dists_edgy-updates_main_source_Sources.gz in 
/var/cache/apt-cacher/packages, cleanup stopped.
Remove the file if the repository is no longer interesting and the packages 
pulled from it are to be removed.

So, the underlying problem seems to be that edgy packages are .gz, newer
packages are .bz2, and if you have a few edgy clients edging their way
towards being updated thanks to the nice new apt-cache you get an
unhappy apt-cacher?

-- 
apt-cacher clear obsolete deb packages error
https://bugs.launchpad.net/bugs/125749
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to