← Back to issue list

Do not run apt update in a compulsive way

View original Github issue

Metadata

Project
craft-parts
Number
#566
Type
issue
State
open
Author
sergiusens
Labels
Created
2023-10-16 20:00:53+00:00
Updated
2025-03-11 14:29:08+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description Apt update is always run, this makes little sense as in: - managed mode, we are provided with an updated environment - in host mode, we can update if required ### To Reproduce setup a craft project that requires apt packages ### part yaml ```shell parts: hello: plugin: autotools source: https://ftp.gnu.org/gnu/hello/hello-2.12.1.tar.gz ``` ### Relevant log output ```shell Initialising lifecycle :: Unknown error: Failed to refresh package list: failed to run apt update. ```

Evaluation history

No evaluation history available.