Skip to content
Simple Update

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.

Clean Up, offering to clear the package cache, three unused Flatpak runtimes and old journal entries, with how much each frees

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#

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