Skip to content

Errors building cloud-init in jammy, noble #6649

@rguptar

Description

@rguptar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions