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

Bug#1124387: marked as done (PDiffs "false" seems to be ignored)



Your message dated Wed, 31 Dec 2025 19:56:57 +0100
with message-id <aVVtw8yMHJcshPEy@crossbow>
and subject line Re: Bug#1124387: PDiffs "false" seems to be ignored
has caused the Debian Bug report #1124387,
regarding PDiffs "false" seems to be ignored
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.)


-- 
1124387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124387
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 3.1.12

I have set

Acquire
{
        PDiffs "false";
        Languages { "none"; };
};

in /etc/apt/apt.conf.d/99local.conf, and yet I got this on the last
update of my filer:

{root@nas1:~ (local) 501} apt update
Get:1 http://deb.debian.org/debian sid InRelease [187 kB]
Get:2 https://afaics.de/debian sid InRelease [6912 B] 
Get:3 http://deb.debian.org/debian sid/non-free Sources [81.8 kB]
Get:4 https://afaics.de/debian sid/main Sources [10.2 kB]
Get:5 https://afaics.de/debian sid/main amd64 Packages [33.7 kB]
Get:6 https://afaics.de/debian sid/main amd64 Contents (deb) [19.7 MB]
Get:7 http://deb.debian.org/debian sid/main all Contents (deb).diff/Index [63.8 kB] 
Err:7 http://deb.debian.org/debian sid/main all Contents (deb).diff/Index  
  Couldn't find the start of the patch series
Get:8 http://deb.debian.org/debian sid/main amd64 Contents (deb).diff/Index [63.8 kB]
Err:8 http://deb.debian.org/debian sid/main amd64 Contents (deb).diff/Index
  Couldn't find the start of the patch series
Get:9 http://deb.debian.org/debian sid/contrib all Contents (deb).diff/Index [63.3 kB] 
Get:9 http://deb.debian.org/debian sid/contrib all Contents (deb).diff/Index [63.3 kB]  
Ign:7 http://deb.debian.org/debian sid/main all Contents (deb).diff/Index
Get:10 http://deb.debian.org/debian sid/contrib amd64 Contents (deb).diff/Index [63.3 kB]  
Get:11 http://deb.debian.org/debian sid/non-free amd64 Contents (deb).diff/Index [63.3 kB] 
Get:8 http://deb.debian.org/debian sid/main amd64 Contents (deb).diff/Index [63.8 kB]
Ign:8 http://deb.debian.org/debian sid/main amd64 Contents (deb).diff/Index
Get:12 http://deb.debian.org/debian sid/contrib all Contents (deb) T-2025-12-24-2011.45-F-2025-12-13-1410.57.pdiff [1028 B]
Get:13 http://deb.debian.org/debian sid/contrib amd64 Contents (deb) T-2025-12-27-2013.33-F-2025-12-13-2026.33.pdiff [1377 B]
Get:12 http://deb.debian.org/debian sid/contrib all Contents (deb) T-2025-12-24-2011.45-F-2025-12-13-1410.57.pdiff [1028 B]
Get:13 http://deb.debian.org/debian sid/contrib amd64 Contents (deb) T-2025-12-27-2013.33-F-2025-12-13-2026.33.pdiff [1377 B]
Get:14 http://deb.debian.org/debian sid/non-free amd64 Contents (deb) T-2025-12-21-0808.13-F-2025-12-16-2012.58.pdiff [232 B]  
Get:14 http://deb.debian.org/debian sid/non-free amd64 Contents (deb) T-2025-12-21-0808.13-F-2025-12-16-2012.58.pdiff [232 B]
Get:16 http://deb.debian.org/debian sid/contrib Sources [66.4 kB]
Get:17 http://deb.debian.org/debian sid/main Sources [11.2 MB]
Get:15 https://packagecloud.io/dionysius/vaultwarden/debian bookworm InRelease [29.6 kB] 
Get:18 http://deb.debian.org/debian sid/main amd64 Packages [10.2 MB] 
Get:19 https://packagecloud.io/dionysius/vaultwarden/debian bookworm/main Sources [2151 B] 
Get:21 http://deb.debian.org/debian sid/contrib amd64 Packages [68.4 kB]  
Get:22 http://deb.debian.org/debian sid/non-free amd64 Packages [132 kB] 
Get:23 http://deb.debian.org/debian sid/main all Contents (deb) [41.6 MB]  
Get:20 https://packagecloud.io/dionysius/vaultwarden/debian bookworm/main amd64 Packages [1922 B]
Get:24 http://deb.debian.org/debian sid/main amd64 Contents (deb) [14.1 MB]  
Fetched 97.8 MB in 33s (2922 kB/s) 
212 packages can be upgraded. Run 'apt list --upgradable' to see them.

What option do I have to set to get just plain, unfragmented index files
instead of tiny incremental downloads?

--- End Message ---
--- Begin Message ---
Am Wed, Dec 31, 2025 at 03:03:10PM +0100, schrieb Harald Dunkel:
> {root@nas1:~ (local) 501} apt update
> Get:4 https://afaics.de/debian sid/main Sources [10.2 kB]
> Get:5 https://afaics.de/debian sid/main amd64 Packages [33.7 kB]
> Get:6 https://afaics.de/debian sid/main amd64 Contents (deb) [19.7 MB]
> Get:7 http://deb.debian.org/debian sid/main all Contents (deb).diff/Index [63.8 kB] 
> Err:7 http://deb.debian.org/debian sid/main all Contents (deb).diff/Index  
>   Couldn't find the start of the patch series
[…]
> What option do I have to set to get just plain, unfragmented index files
> instead of tiny incremental downloads?

As you can see, only the Contents files (attempted) pdiff patching
as for the others the option you set took effect.

This is expected and documented behaviour by apt-file as pdiff was
always used by Contents files before their downloading was integrated
into apt (by apt-file providing the config; apt itself has no special
knowledge about Contents files).

It is very much not recommended to disable pdiff for Contents files as
they are huge, so patching with one patch (as regardless of how old the
index is, it will be always one patch nowadays – or none as in the quote
above) will be more efficient.

If you really really must, you can either edit
`/etc/apt/apt.conf.d/50apt-file.conf` or
add something like this to your local config:
```
Acquire::IndexTargets::deb::Contents-deb::PDiffs "false";
Acquire::IndexTargets::deb::Contents-udeb::PDiffs "false";
Acquire::IndexTargets::deb::Contents-deb-legacy::PDiffs "false";
Acquire::IndexTargets::deb-src::Contents-dsc::PDiffs "false";
```

In either case, this is not a bug and hence I am closing this report
rather than reassigning it to apt-file.


Best regards and Happy New Year!

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: