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 disable APT cache or move cache, lists and downloads to RAM #2904

Merged
merged 14 commits into from
Jun 12, 2019

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jun 10, 2019

Status: Ready

  • DietPi-Config > Advanced Options > APT Cache
  • DietPi-PREP+Patch | Disable cache by default
  • Changelog

Reference: #2840

Commit list/description:

  • DietPi-Set_software | Add function to disable APT cache or move cache, lists and downloads to RAM
  • DietPi-Set_software | apt-cache: Add option to clean all safe APT data that is recreated with apt update
  • DietPi-Set_software | apt-cache: Allow to move archive downloads to RAM as well if cache is currently on disk
  • DietPi-Config | Add menu to manage APT cache/lists/archive storage

+ DietPi-Set_software | Add function to disable APT cache or move cache, lists and downloads to RAM
+ DietPi-Set_software | apt-cache: Add option to clean all safe APT data that is recreated with apt update
+ DietPi-Set_software | apt-cache: Allow to move archive downloads to RAM as well if cache is currently on disk
+ DietPi-Config | Add menu to manage APT cache/lists/archive storage
+ DietPi-Set_software | APT update silently fails to create /tmp/apt sub directories for cache and state. Using /tmp/apt for both works, even if this does not exist.
+ DietPi-Config | APT cache: Only allow to move APT archives to RAM if cache is in RAM (or disabled) already
+ DietPi-Set_software | apt-cache: Further fine tuning to resolve all possible issues due to parent dirs are not auto-created by APT calls
+ DietPi-Set_software | apt-cache: archives to RAM also sets cache to RAM (option disabled in dietpi-config anyway if cache on disk)
+ DietPi-Set_software | apt-cache: Leave archives on disk by default when disabling/moving cache to RAM
+ DietPi-Config | APT cache: Add reset  option
+ DietPi-Config | APT cache: Enhance menu info
+ DietPi-Set_software | Syntax
+ DietPi-Config | Syntax
+ DietPi-Set_software | apt-cache: Even archives sub dir is required if cache in RAM
+ DietPi-Patch | Disable APT cache by default and inform user
+ DietPi-Patch | Only apply new APT cache settings once
+ CHANGELOG | APT Cache: We added new options to "dietpi-config" > "Advanced Options" > "APT Cache" to disable the APT cache or move cache, repo lists and/or package download dir to RAM
+ DietPi-PREP | Use new DietPi-Set_software function to disable and clear APT cache
@MichaIng MichaIng merged commit 7938a50 into dev Jun 12, 2019
@MichaIng MichaIng deleted the apt-cache branch June 12, 2019 01:28
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.

1 participant