canonical / canonical/cloud-init

Errors building cloud-init in jammy, noble

Open
#6,649 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

# Bug report
Building cloud-init in Ubuntu 22.04 fails as it attempts to install `dhcpcd-base`, which is not available in the 22.04 repositories. This occurs during the call to `./tools/read-dependencies --distro ubuntu --test-distro`.

In addition, when building cloud-init in Ubuntu 24.04, we see a package version conflict. The image has 25.4 but the latest tag on main is 25.3:
```
Command: ['dch', '--distribution', 'UNRELEASED', '--newversion', '25.3-78-g9979e564-1~bddeb', '--controlmaint', 'Snapshot build.']
Exit code: 25
Reason: -
Stdout:
Stderr: dch: fatal error at line 1221:
New version specified (25.3-78-g9979e564-1~bddeb) is less than
the current version number (25.4-0ubuntu1~24.04.1)! Use -b to force.
```

## Steps to reproduce the problem

## Environment details
- Cloud-init version: 25.3
- Operating System Distribution: Ubuntu
- Cloud provider, platform or installer type: Azure

## cloud-init logs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.