Base images store out-of-date apt package caches
Metadata
Current evaluation
LXD base images ship stale apt package caches, so new build-packages (e.g. from a PPA) fail to install. Filed by a maintainer as a design question; craft-parts now refreshes the apt cache before installing build-packages, but no maintainer has confirmed the issue is resolved.
Suggested action: needs triage
Reason: No labels, no comments, and no maintainer acknowledgement in 285 days, so this has never been triaged. The core symptom appears addressed in craft-parts (commit c2836c97 'fix(deb): refresh apt cache before marking packages (#1468)' makes install_packages run apt-get update before marking, and snapcraft/parts/parts.py refreshes after installing package repositories), but the issue also raises unresolved design questions (async apt update on boot, retry-on-failure) and a workaround via a purge command (canonical/charmcraft#1042, still open and blocked by craft-providers#639), so it should not be auto-closed without a maintainer confirming the current behavior.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
22.5
Staleness:
70
Complexity:
55
Confidence:
55
Support Request:
10
|
needs triage | LXD base images ship stale apt package caches, so new build-packages (e.g. from a PPA) fail to install. Filed by a maintainer as a design question; craft-parts now refreshes the apt cache before installing build-packages, but no maintainer has confirmed the issue is resolved. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
65
Confidence:
90
Support Request:
10
|
needs triage | LXD base images used by snapcraft have stale apt caches, causing build-package installation failures when new packages appear in repos. Untriaged, no maintainer response after 8 months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
80
Complexity:
65
Confidence:
75
Support Request:
10
|
needs triage | LXD base images used by snapcraft have outdated apt caches, causing build-package installation failures. Unlabelled, no maintainer response, inactive for 230 days. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
45
Confidence:
85
Support Request:
15
|
needs triage | Snapcraft base images retain stale apt caches, causing build-package installation failures when new packages appear in repositories. Proposed fixes include pre-install updates or retry logic. Open 209 days, no comments, awaiting triage. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#1042
(confidence 85%)
Explicitly referenced in the issue body as a workaround (purge command for all apps); that issue is open and blocked by craft-providers#639.
-
Likely Fixed By:
craft-parts#1468
(confidence 60%)
craft-parts commit c2836c97 'fix(deb): refresh apt cache before marking packages' makes Ubuntu.install_packages run refresh_packages_list() before apt-cache mark, which should let new build-packages be found; not explicitly linked to this issue.
Related issues
No related issues found above the similarity threshold.