[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#372712: marked as done (apt: Shouldn't download pdiffs in all cases)



Your message dated Thu, 17 May 2012 14:47:32 +0800
with message-id <CAN3veRecgDr1igyrPFpdmXq=RoX1_WZVik+YVHfmowKws3m4Tw@mail.gmail.com>
and subject line Bug#372712: apt: Shouldn't download pdiffs in all cases
has caused the Debian Bug report #372712,
regarding apt: Shouldn't download pdiffs in all cases
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
372712: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372712
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.6.44
Severity: wishlist


When you don't apt-get update for a while, downloading all the pdiffs
instead of the full file is actually much longer. There should be a limit
of days without update after which apt would get the full file and not the
pdiffs.

PS: Is there a way to totally disable the pdiff stuff ? With decent
bandwidth, it actually takes more times than downloading the full file...
(Or is the goal to reduce the bandwitdh on the server side ?)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.0-3  GCC support library
ii  libstdc++6                    4.1.0-3    The GNU Standard C++ Library v3

Versions of packages apt recommends:
ii  debian-archive-keyring        2006.01.18 GnuPG archive keys of the Debian a

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.7.25.1

This has been configurable for some time:

# never use pdiffs:
Acquire::PDiffs "0";

# download up to 5 pdiffs:
Acquire::PDiffs::FileLimit "5";


>From the changelog adding the file and size limits:

 apt (0.7.25.1) unstable; urgency=low

  * apt-pkg/acquire-item.cc:
    - add configuration PDiffs::Limit-options to not download
      too many or too big patches (Closes: #554349)

and from apt.conf(5):

  PDiffs
     Try to download deltas called PDiffs for Packages or
     Sources files instead of downloading whole ones. True
     by default.

     Two sub-options to limit the use of PDiffs are also
     available: With FileLimit can be specified how many PDiff
     files are downloaded at most to patch a file.  SizeLimit
     on the other hand is the maximum precentage of the size
     of all patches compared to the size of the targeted file.
     If one of these limits is exceeded the complete file is
     downloaded instead of the patches.


--- End Message ---

Reply to: