Failed connect to ubuntu-mirror-3.ps5.canonical.com

Welcome to the Forum!

Could You please post the whole Output of sudo apt update && sudo apt upgrade incl. all Errors that You get? Also post the content of the File /etc/apt/sources.list please.


The problem is about timeout but it's frustrating because you don't have any error at the end

Solution provided By Claude AI

Apply the timeout configuration

Run this command:

sudo nano /etc/apt/apt.conf.d/99timeout

If the file doesn't exist, it will create a new one. Add these lines:

Acquire::http::Timeout "5";
Acquire::https::Timeout "5";
Acquire::http::ConnectionAttemptDelayMsec "100";

Save the file (Ctrl+X, then Y, then Enter).

Test it

2 Likes

Thank you, that has reduced the timeout value so although it still stops at the same place it only holds for about 10 seconds which is better.

This will have to be done on all my Linux PC's as this even happens on a pure Ubuntu desktop, which make me think there is an issue up the line from me and not Zorin issues only.

Thank you and kind regards.

1 Like