Skip to content

Commit 441ae63

Browse files
committed
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 <abelur@linuxfoundation.org>
1 parent 14d7ee0 commit 441ae63

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

provision/install-python.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function select_fastest()
4343
{
4444
echo "Install netselect from debian to choose a mirror."
4545
apt install wget -y
46-
wget "http://ftp.au.debian.org/debian/pool/main/n/netselect/${NETSELECT_DEB}"
46+
wget "http://deb.debian.org/debian/pool/main/n/netselect/${NETSELECT_DEB}"
4747
dpkg -i "${NETSELECT_DEB}"
4848
apt install netselect -y
4949

@@ -77,7 +77,7 @@ if is_ubuntu; then
7777
x86_64)
7878
source /etc/lsb-release
7979
if [[ ${DISTRIB_RELEASE:0:2} -lt 24 ]]; then
80-
NETSELECT_DEB="netselect_0.3.ds1-28+b1_amd64.deb"
80+
NETSELECT_DEB="netselect_0.3.ds1-30.1_amd64.deb"
8181
echo "NetSelect version to install is ${NETSELECT_DEB}"
8282
select_fastest
8383
fi
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixed netselect package download failure in packer build by updating
5+
to available version (0.3.ds1-30.1) and using reliable mirror
6+
(deb.debian.org) instead of failing ftp.au.debian.org URL.

0 commit comments

Comments
 (0)