-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
None
-
None
=> ERROR [ 6/11] RUN cp docker/yarn_pubkey.txt /tmp && cd /tmp && 4.0s
------
{{ > [ 6/11] RUN cp docker/yarn_pubkey.txt /tmp && cd /tmp && apt-key add yarn_pubkey.txt && refreshed_keys=''; for pgp_server in $(tr ' ' '\n' <<<"ha.pool.sks-keyservers.net ipv4.pool.sks-keyservers.net p80.pool.sks-keyservers.net:80"); do for attempt in {1..3}; do apt-key adv --keyserver "$pgp_server" --refresh-keys Yarn --textmode 2>&1 &&
{ refreshed_keys='yes'; break; } || echo "Temporary failure: apk-key/gpg returned error code '$?' on attempt #$attempt to reach '$pgp_server'."; done; if [[ $refreshed_keys == yes ]]; then break; fi; done; if [[ $refreshed_keys != yes ]]; then echo >&2 'Fatal error: Failed all attempts to refresh PGP keys.'; echo >&2 'Try passing a list of PGP servers that work for you as build argument:'; echo >&2 ''; echo >&2 ' docker-compose build -build-arg PGP_SERVERS="LIST" musicbrainz'; echo >&2 ''; echo >&2 "Current LIST is "ha.pool.sks-keyservers.net ipv4.pool.sks-keyservers.net p80.pool.sks-keyservers.net:80""; EX_TEMPFAIL=75; exit $EX_TEMPFAIL; fi; unset attempt pgp_server refreshed_keys; echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && apt-get update -o Dir::Etc::sourcelist="sources.list.d/yarn.list" -o Dir::Etc::sourceparts="" -o APT::Get::List-Cleanup="0" && curl -sSLO --retry 5 https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/nodejs_16.1.0-deb-1nodesource1_amd64.deb && dpkg -i nodejs_16.1.0-deb-1nodesource1_amd64.deb && apt-get purge -qy cmdtest && apt-get install --no-install-recommends -qy yarn && rm /tmp/* && rm -rf /var/lib/apt/lists/*:}}
#9 0.506 OK
#9 0.611 Executing: /tmp/apt-key-gpghome.cC6RzFX8tK/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --refresh-keys Yarn --textmode
#9 0.618 gpg: Note: '--textmode' is not considered an option
#9 0.650 gpg: refreshing 1 key from hkp://ha.pool.sks-keyservers.net
#9 1.852 gpg: keyserver refresh failed: No name
#9 1.863 Temporary failure: apk-key/gpg returned error code '2' on attempt #1 to reach 'ha.pool.sks-keyservers.net'.
#9 1.959 Executing: /tmp/apt-key-gpghome.9wZdyZSQV4/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --refresh-keys Yarn --textmode
#9 1.963 gpg: Note: '--textmode' is not considered an option
#9 1.994 gpg: refreshing 1 key from hkp://ha.pool.sks-keyservers.net
#9 2.020 gpg: keyserver refresh failed: No name
#9 2.032 Temporary failure: apk-key/gpg returned error code '2' on attempt #2 to reach 'ha.pool.sks-keyservers.net'.
#9 2.131 Executing: /tmp/apt-key-gpghome.jCeRD0XfE4/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --refresh-keys Yarn --textmode
#9 2.134 gpg: Note: '--textmode' is not considered an option
#9 2.166 gpg: refreshing 1 key from hkp://ha.pool.sks-keyservers.net
#9 2.193 gpg: keyserver refresh failed: No name
#9 2.205 Temporary failure: apk-key/gpg returned error code '2' on attempt #3 to reach 'ha.pool.sks-keyservers.net'.
#9 2.301 Executing: /tmp/apt-key-gpghome.vJtaSFgUNk/gpg.1.sh --keyserver ipv4.pool.sks-keyservers.net --refresh-keys Yarn --textmode
#9 2.304 gpg: Note: '--textmode' is not considered an option
#9 2.336 gpg: refreshing 1 key from hkp://ipv4.pool.sks-keyservers.net
#9 3.214 gpg: keyserver refresh failed: No name
#9 3.224 Temporary failure: apk-key/gpg returned error code '2' on attempt #1 to reach 'ipv4.pool.sks-keyservers.net'.
#9 3.321 Executing: /tmp/apt-key-gpghome.Im6XXD1xDY/gpg.1.sh --keyserver ipv4.pool.sks-keyservers.net --refresh-keys Yarn --textmode
#9 3.324 gpg: Note: '--textmode' is not considered an option
#9 3.356 gpg: refreshing 1 key from hkp://ipv4.pool.sks-keyservers.net
#9 3.384 gpg: keyserver refresh failed: No name
#9 3.395 Temporary failure: apk-key/gpg returned error code '2' on attempt #2 to reach 'ipv4.pool.sks-keyservers.net'.
#9 3.490 Executing: /tmp/apt-key-gpghome.5sH4DmNaEM/gpg.1.sh --keyserver ipv4.pool.sks-keyservers.net --refresh-keys Yarn --textmode
#9 3.493 gpg: Note: '--textmode' is not considered an option
#9 3.525 gpg: refreshing 1 key from hkp://ipv4.pool.sks-keyservers.net
#9 3.552 gpg: keyserver refresh failed: No name
#9 3.562 Temporary failure: apk-key/gpg returned error code '2' on attempt #3 to reach 'ipv4.pool.sks-keyservers.net'.
#9 3.663 Executing: /tmp/apt-key-gpghome.xMxm6FoHdx/gpg.1.sh --keyserver p80.pool.sks-keyservers.net:80 --refresh-keys Yarn --textmode
#9 3.667 gpg: Note: '--textmode' is not considered an option
#9 3.699 gpg: refreshing 1 key from p80.pool.sks-keyservers.net:80
#9 3.699 gpg: keyserver refresh failed: No keyserver available
#9 3.708 Temporary failure: apk-key/gpg returned error code '2' on attempt #1 to reach 'p80.pool.sks-keyservers.net:80'.
#9 3.805 Executing: /tmp/apt-key-gpghome.nWxJwCyYIA/gpg.1.sh --keyserver p80.pool.sks-keyservers.net:80 --refresh-keys Yarn --textmode
#9 3.809 gpg: Note: '--textmode' is not considered an option
#9 3.841 gpg: refreshing 1 key from p80.pool.sks-keyservers.net:80
#9 3.841 gpg: keyserver refresh failed: No keyserver available
#9 3.851 Temporary failure: apk-key/gpg returned error code '2' on attempt #2 to reach 'p80.pool.sks-keyservers.net:80'.
#9 3.944 Executing: /tmp/apt-key-gpghome.EK30vwGY7e/gpg.1.sh --keyserver p80.pool.sks-keyservers.net:80 --refresh-keys Yarn --textmode
#9 3.948 gpg: Note: '--textmode' is not considered an option
#9 3.981 gpg: refreshing 1 key from p80.pool.sks-keyservers.net:80
#9 3.981 gpg: keyserver refresh failed: No keyserver available
#9 3.990 Fatal error: Failed all attempts to refresh PGP keys.
#9 3.990 Try passing a list of PGP servers that work for you as build argument:
#9 3.990
#9 3.990 docker-compose build --build-arg PGP_SERVERS="LIST" musicbrainz
#9 3.990
#9 3.990 Current LIST is "ha.pool.sks-keyservers.net ipv4.pool.sks-keyservers.net p80.pool.sks-keyservers.net:80"
#9 3.990 Temporary failure: apk-key/gpg returned error code '2' on attempt #3 to reach 'p80.pool.sks-keyservers.net:80'.
------
- duplicates
-
MBVM-73 Fatal error: Failed all attempts to refresh PGP keys.
- Closed