Comment 0 for bug 516500

Revision history for this message
LimCore (limcore) wrote : apt-cacher sometimes dissallows to download given packages untill cache is fixed. Failed to fetch

Binary package hint: apt-cacher

Apt-cacher refused to allow a client to download "kgpg" package.

Each time (also after apt-cacher restart) the client was getting error:

# aptitude install konsole korganizer kgpg -y
[...]
The following NEW packages will be installed:
  kgpg
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 925kB of archives. After unpacking 2,085kB will be used.
Writing extended state information... Done
Err http://pl.archive.ubuntu.com karmic/main kgpg 4:4.3.2-0ubuntu1
  Connection failed
E: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/pool/main/k/kdeutils/kgpg_4.3.2-0ubuntu1_amd64.deb: Connection failed
Reading package lists... Done

Then on the server I removed the kgpg cached files, and since then all works - kgpg can be again downloaded.

find /var/cache/apt-cacher/ | grep kgpg
/var/cache/apt-cacher/private/kgpg_4.3.2-0ubuntu1_amd64.deb.complete
/var/cache/apt-cacher/packages/kgpg_4.3.2-0ubuntu1_amd64.deb
/var/cache/apt-cacher/headers/kgpg_4.3.2-0ubuntu1_amd64.deb

root@jumpi(2010-02-03 12:26:15)~$ sha1sum `find /var/cache/apt-cacher/ | grep kgpg`
da39a3ee5e6b4b0d3255bfef95601890afd80709 /var/cache/apt-cacher/private/kgpg_4.3.2-0ubuntu1_amd64.deb.complete
accbd5a2689122f7fdbdff7d33f885147a2362c4 /var/cache/apt-cacher/packages/kgpg_4.3.2-0ubuntu1_amd64.deb
c25cd10f3168e94d30b4757a3d86f6cd2193195e /var/cache/apt-cacher/headers/kgpg_4.3.2-0ubuntu1_amd64.deb

root@jumpi(2010-02-03 12:26:20)~$ rm `find /var/cache/apt-cacher/ | grep kgpg` ~