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

Bug#972543: marked as done (apt-file: Apt-update downloads full Contents file, not pdiffs)



Your message dated Thu, 27 Jan 2022 22:50:04 +0100
with message-id <925f0795-a388-72f7-10e8-b0c63b230474@thykier.net>
and subject line Re: Bug#972543: apt-file: Apt-update downloads full Contents file, not pdiffs
has caused the Debian Bug report #972543,
regarding apt-file: Apt-update downloads full Contents file, not pdiffs
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.)


-- 
972543: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972543
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-file
Version: 3.2.2
Severity: normal
X-Debbugs-Cc: calumlikesapplepie@gmail.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Basically, on every call to apt-update that isn't completely trivial (ie, at least
1 package changed), my computer downloads the full 60 Mb of Contents files.  This
is irritating, for while I am often on a fast internet, I frequently find myself on
a very slow connection.  

I know my config file enables pdiffs (and I attached it so you can know, too).
The Readme talks a lot about pdiffs, and why I should enable them, but except for
one sentence, it doesn't mention anything about apt update.  (The sentence in 
question *could* be interpreted to mean that apt update will never download
Pdiffs, but that is unlikely, given its context).

I don't know what's the cause.  If you need me to get a log file, I can, but
Apt doesnt include these files in its final output: only while it is
drawing progress bars.

Thank you!
Calum

- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-file depends on:
ii  apt                      2.1.10
ii  libapt-pkg-perl          0.1.36+b3
ii  liblist-moreutils-perl   0.416-1+b5
ii  libregexp-assemble-perl  0.36-1
ii  perl                     5.30.3-4

apt-file recommends no packages.

apt-file suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEE/vC/PEGxsMPJ5u5w7/Xh1+DNmzIFAl+ObBsdHGNhbHVtbGlr
ZXNhcHBsZXBpZUBnbWFpbC5jb20ACgkQ7/Xh1+DNmzKbuQ//SXtp2pvjIgjQa2As
eWwtieJpvjlxG+qsKKJSfeHxLuCdGKoTs2a7/e4/BVbaQhPvNHdsDOPA6tY+QcdU
+iPU48L9fkA8B4YxeQqB6AzUyZM2bNdiaYNMJSyLu+o1WBDbk/an/QclkD23wQGL
E+Yyo9vIzVtmIA8S/NTWT6u9gW0mov4zH4ORHavacR3z/c4Yx17yNhHc5OlFbqmk
4nAuAedgirkj4OTbjwh+xofFkX7iP5P9X1rkz59UUJmKBOti9ZQs4GZYpHd8YLOG
FKJlOjumHbTB4kz16TfLAYvP/w0BIYkqPMTfZMjZxpFfyYllYx31K6j/w5qXaFTi
GYyBUnqB6+zk6doNzZwV0cBTwaO7tW0snptIHwLtM0iU1LyYkTh5M62IcLeqrozL
eNX9WZOk/OSqiwlJqg2mqB7R2ZRYtJaYf4qGmdQzQ2xMft16Vm+1q9WB0RY+RIJ7
RexE8fo+UrewdKkyuzMw6aMjpFm6iSakagx7Szc02RN9LnL9r63AsIbl0nDIxCQh
a933Oto7D2WbF+tl3OO+I0m2+xGt941VWUD+3yp/RBQcjnSieYIRSfwINlXiNVc+
6/+u3W0NhigH/qS88XH0gc3jQY0DixcGROvrtkVe4+1fwQEwGMrjtjG9aH3E2bif
HfPVdM8L2mhoKuUV7lg4rFLXPEk=
=+avA
-----END PGP SIGNATURE-----
## This file is provided by apt-file(1) to download Contents
## files, which is used by apt-file for searching.

Acquire::IndexTargets {
    deb::Contents-deb  {
        MetaKey "$(COMPONENT)/Contents-$(ARCHITECTURE)";
        ShortDescription "Contents-$(ARCHITECTURE)";
        Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Contents (deb)";

        flatMetaKey "Contents-$(ARCHITECTURE)";
        flatDescription "$(RELEASE) Contents (deb)";
        PDiffs "true";
        KeepCompressed "true";
    };

    # Download Contents for source files if there is a deb-src
    # line
    deb-src::Contents-dsc  {
        MetaKey "$(COMPONENT)/Contents-source";
        ShortDescription "Contents-source";
        Description "$(RELEASE)/$(COMPONENT) source Contents (dsc)";

        flatMetaKey "Contents-source";
        flatDescription "$(RELEASE) Contents (dsc)";
        PDiffs "true";
        KeepCompressed "true";
        DefaultEnabled "false";
    };

    # Configuration for downloading Contents files for
    # debian-installer packages (udebs).
    deb::Contents-udeb  {
        MetaKey "$(COMPONENT)/Contents-udeb-$(ARCHITECTURE)";
        ShortDescription "Contents-udeb-$(ARCHITECTURE)";
        Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Contents (udeb)";

        flatMetaKey "Contents-udeb-$(ARCHITECTURE)";
        flatDescription "$(RELEASE) Contents (udeb)";
        KeepCompressed "true";
        PDiffs "true";
        DefaultEnabled "false";
    };
    ### FALLBACKS
    deb::Contents-deb-legacy {
        MetaKey "Contents-$(ARCHITECTURE)";
        ShortDescription "Contents-$(ARCHITECTURE)";
        Description "$(RELEASE) $(ARCHITECTURE) Contents (deb)";

        PDiffs "true";
        KeepCompressed "true";
        Fallback-Of "Contents-deb";
        Identifier "Contents-deb";
    };
};
Dir::Etc::apt-file-main "apt-file.conf";
# Default for -I/--index-names (comma-separated)
apt-file::Index-Names "deb";
# Set to true, if you are working with Contents files generated by
# older versions of dak or reprepro (<< 5.2.0-1~) that includes a
# descriptive header.
apt-file::Parser::Check-For-Description-Header "false";

--- End Message ---
--- Begin Message ---
Niels Thykier:
> [...]
> 
> From my PoV, there are the following options for this bug:
> 
>  * Re-assign to apt for further investigation IRT performance of
>    applying PDiffs.
> 
>    - Unless there has been a regression since the blog posts above, I
>      fear their reaction will handle according to the next option.
> 
>  * Close as a duplicate of #649882 / #922240, which are known issues in
>    dak.
> 
>  * Repurpose this to a discussion on how to disable unnecessary Contents
>    files (possibly as a documentation bug in apt-file for how to disable
>    architecture specific Contents files).
> 
> Let me know which one(s) you prefer.
> 
> Thanks,
> ~Niels

The dak bug has been resolved and now we have merged PDiffs for unstable
and testing.

If you experience performance regressions, please file a new bug against
apt documenting the issue.

Since there is nothing to do on the apt-file side, I will now close this
bug as resolved.

Thanks,
~Niels

--- End Message ---

Reply to: