Fix: netselect download failure in packer builds 34/73634/2 master
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 11 Sep 2025 08:33:53 +0000 (18:33 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 11 Sep 2025 10:30:24 +0000 (20:30 +1000)
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 <abelur@linuxfoundation.org>
provision/install-python.sh
releasenotes/notes/fix-netselect-download-failure-117843.yaml [new file with mode: 0644]

index c68f872..e026d11 100755 (executable)
@@ -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 (file)
index 0000000..a4f0561
--- /dev/null
@@ -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.