Installing "postgresql-dev" deps fails with "BAD signature"
Context
I want to install postgresql-dev
by apk-tools
to build my docker image from ruby:2.7.2-alpine3.12
, but that installing is failed. I suspect it has something to do with CDN cachinge.
Urgency
This issue happened in the pipeline of the production environment, hoping to fix it soon, thanks.
Installing log
Key log
(23/25) Installing postgresql-bdr-libs (9.4.14_p1-r8)
ERROR: (24/25) Installing postgresql-bdr-dev (9.4.14_p1-r8)
postgresql-bdr-libs-9.4.14_p1-r8: BAD signature
ERROR: postgresql-bdr-dev-9.4.14_p1-r8: BAD signature
The whole log
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
(1/25) Installing binutils (2.34-r2)
(2/25) Installing isl (0.18-r0)
(3/25) Installing libgomp (9.3.0-r2)
(4/25) Installing libatomic (9.3.0-r2)
(5/25) Installing libgphobos (9.3.0-r2)
(6/25) Installing mpfr4 (4.0.2-r4)
(7/25) Installing mpc1 (1.1.0-r1)
(8/25) Installing gcc (9.3.0-r2)
(9/25) Installing make (4.3-r0)
(10/25) Installing musl-dev (1.1.24-r10)
(11/25) Installing libc-dev (0.7.2-r3)
(12/25) Installing g++ (9.3.0-r2)
(13/25) Installing libhistory (8.0.4-r0)
(14/25) Installing ncurses-dev (6.2_p20200523-r0)
(15/25) Installing readline-dev (8.0.4-r0)
(16/25) Upgrading libcrypto1.1 (1.1.1i-r0 -> 1.1.1l-r0)
(17/25) Upgrading libssl1.1 (1.1.1i-r0 -> 1.1.1l-r0)
(18/25) Installing openssl-dev (1.1.1l-r0)
(19/25) Installing xz-libs (5.2.5-r0)
(20/25) Installing xz-dev (5.2.5-r0)
(21/25) Installing libxml2 (2.9.12-r0)
(22/25) Installing libxml2-dev (2.9.12-r0)
(23/25) Installing postgresql-bdr-libs (9.4.14_p1-r8)
ERROR: (24/25) Installing postgresql-bdr-dev (9.4.14_p1-r8)
postgresql-bdr-libs-9.4.14_p1-r8: BAD signature
ERROR: postgresql-bdr-dev-9.4.14_p1-r8: BAD signature
(25/25) Installing .build-deps (20211114.231403)
Executing busybox-1.31.1-r19.trigger
Executing ca-certificates-20191127-r4.trigger
Executing glibc-bin-2.32-r0.trigger
/usr/glibc-compat/sbin/ldconfig: /usr/glibc-compat/lib/ld-linux-x86-64.so.2 is not a symbolic link
2 errors; 271 MiB in 68 packages