Apt-get to retry downloading
From man apt.conf
Retries Number of retries to perform. If this is non-zero APT will retry failed files the given number of times.
echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
From man apt.conf
Retries Number of retries to perform. If this is non-zero APT will retry failed files the given number of times.
echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries