← Back to issue list

AptCache stage cache fails if the current user can't read a file in /etc/apt

View original Github issue

Metadata

Project
craft-parts
Number
#378
Type
issue
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in canonical/craft-parts#379 (407d46eb): AptCache now ignores unreadable /etc/apt files, preventing restricted auth.conf.d entries from breaking stage caching.

Resolution: closed resolved

Reason: PR #379 was merged as commit 407d46eb, titled "apt_cache: ignore unreadable files in /etc/apt." This directly addressed the AptCache stage-cache failure caused by unreadable /etc/apt files.

Evaluated by: mr-cal-bot

No scores available.

Issue body

For example when I'm running `test_ant_plugin` it fails because of files in `/etc/apt/auth.conf.d`.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in canonical/craft-parts#379 (407d46eb): AptCache now ignores unreadable /etc/apt files, preventing restricted auth.conf.d entries from breaking stage caching.
stealth/space-bunny-alpha — closed resolved Fixed in canonical/craft-parts#379 (407d46eb): AptCache now ignores unreadable /etc/apt files, preventing stage-cache failures caused by restricted auth.conf.d files.
qwen/qwen3.6-35b-a3b — — Closed without a fix or discussion. The AptCache stage cache failure triggered by unreadable /etc/apt/auth.conf.d files during test_ant_plugin remains unresolved, indicating the report was abandoned or marked unactionable.
qwen/qwen3.6-35b-a3b — — Abandoned. The AptCache stage cache failure caused by unreadable /etc/apt files during test_ant_plugin received no comments or follow-up pull requests.
qwen/qwen3.6-35b-a3b — — Closed without resolution or discussion. Reported AptCache stage cache failures triggered by unreadable files in /etc/apt, such as auth.conf.d.
qwen3.6-35b-a3b-mtp-q6 — — Closed without a fix or resolution. Zero comments or related pull requests indicate the problem was abandoned or resolved externally.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#379 (confidence 100%)

    Merged commit 407d46eb makes AptCache ignore unreadable /etc/apt configuration files.

Related issues

Issue Project State Summary Similarity
#379 apt_cache: ignore unreadable files in /etc/apt craft-parts merged Merged #379 (commit 407d46eb), making AptCache skip unreadable files under /etc/apt; the fix shipped in craft-parts 1.19.0 and closed #378.
78%