Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Config | Add option to toggle APT list compression #5447

Merged
merged 1 commit into from
Apr 21, 2022
Merged

Conversation

MichaIng
Copy link
Owner

  • DietPi-Config | It is now possible toggle APT list compression. APT package lists are zx-compressed by default on DietPi, which reduces disk writes during APT updates and disk usage of APT lists by about 80%. But it slows down APT installs/upgrades, especially when a large number of packages is installed/upgraded, since parsing compressed lists for e.g. building the dependency tree is done quite inefficiently. The option can be found in "dietpi-config" > "Advanced Options" > "APT".
  • DietPi-Set_software | The "apt-cache" command has been renamed to "apt" to better reflect its options, which do not cover the APT cache only, but APT lists and the location of the downloaded package archive as well. For backwards compatibility, "apt-cache" however remains valid for now.
  • DietPi-Set_software | When using the "allo eth_static" command to apply static Ethernet interface settings, it is now possible to leave further positional arguments (address, gateway, netmask, dns-nameservers) empty (empty string '') or skipping the last ones. Only the defined non-empty arguments will be applied while other settings remain unchanged.

- DietPi-Config | It is now possible toggle APT list compression. APT package lists are xz-compressed by default on DietPi, which reduces disk writes during APT updates and disk usage of APT lists by about 80%. But it slows down APT installs/upgrades, especially when a large number of packages is installed/upgraded, since parsing compressed lists for e.g. building the dependency tree is done quite inefficiently. The option can be found in "dietpi-config" > "Advanced Options" > "APT".
- DietPi-Set_software | The "apt-cache" command has been renamed to "apt" to better reflect its options, which do not cover the APT cache only, but APT lists and the location of the downloaded package archive as well. For backwards compatibility, "apt-cache" however remains valid for now.
- DietPi-Set_software | When using the "allo eth_static" command to apply static Ethernet interface settings, it is now possible to leave further positional arguments (address, gateway, netmask, dns-nameservers) empty (empty string '') or skipping the last ones. Only the defined non-empty arguments will be applied while other settings remain unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DietPi-Globals | Address long APT phases without output DietPi-Config | Allow to change APT list compression
1 participant