Stage package cache is never cleaned

Bug #1663051 reported by Kyle Fazzari
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

Snapcraft caches stage packages in caches unique to the hash of the sources. It does this so, for example, packages from the Catkin plugin (which uses a different set of archives) is kept separate from packages from the normal archives. However, this cache is never cleaned and will grow over time, as new packages are fetched and as sources change.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

An easy workaround is to manually remove the cache (~/.cache/snapcraft), so setting to Medium.

Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I started to report this yesterday but was unsure if it was actually a feature. In my case I deleted almost 1GB. Perhaps snapcraft needs a reset-cache option.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Yeah simply exposing an easy way to manually clear the cache (ala apt-get clean) is probably the easiest solution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.