4

I'd like to upgrade a 15.10 server to 16.04 LTS beta* using do-release-upgrade -d. This is a ~2GB download and I'd like to limit the bandwidth usage of the upgrade. This is possible by setting "Acquire" in apt.conf (?) for apt-get, but will this also apply to do-release-upgrade? How would I implement it?

*I'm aware that I am upgrading a server to a beta version.

1 Answers1

3

I placed the following, slightly modified from this answer, into /etc/apt/apt.conf and then ran do-release-upgrade -d.

Acquire
{
   Queue-mode "access";
   http
   {
      Dl-Limit "50";
   };
};

The upgrade proceeded at ~50Kb/s.