From 78f43d254ef885244be294802a02c3605e839f95 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 3 Aug 2020 11:03:37 +0200 Subject: [PATCH] pmb.config.mirror_alpine: don't use CDN Replace dl-cdn mirror with dl-2 temporarily to avoid "BAD signature" errors. This is related to the rebuild of Alpine edge x86, armhf, armv7 packages against musl-1.2, that is currently going on. The packages are rebuilt without a version change and therefore have the same resulting file name, but a different checksum. Due to caching of the CDN and due to the same file name, users may get an old package from before the rebuild. The APKINDEX has a checksum of the new package, and so the download will fail with a "BAD signature" error. Alpine developers clear the cache every now and then, but this issue will happen over and over again, until all packages are rebuilt (some packages are still not rebuilt and have been disabled). Let's switch back in two months or so. --- pmb/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py index 005e4101..f7b158bc 100644 --- a/pmb/config/__init__.py +++ b/pmb/config/__init__.py @@ -82,7 +82,7 @@ defaults = { "kernel": "stable", "keymap": "", "log": "$WORK/log.txt", - "mirror_alpine": "http://dl-cdn.alpinelinux.org/alpine/", + "mirror_alpine": "http://dl-2.alpinelinux.org/alpine/", "mirrors_postmarketos": ["http://postmarketos1.brixit.nl/postmarketos/"], "nonfree_firmware": True, "nonfree_userland": False,