Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed #1932

Closed
m1nyasha opened this issue Jan 25, 2023 · 10 comments
Closed

Comments

@m1nyasha
Copy link

Self-Hosted Version

23.1.0

CPU Architecture

x64

Docker Version

20.10.17

Docker Compose Version

1.29.2

Steps to Reproduce

I'm used Ubuntu 20.04.4 LTS (my VDS) and Ubuntu 22.04.1 LTS (local). Everywhere the error is repeated.

  1. clone release 23.1.0
  2. start installation (install.sh)

Expected Result

The installation should be successful.

Actual Result

...
#35 [symbolicator-cleanup-self-hosted-local 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*
#35 22.69 Get:5 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages [216 kB]
#35 22.81 Get:6 https://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#35 ...

#36 [snuba-cleanup-self-hosted-local 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*
#36 20.22 Get:8 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages [216 kB]
#36 20.37 Get:9 https://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#36 20.93 Reading package lists...
#36 21.23 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
#36 21.23 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
#36 ERROR: executor failed running [/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*]: exit code: 100

#35 [symbolicator-cleanup-self-hosted-local 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*
#35 CANCELED

#38 [sentry-cleanup-self-hosted-local 5/5] COPY entrypoint.sh /entrypoint.sh
#38 CANCELED
------
 > [snuba-cleanup-self-hosted-local 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*:
#0 1.740 Get:3 https://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#0 1.907 Get:4 https://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#0 2.134 Get:5 https://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
#36 10.91 Get:6 https://deb.nodesource.com/node_19.x bullseye InRelease [4586 B]
#36 11.68 Get:7 https://deb.nodesource.com/node_19.x bullseye/main amd64 Packages [774 B]
#36 20.22 Get:8 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages [216 kB]
#36 20.37 Get:9 https://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#36 20.93 Reading package lists...
#36 21.23 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
#36 21.23 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
------
failed to solve: executor failed running [/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*]: exit code: 100
Error in build-docker-images.sh:8.
'$dcb --force-rm $service' exited with status 17
-> ./install.sh:main:29
--> build-docker-images.sh:source:8

Event ID

No response

@KenguruKleo
Copy link

KenguruKleo commented Jan 25, 2023

The same issue

Self-Hosted Version
23.1.0

Docker version 20.10.23

Docker Compose version v2.15.1

Tried next AWS images:
Ubuntu: ami-00874d747dde814fa
Amazon-Linux: ami-0fe472d8a85bc7b0e

@astappiev
Copy link

astappiev commented Jan 25, 2023

Dirty fixed by adding RUN rm -f /etc/apt/sources.list.d/yarn.list in cron/Dockerfile before RUN apt-get update...

As the command only needs to install cron package, we don't need the yarn repository here.

@rene-schwabe
Copy link

Dirty fixed by adding RUN rm -f /etc/apt/sources.list.d/yarn.list in cron/Dockerfile before RUN apt-get update...

As the command only needs to install cron package, we don't need the yarn repository here.

Thanks. This one did it.

@hubertdeng123
Copy link
Member

Seeing this as well, looking into it

@hubertdeng123
Copy link
Member

This has now been fixed here, seems to be working for me now.

@Sebbo94BY
Copy link
Contributor

@hubertdeng123 I guess we need a new release / version to get this working with 23.1.0 or will it just work when we re-try it with the same version?

If a new release / version is required: When will this be available?

This issue is currently blocking fresh installations and updates of existing installations.

@chadwhitacre chadwhitacre mentioned this issue Jan 25, 2023
6 tasks
@chadwhitacre
Copy link
Member

chadwhitacre commented Jan 25, 2023

Sorry for the trouble, everyone. 😞

We'll cut a 23.1.1 release tomorrow, I made a ticket #1935 if you want to follow along.

@chadwhitacre
Copy link
Member

I'm gonna go ahead and reopen this, we'll close it with the 23.1.1 release.

@Sebbo94BY
Copy link
Contributor

I can confirm, that this issue has been fixed with the release 23.1.1.

I could successfully update my Sentry.

@chadwhitacre
Copy link
Member

Thanks for reporting back @Sebi94nbg, calling this good. 👍

@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants