Skip to content

apt-key no longer available on ubuntu 25.04 #1228

@scoopex

Description

@scoopex

Describe the Bug

When adding a apt key the module puppetlabs-docker failes because the tool "apt-key" is no longer part of ubuntu apt.
"apt::source" or "apt::key" seems to rely on that tool.

The tool is not delivered anymore by ubuntu packages.

Expected Behavior

Remove the dependency to apt-key and keep the signatures to not break existing modules.

Steps to Reproduce

Use a source defined like that on Ubuntu 25.04.

apt::source { 'docker':
  location     => $location,
  architecture => $architecture,
  release      => $release,
  repos        => $package_repos,
  key          => {
    id     => $package_key,
    source => $key_source,
  },
  include      => {
    src => false,
  },

Environment

  • Puppet 8
  • Ubuntu 25.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions