Re: aptitude update and pdiff files
Urs Thuermann wrote:
> For a couple of month I have seen an annoying change in behavior of
> aptitude update and apt-get update. Formerly, a couple of package
> files where downloaded which took a few seconds. Now I normally see
> that aptitude update downloads hundreds of files named like
>
> Get:282 2006-09-11-1318.15.pdiff [13.3kB]
> Get:283 2006-09-11-1318.15.pdiff [13.3kB]
> Get:284 2006-09-11-1318.15.pdiff [34.3kB]
> Get:285 2006-09-11-1318.15.pdiff [34.3kB]
> Get:286 2006-09-11-1318.15.pdiff [34.3kB]
>
> and this takes quite long. From the name I guess these are only
> differences two package files so that less data have to be
> transferred. However, the overhead of nearly 300 TCP connections
> causes this to take *much* longer on some systems than simply
> downloading the whole package file.
Try putting this line in /etc/apt/apt.conf (creating the file if it
doesn't already exist) to turn off pdiffs:
Acquire::PDiffs "false";
I guess you can put it in a separate file in /etc/apt/apt.conf.d/
instead if that directory exists on your system.
Not sure why this isn't in the apt.conf(5) man page; maybe because it
was just added recently.
regards,
--
Kevin B. McCarty <kmccarty@princeton.edu> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG: public key ID 4F83C751 Princeton, NJ 08544
Reply to: