On 26.06.2012 06:13, Raphael Geissert wrote:
For some reason, there no longer are "pdiff"s for stable, so it has
to
download the whole files on every update.
Were there ever pdiffs for stable? They seem a little redundant, given
that the packages files only change every couple of months or so.
Regards,
Adam
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 2a115f6b86a13d45522c0b3630db25bb@mail.adsl.funky-badger.org">http://lists.debian.org/2a115f6b86a13d45522c0b3630db25bb@mail.adsl.funky-badger.org
On Tue, Jun 26, 2012 at 11:57:25AM +0100, Adam D. Barratt wrote:
> On 26.06.2012 06:13, Raphael Geissert wrote:
> >For some reason, there no longer are "pdiff"s for stable, so it
> >has to download the whole files on every update.
> Were there ever pdiffs for stable? They seem a little redundant,
> given that the packages files only change every couple of months or
> so.
I don't think so, so the "no longer" is wrong. On the other hand they do make
sense, given that you'll only download one small diff. I think I asked about it
a while back in #-ftp, but did not file a bug about it.
On Tuesday 26 June 2012 05:15:00 shirish शिरीष wrote:
[...]
> As can be seen pdiffs are generated if you use the same server.
There are _no_ pdiffs for stable. For testing and sid, there are and they are
used even if you use http.d.n.
> > Unless the files really changed, the Last-Modified-Since headers should
> > have prevented the download. Will have to check if they are correctly
> > preserved, it might be that.
I haven't looked at the code, but from a pcap, it seems APT isn't sending
the I-M-S header, even to http.d.n. It does, however, correctly send it for
files such as Release.gpg, even to the redirected host.
APT guys: perhaps someone of you have an idea as to what is happening?
Running apt-get update twice in a row, using http.d.n, and stable, will
result in the Packages file being downloaded both times. Even if unchangeed.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201206280055.13756.geissert@debian.org">http://lists.debian.org/201206280055.13756.geissert@debian.org
On Thu, Jun 28, 2012 at 7:55 AM, Raphael Geissert <geissert@debian.org> wrote:
> APT guys: perhaps someone of you have an idea as to what is happening?
> Running apt-get update twice in a row, using http.d.n, and stable, will
> result in the Packages file being downloaded both times. Even if unchangeed.
Which version should that be?
I can't reproduce it with:
# debootstrap --variant=minbase squeeze squeeze-minbase
http://http.debian.net/debian
# chroot squeeze-minbase/
# apt-get update
[Hit on Release.gpg, Release, Packages - no download ]
# rm -rf /var/lib/apt/lists/
# apt-get update
[Gets Release.gpg, Release, Packages - ~8MB fetched ]
# apt-get update
[Hit on Release.gpg, Release, Packages - no download ]
Did the same with a sid chroot, expect changing the sources to
squeeze of course and still no dice - sorry.
Are you sure the involved servers respond correctly?
[Demo page says for my test: 130.83.114.189 | 8365 | EU | DE]
(You can see some sub-optimality here if you try it with a pdiff
enabled-sources as it should know after hitting Release that the
rest of the files can't be changed [or if they are, this means we
get a hashsum error anyway] and therefore shouldn't download the
indexes for the pdiffs - but this is done also only a single time)
Best regards
David Kalnischkies
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAAZ6_fAhkLqsqDkPsgNT+Fru8oT0+65hqFb4GxChCGMr=MNTR w@mail.gmail.com