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>
{
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
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
--- /dev/null
+---
+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.