← Back to issue list

`base: bare` + `overlay_packages` = unhelpful error message

View original Github issue

Metadata

Project
rockcraft
Number
#136
Type
issue
State
open
Author
mr-cal
Labels
—
Created
Updated
Closed
—

Current evaluation

Combining base: bare with overlay-packages yields a raw missing apt-get error; an exact reproducer exists, but no triage or resolution is recorded.

Suggested action: needs triage

Reason: The report provides a complete YAML reproducer and the concrete '[Errno 2] ... apt-get' failure, making the diagnostic bug reproducible. However, the issue has no labels, comments, or maintainer disposition, and current schema and documentation still list overlay-packages while bare bases are documented as having no baseline system, leaving unclear whether the combination should be rejected or supported.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 15 Complexity: 35 Confidence: 84 Actionability: 78

Issue body

### Issue Defining a rock with `base: bare` and `overlay_packages` does not produce a useful error message. ### Error `Overlay environment execution error: [Errno 2] No such file or directory: 'apt-get'` ### Reproducer ``` name: hello-world version: latest build-base: ubuntu:20.04 base: bare summary: Hello World description: A Hello World rock license: Apache-2.0 cmd: [/usr/bin/hello, -t] platforms: amd64: parts: hello: plugin: nil overlay-packages: - hello ``` ### Output ``` Starting Rockcraft 0.0.1.dev1 Logging execution to '/home/developer/.cache/rockcraft/log/rockcraft-20221103-112142.847011.log' Launching instance... Starting Rockcraft 0.0.1.dev1 Logging execution to '/tmp/rockcraft.log' Retrieving base bare Retrieved base bare for amd64 Extracting bare:latest Extracted bare:latest Initializing parts lifecycle Executing parts lifecycle Overlay environment execution error: [Errno 2] No such file or directory: 'apt-get' Full execution log: '/tmp/rockcraft.log' craft-providers error: Failed to execute pack in instance. Full execution log: '/home/developer/.cache/rockcraft/log/rockcraft-20221103-112142.847011.log' ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 15
Complexity: 35
Confidence: 84
Actionability: 78
needs triage Combining base: bare with overlay-packages yields a raw missing apt-get error; an exact reproducer exists, but no triage or resolution is recorded.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 85
Actionability: 80
close resolved Issue about unhelpful error when using base: bare with overlay_packages. Resolved by PR #301 which blocks overlay usage with bare bases entirely.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 32
Staleness: 70
Complexity: 20
Confidence: 85
Support Request: 0
close not a bug base: bare + overlay_packages produced an unhelpful 'No such file or directory: apt-get' error. Fixed: project validation now blocks overlays on bare bases with a clear message.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 0
needs triage Unhelpful error message when using base: bare with overlay_packages, causing an apt-get not found failure. Issue lacks labels and maintainer response after over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 75
Support Request: 10
needs triage Unhelpful error message when combining base: bare with overlay_packages, resulting in a missing apt-get error. Issue remains unlabelled and unassessed after over three years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.