[Apt-cacher-ng-users] slow "apt-get update" via apt-cacher-ng

Eduard Bloch edi at gmx.de
Tue Jul 29 06:12:00 UTC 2014


Hallo,
* Kirill Timofeev [Mon, Jul 28 2014, 05:15:31PM]:

> I have vm with ubuntu 14.04. I installed apt-cacher-ng on this machine and
> configured proxy in /etc/apt/conf.d/01proxy:
> 
> root at els-trusty-test-02:~# dpkg -l|grep apt-cacher-ng
> ii  apt-cacher-ng 0.7.26-1                      amd64        caching proxy
> server for software repositories
> root at els-trusty-test-02:~# cat /etc/apt/apt.conf.d/01proxy
> Acquire::http::Proxy "http://127.0.0.1:3142";
> root at els-trusty-test-02:~# time apt-get update >/dev/null 2>&1
> 
> real    0m35.008s
> user    0m4.576s
> sys     0m0.673s

That usually shouldn't happen. Please run apt with http debugging, i.e.
apt-get update -o Debug::Acquire::Http=true
(see /usr/share/doc/apt-cacher-ng/html/troublefaq.html ) and provide the
resulting log.

Thanks.

Eduard.




More information about the Apt-cacher-ng-users mailing list