[REQUEST] Improve system stability & automatic cleanup for rolling release
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- linux, shell
- Domain
- operating-systems
Research direction
The issue names no repository files, tests, or implementation entry points; start by checking whether this placeholder repository contains code for any of the requested features. The proposed cleanup, update-channel, integrity-check, and AUR-isolation changes need to be narrowed to one deliverable before completion can be defined.
Written by the indexing model from the issue text.
Description
Problem / Motivation
CachyOS is a powerful rolling-release distro with excellent performance, but frequent system updates sometimes break existing functionality. For example:
-
Package stability: After recent updates, core KDE apps like Spectacle developed bugs (save dialog hijacked by HEIF/AVIF plugins) that do not exist on other distros with the same Plasma version (e.g., openSUSE Tumbleweed). This suggests CachyOS-specific packaging or build configuration issues.
-
System bloat: Over time, the system accumulates large amounts of build cache, orphaned packages, and leftover files — especially for users who install from AUR. There is no built-in automatic cleanup mechanism.
CachyOS markets itself as a performance-focused, user-friendly Arch alternative. But new users (and even experienced ones) are often surprised when a routine pacman -Syu breaks screenshot tools, image viewers, or other core desktop functionality.
##Proposed Solution
-
Stability-focused update channel (optional)
- A "stable" or "delayed" repo option that holds updates for 24-48 hours after Arch upstream, allowing critical bugs to be caught before reaching users.
- Or a pre-update warning system if a package update is known to break common desktop workflows.
-
Built-in automatic system cleanup
- A weekly/monthly systemd timer that safely clears:
- Orphaned packages (pacman -Rns $(pacman -Qtdq))
- Old package cache (pacman -Sc)
- User app caches (thumbnails, browser cache, etc.)
- Old build caches from ~/.cache/yay/
- A simple GUI toggle in System Settings: "Enable automatic system cleanup"
- A weekly/monthly systemd timer that safely clears:
-
Package integrity verification after updates
- After pacman -Syu, optionally run pacman -Qk to verify no files were corrupted/missed during update.
- Alert user if any package has missing files.
-
Better AUR build isolation
- AUR builds currently dump everything into ~/.cache/yay/ and can leave behind multi-GB folders if interrupted (e.g., webkit2gtk build). Consider:
- Automatic cleanup of failed/incomplete AUR builds
- Or building in /tmp by default with automatic wipe
- AUR builds currently dump everything into ~/.cache/yay/ and can leave behind multi-GB folders if interrupted (e.g., webkit2gtk build). Consider:
Alternatives Considered
Currently using manual workarounds:
- Custom cleanup scripts run manually
- Avoiding AUR builds when possible
- Using alternative apps (Flameshot instead of Spectacle) when CachyOS packages break
- Removing libheif and disabling kimageformats plugins manually
These workarounds are not sustainable for average users and do not address the root cause.
Additional Context
This request is based on real-world usage experience on CachyOS with KDE Plasma 6.7.4. The system is fast and well-optimized, but the maintenance overhead is higher than it should be for a distro that targets user-friendliness.
-
- Dominant language
- No language data
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CachyOS/distribution
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
CachyOS/distribution#521 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CachyOS/distribution#522 · 2 comments · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CachyOS/distribution#518 · 3 reactions ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
CachyOS/distribution#504 · 1 comment · 1 reaction ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CachyOS/distribution#460 · 1 reaction ·
All issues in CachyOS/distribution
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
type:content-error
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stephrobert/blog-roadmap#15 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/windows-rs#4979 ·
-
0.kind: bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100