From 52b03e1f78f5678bc627ef94ff28547a3ee3dc16 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 27 Sep 2022 11:56:43 +0000 Subject: [PATCH] win build: use of debian unstable snapshots needs check-valid-until=no see https://snapshot.debian.org/ > To access snapshots of suites using Valid-Until that are older than a dozen days, it is necessary to ignore the Valid-Until header within Release files, in order to prevent apt from disregarding snapshot entries ("Release file expired"). Use aptitude -o Acquire::Check-Valid-Until=false update or apt-get -o Acquire::Check-Valid-Until=false update for this purpose. (thanks to Axel Gembe for pointing this out) --- contrib/build-wine/apt.sources.list | 2 +- contrib/freeze_containers_distro.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/build-wine/apt.sources.list b/contrib/build-wine/apt.sources.list index 5c544e183..e9ee9b574 100644 --- a/contrib/build-wine/apt.sources.list +++ b/contrib/build-wine/apt.sources.list @@ -1,3 +1,3 @@ deb https://snapshot.debian.org/archive/debian/20220811T031049Z/ bullseye main non-free contrib deb-src https://snapshot.debian.org/archive/debian/20220811T031049Z/ bullseye main non-free contrib -deb https://snapshot.debian.org/archive/debian/20220811T031049Z/ sid main non-free contrib +deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20220811T031049Z/ sid main non-free contrib diff --git a/contrib/freeze_containers_distro.sh b/contrib/freeze_containers_distro.sh index 6868a34c2..534f76231 100755 --- a/contrib/freeze_containers_distro.sh +++ b/contrib/freeze_containers_distro.sh @@ -39,7 +39,7 @@ echo "deb-src ${DEBIAN_SNAPSHOT} ${DEBIAN_APPIMAGE_DISTRO} main non-free contrib echo "deb ${DEBIAN_SNAPSHOT} ${DEBIAN_WINE_DISTRO} main non-free contrib" >$contrib/build-wine/apt.sources.list echo "deb-src ${DEBIAN_SNAPSHOT} ${DEBIAN_WINE_DISTRO} main non-free contrib" >>$contrib/build-wine/apt.sources.list # we need win-iconv-mingw-w64-dev which is only in sid/unstable -echo "deb ${DEBIAN_SNAPSHOT} unstable main non-free contrib" >>$contrib/build-wine/apt.sources.list +echo "deb [check-valid-until=no] ${DEBIAN_SNAPSHOT} unstable main non-free contrib" >>$contrib/build-wine/apt.sources.list # android echo "deb ${DEBIAN_SNAPSHOT} ${DEBIAN_ANDROID_DISTRO} main non-free contrib" >$contrib/android/apt.sources.list