Flatpak Repo Temp
Flatpak keeps a temporary workspace under /var/lib/flatpak/repo/tmp while it downloads OSTree objects, assembles static deltas, verifies commits, and stages repository transactions. That directory can accumulate interrupted download fragments, partially written object files, unpacked delta data, and temporary metadata left behind by failed or aborted installs, updates, or removals. Kudu clears those disposable repo temp files without touching installed apps, remotes, user data, settings, or account information, and because the path is system-wide it requires admin privileges.
Why clean Flatpak Repo Temp?
- Interrupted flatpak update or install jobs can leave partial OSTree objects and delta fragments in repo/tmp, so later operations may appear to hang on download or restart the transfer from zero
- Aborted repository transactions leave stale temporary directories behind, which shows up as unexplained disk usage under /var/lib/flatpak even though no new apps were installed
- Corrupt temp metadata from a failed verification step can trigger repeated checksum or pull errors, causing flatpak update to fail until the temporary state is cleared
- Large static delta unpacking jobs can strand gigabytes of scratch data after a crash or forced shutdown, leaving users with sudden low-disk-space warnings during future updates
- Old lock-adjacent temporary state can make repository maintenance look stuck on processing objects or pruning, especially after a previous admin action was interrupted
- Cleaning removes disposable staging files rather than deployed runtimes or applications, so it resolves temp-directory bloat and failed transaction leftovers without deleting installed software
- If Flatpak's repository metadata databases have grown through repeated writes, SQLite page fragmentation can waste space and slow metadata access; VACUUM rewrites the database pages compactly without deleting rows or removing installed refs
Cache paths Kudu targets
Linux
/var/lib/flatpak/repo/tmp |
Common questions about Flatpak Repo Temp
Download Kudu and reclaim your disk space.
Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.