From: Anil Belur Date: Thu, 11 Sep 2025 08:33:53 +0000 (+1000) Subject: Fix: netselect download failure in packer builds X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F34%2F73634%2F2;p=releng%2Fcommon-packer.git Fix: netselect download failure in packer builds Updates netselect package version from 0.3.ds1-28+b1 to 0.3.ds1-30.1 and changes download URL from unreliable ftp.au.debian.org to deb.debian.org mirror. This resolves 404 errors preventing packer builds from completing successfully. Change-Id: I1bcc58f73f72b3da6f109e426d719062ee145fa3 Signed-off-by: Anil Belur --- diff --git a/provision/install-python.sh b/provision/install-python.sh index c68f872..e026d11 100755 --- a/provision/install-python.sh +++ b/provision/install-python.sh @@ -43,7 +43,7 @@ function select_fastest() { echo "Install netselect from debian to choose a mirror." apt install wget -y - wget "http://ftp.au.debian.org/debian/pool/main/n/netselect/${NETSELECT_DEB}" + wget "http://deb.debian.org/debian/pool/main/n/netselect/${NETSELECT_DEB}" dpkg -i "${NETSELECT_DEB}" apt install netselect -y @@ -77,7 +77,7 @@ if is_ubuntu; then x86_64) source /etc/lsb-release if [[ ${DISTRIB_RELEASE:0:2} -lt 24 ]]; then - NETSELECT_DEB="netselect_0.3.ds1-28+b1_amd64.deb" + NETSELECT_DEB="netselect_0.3.ds1-30.1_amd64.deb" echo "NetSelect version to install is ${NETSELECT_DEB}" select_fastest fi diff --git a/releasenotes/notes/fix-netselect-download-failure-117843.yaml b/releasenotes/notes/fix-netselect-download-failure-117843.yaml new file mode 100644 index 0000000..a4f0561 --- /dev/null +++ b/releasenotes/notes/fix-netselect-download-failure-117843.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed netselect package download failure in packer build by updating + to available version (0.3.ds1-30.1) and using reliable mirror + (deb.debian.org) instead of failing ftp.au.debian.org URL.