Hello world tutorial doesn't work when using 24.04 base
Metadata
Current evaluation
Tutorial fails when base changed from 22.04 to 24.04 (bare + build-base); current docs use ubuntu@26.04, so the reported doc issue is resolved.
Suggested action: close resolved
Reason: The current docs/tutorial/code/hello-world/rockcraft.yaml uses base: ubuntu@26.04, and commit bdf0258d ('docs: update to ubuntu 26 base (#1213)') updated the tutorial away from the 22.04/24.04 bases that caused the reported failure. Since this is a documentation issue and the tutorial now uses a working base, the issue is resolved.
Evaluated by: mr-cal-bot
Impact:
30
Quick Win:
22
Complexity:
10
Confidence:
90
Actionability:
80
Issue body
### Bug Description
Trying to follow https://documentation.ubuntu.com/rockcraft/en/latest/tutorial/hello-world/#id1 but changing the base from 22.04 to 24.04 leads to an error
### To Reproduce
$ rockcraft pack
$ sudo rockcraft.skopeo --insecure-policy copy oci-archive:hello_latest_amd64.rock docker-daemon:hello:latest
$ docker run --rm hello:latest exec hello -t
error: cannot perform the following tasks:
- Execute command "hello" (fork/exec /usr/bin/hello: no such file or directory)
### Environment
On Ubuntu Plucky
$ rockcraft -V
rockcraft 1.12.0
### rockcraft.yaml
```yaml
$ cat rockcraft.yaml
name: hello
summary: Hello World
description: The most basic example of a rock.
version: "latest"
license: Apache-2.0
base: bare
build-base: ubuntu@24.04
platforms:
amd64:
parts:
hello:
plugin: nil
stage-packages:
- hello
```
### Relevant log output
```shell
$ docker run --rm hello:latest exec hello -t
error: cannot perform the following tasks:
- Execute command "hello" (fork/exec /usr/bin/hello: no such file or directory)
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| ~deepseek/deepseek-pro-latest |
Impact:
30
Quick Win:
22
Complexity:
10
Confidence:
90
Actionability:
80
|
close resolved | Tutorial fails when base changed from 22.04 to 24.04 (bare + build-base); current docs use ubuntu@26.04, so the reported doc issue is resolved. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
22
Complexity:
10
Confidence:
85
Actionability:
80
|
close resolved | Hello World tutorial fails with 24.04 base; resolved by updating tutorial to use ubuntu@26.04 base in commit bdf0258d | |
| qwen/qwen3.8-27b |
Impact:
30
Quick Win:
18
Staleness:
70
Complexity:
40
Confidence:
65
Support Request:
10
|
close stale | Hello World tutorial fails with bare base + ubuntu@24.04 build-base: 'hello' binary not found at runtime (usrmerge/loader issue). Tutorial has since been updated to use ubuntu@26.04 base, so the specific repro no longer matches current docs. No maintainer response; 0 comments. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
75
Complexity:
15
Confidence:
85
Support Request:
10
|
needs triage | Tutorial example fails when switching base to 24.04, causing a missing /usr/bin/hello error in the resulting container. Untriaged, no maintainer comments. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
40
Confidence:
80
Support Request:
10
|
needs triage | Tutorial fails with Ubuntu 24.04 base due to missing /usr/bin/hello in container. Unassessed bug report with no maintainer response after 7 months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
15
Confidence:
75
Support Request:
10
|
needs triage | Tutorial fails when using Ubuntu 24.04 base, causing a missing binary error during execution. Unassessed and inactive for over a year, requiring maintainer review to determine if documentation needs updating or if the problem was resolved elsewhere. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#1213
(confidence 95%)
Commit bdf0258d updated the hello-world tutorial rockcraft.yaml to use ubuntu@26.04, eliminating the 24.04 base failure.
Related issues
No related issues found above the similarity threshold.