apt currently considers the following errors transient:

            constexpr unsigned int TransientCodes[] = {
               408, // Request Timeout
               429, // Too Many Requests
               500, // Internal Server Error
               502, // Bad Gateway
               503, // Service Unavailable
               504, // Gateway Timeout
               599, // Network Connect Timeout Error
            };

and thus does not report them as errors, only as warnings.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825001

Title:
  Allow archives to send a 4xx response to tell apt to try again later

Status in apt package in Ubuntu:
  New

Bug description:
  As part of a broad plan to improve our ability to manage traffic to
  the archive servers, it would be useful if the archives could return a
  4xx response to indicate to apt that they were over capacity and it
  should try again later, where later could be defined on the client
  side as several hours, the next day for unattended-upgrades runs, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825001/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to