The repository 'https://dl.winehq.org/wine-builds/debian bullseye in Release' is not signed

Viewed 75

I'm running wine inside a docker container, it used to work, but suddenly i get this error when installing wine. Here is what i do:

Add the key:

ARG gpg_keyring_url=https://dl.winehq.org/wine-builds/winehq.key
ARG gpg_keyring=/usr/share/keyrings/winehq-archive.key
RUN curl -fsSL "$gpg_keyring_url" | gpg --dearmor -o "$gpg_keyring"

Add the sources:

ARG lsb_release=buster
ARG sources_url=https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
RUN curl -fsSL "$sources_url" > /etc/apt/sources.list.d/winehq-bullseye.sources

Install wine:

RUN apt-get update \
&& apt-get install -y --install-recommends winehq-staging \
&& apt-get clean -y

Anyone encounters the same issue today, it used to work exactly like that. How can i solve this?

0 Answers
Related