← Back to issue list

Why snapcraft clean ,clears apt-get cache and downloaded debian files ?

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1593380
Type
issue
State
closed
Author
~keshavnrj
Labels
snap snapcraft
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution, likely abandoned or rejected. The report questioned snapcraft clean clearing apt cache and debs, requesting selective cleanup, but received no maintainer response.

Suggested action:

No scores available.

Issue body

Snapcraft clears apt-get cache and download directory inside parts/application/ubuntu/ everytime user runs snapcraft clean ?? whats the benefit of that ?? Due to this user need to download approx 28mb (in my case) of apt cache (which include 7mb+ of icons which are useless or not required for building an application :D). Like in a normal ubuntu system we do apt-get update to get new cache ,without deleting the older one , and do apt-get install somepackage (say its version 3) will not delete all apt downloaded packages cache to get new version of app, it keep the downloaded archives in cache which is usefull and saves your Internet data and bandwidth. So this is a bug and should be resolved soon . My suggestions for developers- create a new command to clean apt-archive and leave it up to the users if they wana delete old debs or not . this will also allow him create packages when he will be off-line .

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution, likely abandoned or rejected. The report questioned snapcraft clean clearing apt cache and debs, requesting selective cleanup, but received no maintainer response.
qwen/qwen3.6-35b-a3b Closed with no comments or resolution. The suggestion to preserve the apt cache was not implemented, indicating the issue was abandoned or marked as by design.
qwen3.6-35b-a3b-mtp-q6 The request to preserve apt cache during snapcraft clean was closed without discussion or resolution. The feature request was abandoned due to lack of maintainer response.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1615060 snapcraft clean is incomplete snapcraft (launchpad) closed Reporting that snapcraft clean skips local .snap files was closed without comments or resolution, indicating the report was abandoned or left unresolved.
76%
#1800119 snapcraft cleanbuild snapcraft (launchpad) closed Closed without resolution. The report details a PermissionError during snapcraft cleanbuild caused by restricted access to the .aptitude directory. With zero comments and no fix applied, the issue was abandoned or marked stale.
75%
#1578170 Your first snap: snapcraft clean needed before second snapcraft stage snapcraft (launchpad) closed Closed and abandoned without resolution. The issue highlights a documentation gap where the Ubuntu snap tutorial skips steps on re-runs unless snapcraft clean is run first. No fix or update was applied.
72%
#1675516 can't cleanbuild snapcraft itself snapcraft (launchpad) closed Closed without resolution or comments, the report of a failed snapcraft cleanbuild due to missing build-packages was abandoned.
72%
#1663625 No script named 'snapcraft' snapcraft (launchpad) closed A report of snapcraft failing after apt installation was closed without resolution or comments, indicating the matter was abandoned.
71%
#1666735 snapcraft cleanbuild does not work with lxd installed via snap snapcraft (launchpad) closed Closed without resolution or merge. The report notes snapcraft cleanbuild fails to detect LXD installed via snap, suggesting checks via snap list or lxc list instead of apt cache. No fix was implemented or documented.
71%