← Back to issue list

apt_cache: ignore unreadable files in /etc/apt

View original Github issue

Metadata

Project
craft-parts
Number
#379
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged #379 (commit 407d46eb), making AptCache skip unreadable files under /etc/apt; the fix shipped in craft-parts 1.19.0 and closed #378.

Resolution: closed resolved

Reason: PR #379 was merged with approval and implemented the fix in commit 407d46eb. The changelog for version 1.19.0 confirms the AptCache behavior change.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Fixes #378

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #379 (commit 407d46eb), making AptCache skip unreadable files under /etc/apt; the fix shipped in craft-parts 1.19.0 and closed #378.
stealth/space-bunny-alpha — closed resolved Merged craft-parts#379 made apt_cache ignore unreadable files in /etc/apt, fixing #378 (commit 407d46eb).
qwen/qwen3.6-35b-a3b — — Merged after resolving issue #378. The apt_cache module now ignores unreadable files in /etc/apt. Approved by one reviewer, passed CI checks, and modified two files with 35 additions and 2 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Resolves #378 by updating apt_cache to skip unreadable files in /etc/apt. Implemented by maintainer lengau.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#378 AptCache stage cache fails if the current user can't read a file in /etc/apt craft-parts closed Fixed in canonical/craft-parts#379 (407d46eb): AptCache now ignores unreadable /etc/apt files, preventing restricted auth.conf.d entries from breaking stage caching.
78%
#3528 apt cache: improve error handling when packages do not have candidates available (CRAFT-136) (CRAFT-218) snapcraft merged Merged #3528, adding missing APT candidate checks and limiting unmarking to relevant packages, preventing crashes when repositories expose no candidate.
73%