does anyone know why apt-cacher-ng always downloading index file (Packages.gz) even though its exist on the apt-cacher-ng's cache?

Posted by soekarmana on Ask Ubuntu See other posts from Ask Ubuntu or by soekarmana
Published on 2012-04-29T14:28:54Z Indexed on 2012/06/30 15:25 UTC
Read the original article Hit count: 295

Filed under:

just updated from 11.04 to 12.04, fresh install
installed apt-cacher-ng and notice something strange about it
its always downloading index file (Packages.gz) even though the file exist on the apt-cacher-ng's cache,

so this is what exactly happened :

on ubuntu 10.10 & 11.04

  1. apt-cacher-ng installed & configured on my laptop, then i reload & install some packages
  2. after that i configure my friend's laptop with apt-cacher-ng proxy (192.168.1.1:3142), reloading repository was blazingly fast, finished in a second without using my Internet connection (checked on system monitor, total Received just 15kB)


on ubuntu 11.10 & 12.04

  1. apt-cacher-ng installed & configured on my laptop, then i reload & install some packages
  2. after that i configure my friend's laptop with apt-cacher-ng proxy (192.168.1.1:3142), reloading repository was really slow!, apt-cacher-ng redownload the index file from internet

© Ask Ubuntu or respective owner

Related posts about apt-cacher-ng