← Back to issue list

Apt cache has no parent directory in xdg-cache

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1635611
Type
issue
State
closed
Author
~blr
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR snapcore/snapcraft#887 (commit d30ce194a), moving APT configuration and package caches under .cache/snapcraft/apt/sources-list-digest.

Resolution: closed resolved

Reason: Launchpad records the bug as resolved by merged PR snapcore/snapcraft#887. Commit d30ce194a separated APT cache data from Snapcraft's general cache directory.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Currently debs are cached in $HOME/.cache/snapcraft/sources-list-hash/, but should probably be in $HOME/.cache/snapcraft/apt/sources-list-hash/ as snapcraft may want to cache other things in .cache/snapcraft such as shared parts, and built snaps.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR snapcore/snapcraft#887 (commit d30ce194a), moving APT configuration and package caches under .cache/snapcraft/apt/sources-list-digest.
stealth/space-bunny-alpha — closed resolved Resolved by merged PR snapcore/snapcraft#887, moving APT configuration and package caches under .cache/snapcraft/apt/sources-list-digest.
stealth/space-bunny-alpha — closed resolved Fixed in canonical/snapcraft#887 by moving APT configuration and package caches under .cache/snapcraft/apt/sources-list-digest.
qwen/qwen3.6-35b-a3b — — The request to isolate apt cache under .cache/snapcraft/apt/ was closed without implementation, likely abandoned due to inactivity. The caching structure remains unchanged.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The suggestion to nest the apt cache under a dedicated parent directory in xdg-cache was not implemented.
qwen/qwen3.6-35b-a3b — — Proposed restructuring the apt cache path under xdg-cache for better organization. The report was closed without resolution or comments, indicating it was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The proposed apt cache directory restructuring under xdg-cache was abandoned due to inactivity. No implementation occurred.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#887 (confidence 100%)

    Merged as commit d30ce194a; it added the apt cache parent directory and relocated APT configuration and package caches.

Related issues

Issue Project State Summary Similarity
#887 Cache apt related files (config, packages) in 'apt' parent directory. snapcraft merged Merged in #887 via d30ce194a, moving APT config and package caches under .cache/snapcraft/apt/sources-list-digest to separate APT data from other Snapcraft caches.
82%