← Back to issue list

Recommended dependencies always installed

View original Github issue

Metadata

Project
craft-parts
Number
#163
Type
issue
State
open
Author
cmatsuoka
Labels
Created
2022-01-26 13:46:38+00:00
Updated
2025-03-11 14:29:24+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

@valentindavid reports: > When adding packages to section "build-packages", it seems snapcraft tries to install the recommended dependencies. I have tried both 5.x/stable and latest/stable. It calls "apt install" with "--no-install-recommends". But it also passes as parameter all the recommended packages. Probably because it gets those when trying to resolve the versions using the AptCache API. Is that normal? Is there a way to not get recommended dependencies? Craft-parts should be fixed to not install recommended dependencies.

Evaluation history

No evaluation history available.