apt-get stuff

1. Add redundant repo

In /etc/apt/sources.list, add:

deb http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

 

2. Set timeout

Create /etc/apt/apt.conf.d/99timeout, add:

Acquire::http::Timeout "10";

 

apt-get away!

 

apt – How to lower wait time for repository updates – Ask Ubuntu

Advertisements