Skip to content

Deployment fails on Debian trixie #62

Description

@clementbiron

Deployment fails on Debian trixie since 2026-02-01 because the NodeSource GPG key uses SHA-1, which is now rejected by apt.

Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance because: SHA1 is not considered secure since 2026-02-01T00:00:00Z

Debian trixie provides Node.js 22.x in its official repositories.

Suggested fix: Replace the NodeSource repository with Debian's native nodejs package.

  - name: Install Node.js
    ansible.builtin.apt:
      name: nodejs
      state: present
      update_cache: true

  - name: Install NPM
    ansible.builtin.apt:
      name: npm
      state: present

See: nodesource/distributions#1908

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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