gpg:在 ubuntu 上安装 wine 包时,密钥 F987672F 出现“密钥服务器接收失败”

gpg:在 ubuntu 上安装 wine 包时,密钥 F987672F 出现“密钥服务器接收失败”

我正在尝试通过 Dockerfile 在 ubuntu 上安装 Wine 包。安装步骤如下;

RUN dpkg --add-architecture i386 \
    && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 76F1A20FF987672F \
    && apt-get update \
        && apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' \
        && wget https://dl.winehq.org/wine-builds/Release.key \
        && apt-key add Release.key \
        && apt update \
        && apt install -y --no-install-recommends winehq-staging

错误:

gpg: requesting key F987672F from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

相关内容