APT /etc/apt/apt.conf.d/docker-gzip-indexes

Original 📋 Ubuntu 18.04 LTS (Bionic Beaver) 1 lines

Works On

Viewing:
Ubuntu 18.04 LTS (Bionic Beaver)
Same on:
Ubuntu 20.04 LTS (Focal Fossa) Ubuntu 22.04 LTS (Jammy Jellyfish) Ubuntu 24.04 LTS (Noble Numbat)
Other versions:

Details

Size
1 lines
MD5
1caa06055a7a74a29c4476dccfb4726a
SHA256
151044925acbe5c83434424d1b628e208790ecb2db0aabbe83dc8622495cf846
/etc/apt/apt.conf.d/docker-gzip-indexes
Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/1caa06055a7a74a29c4476dccfb4726a?hint=docker-gzip-indexes
wget:
wget -O docker-gzip-indexes https://exampleconfig.com/api/v1/config/original/1caa06055a7a74a29c4476dccfb4726a?hint=docker-gzip-indexes

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/1caa06055a7a74a29c4476dccfb4726a?hint=docker-gzip-indexes' /><config><app>APT</app><os>Ubuntu 18.04 LTS (Bionic Beaver)</os><location>/etc/apt/apt.conf.d/docker-gzip-indexes</location><lines>1</lines><md5>1caa06055a7a74a29c4476dccfb4726a</md5><sha256>151044925acbe5c83434424d1b628e208790ecb2db0aabbe83dc8622495cf846</sha256></config></prompt>

Paste into Claude, ChatGPT, or any AI assistant.

Install APT

Debian

sudo apt update && sudo apt install apt

Ubuntu

sudo apt update && sudo apt install apt

File Location

File Path
/etc/apt/apt.conf.d/docker-gzip-indexes
Directory
/etc/apt/apt.conf.d/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this docker-gzip-indexes?

Use it to restore a missing default, confirm what shipped, or diff against your current APT config.

How do I restore APT defaults?

Download the file, back up the current one in /etc/apt/apt.conf.d/docker-gzip-indexes, replace it, then reload or restart APT.

Is docker-gzip-indexes safe for production?

It is the vendor default for Ubuntu 18.04 LTS (Bionic Beaver). Treat it as a baseline and review security and performance settings before production use.

How does this differ from other OS versions?

Defaults vary by distro and version. This copy matches Ubuntu 18.04 LTS (Bionic Beaver).

Can I use this for APT troubleshooting?

Yes. Diff it against yours to find drift, then restore only the sections you need.