Speeding up "apt update" with Acquire::Languages=none and Contents-deb::DefaultEnabled=false - It's so much faster!

To manually test, non-persistently:

sudo apt update -o Acquire::Languages=none -o Acquire::IndexTargets::deb::Contents-deb::DefaultEnabled=false

Or same persistent as configuration drop-in file /etc/apt/apt.conf.d/30lowfat:

Acquire::Languages none;
Acquire::IndexTargets::deb::Contents-deb::DefaultEnabled false;

It’s roughly 140 KB vs 43 MB. Seconds vs real delay.

I wonder if this should become the default for Whonix and Kicksecure.

We’d loose translations something. I don’t even know where - since I always use English as default language - to be on par with the defaults that users will use. Probably translations for apt-cache show pkg-name or so. But only for those who change the system language for APT. Dunno if anyone is doing that actually. If that’s a problem, it would be better to have instructions how to reactivate this for desired languages only.

We might also loose default apt-file list pkg-name but those who want that can (and probably have to use anyhow) sudo apt-file update.

1 Like

Yes please. I currently dread updating my machine with the amount of time a package list refresh takes.

1 Like
1 Like