AcreetionOS System Maintenance Guide: Keeping Arch Clean & Stable
Official AcreetionOS Documentation & Step-by-Step Tutorial
1. What is System Maintenance on AcreetionOS?
AcreetionOS is built on a rolling-release Arch Linux base. Unlike fixed-release distributions that require major OS upgrades every six months to two years, AcreetionOS receives continuous updates. Regular, proactive maintenance keeps your desktop fast, responsive, secure, and rock-solid.
2. Recommended Maintenance Schedule
- Weekly: Run system updates and review release notes.
- Monthly: Clean the pacman cache and remove orphaned packages.
- Quarterly: Vacuum systemd logs and inspect failed background services.
3. Step-by-Step Maintenance Instructions
A. Updating Your System
You can update AcreetionOS using the Software Center GUI or through the terminal:
# Full system synchronization and upgrade
sudo pacman -Syu
# If using AUR packages via yay:
yay -Syu
B. Cleaning the Package Cache
Pacman stores downloaded package archives in /var/cache/pacman/pkg/. To free disk space while keeping current versions for safety:
# Remove old versions, keeping only installed packages
sudo paccache -r
# Remove all uninstalled package archives
sudo paccache -ruk0
C. Removing Orphaned (Unused) Dependencies
When you uninstall software, unused dependencies might stay behind. Safely clean them up:
# Check and remove orphans
sudo pacman -Rns $(pacman -Qdtq)
D. Managing System Logs
Prevent systemd journal logs from consuming excessive disk space:
# Limit systemd journal size to 200MB
sudo journalctl --vacuum-size=200M
4. Troubleshooting Common Maintenance Issues
Database Lock Error (db.lck)
If a previous update was interrupted, pacman may report a locked database. Verify no update process is running, then remove the lock:
sudo rm /var/lib/pacman/db.lck
Keyring Verification Errors
If you encounter GPG signature errors during updates, refresh the Arch Linux and AcreetionOS keyrings:
sudo pacman -Sy archlinux-keyring
sudo pacman -Syu