Skip to content

yarnpkg signature couldn't be verified #396

@nollm

Description

@nollm

I use the dotnet-postgres template with .NET 8.0 and uncomment the lines to install additional packages via apt-get.
When I build the container I get the following error.

 => ERROR [dev_container_auto_added_stage_label 2/2] RUN apt-get update &  3.2s
------
 > [dev_container_auto_added_stage_label 2/2] RUN apt-get update && export DEBIAN_FRONTEND=noninteractive     && apt-get -y install --no-install-recommends zip unzip:
0.376 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.459 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
0.465 Get:3 https://dl.yarnpkg.com/debian stable InRelease
0.509 Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.513 Err:3 https://dl.yarnpkg.com/debian stable InRelease
0.513   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
0.543 Get:5 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
1.484 Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
1.486 Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [293 kB]
2.067 Reading package lists...
2.382 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2.382 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.

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