Clean Up
Clean Up clears caches without running an update: the package cache, unused Flatpak runtimes, old Snap revisions and old journal entries.
Opening it#
Select Package Cache on the start page, or run simple-update --clean-up
in a terminal, which asks about each cache. simple-update --clean-up --yes
clears all of them.
Clean Up first measures what each cache would free, without root, and offers only those with something to clear.

What it clears#
| Cache | How it's cleared | Measured from |
|---|---|---|
| Package cache | apt-get clean. On Arch, the helper deletes the package files (*.pkg.tar*, their signatures and partial downloads) from each CacheDir itself, holding pacman's lock: pacman -Scc --noconfirm takes the default answer and keeps them |
The size of /var/cache/apt/archives or /var/cache/pacman/pkg |
| Unused Flatpak runtimes | flatpak uninstall --unused, as you, like Flatpak updates. Flatpak asks for the password itself for system-wide installations |
Flatpak has no dry run, so the app asks it to remove them and answers no, then looks up their sizes in flatpak list |
| Old Snap revisions | The helper removes each revision snap list --all marks disabled, the one Snap keeps to go back to |
The size of each revision's file in /var/lib/snapd/snaps |
| System journal | journalctl --rotate, then journalctl --vacuum-time=4weeks |
The archived journal files last written more than four weeks ago |
How it runs#
- The helper works out what to remove itself, so a caller can't name files or revisions.
- Clearing the package cache and removing Snap revisions hold the same lock as an update, so they never run alongside one.
- A cache that fails doesn't stop the others.
- Each run is recorded in the update history, but doesn't count as the last update on the start page.
On Arch, the cached packages are what pacman -U downgrades from, so after
clearing the cache an older version has to come from the Arch Linux Archive.
An update can also clean the package cache, with apt-get autoclean or
pacman -Sc, which keep the cached packages of what's installed; see
Choosing what runs. Clean Up clears the
whole cache.
View this page's source · Documentation for Simple Update 1.3.2