Installation blocks when the machine is behind a proxy server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Invalid
|
High
|
Unassigned |
Bug Description
[Impact]
APT takes a long time to notice when certain connections time out
[Test case]
* Change the default route to not route stuff successfully (wrong gateway,
for example)
* Make your sources.list look like this:
deb http://
deb http://
* Run apt update
You should see that it fails with a long verbose error message for the first entry, with all possible IP addresses listed in it; while for the second one it fails with just "Unable to connect to archive.
[Regression potential]
APT will not attempt to retry the host given that it could not connect to it for previous entries. If your network recovered in the meantime, it might update less than previously.
[Original bug report]
When the machine is behind a proxy server, the installation will block for a while (several minutes) to retrieve the package lists. The timeouts are too long and makes user feels the machine may have some problems.
The symptom is similar with bug #14599, but it seems the apt-setup module was rewritten.
Another method to trigger this issue is to make the machine cannot access to the Internet, for instance: a wrong gateway.
Image: 16.04
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
tags: | added: rls-bb-incoming |
tags: | added: id-5af9ea356db8cb2d4eb3d4e7 |
Changed in apt (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in apt (Ubuntu Bionic): | |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
Changed in ubiquity (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → Fix Released |
need test results on 18.04.