Update failure due to connection to server error

While doing updates via apt-get, there is some server connection error. There are several successful Metadata updates fromUbuntu archive US servers (ubuntu focal-updates, ubuntu focal-backports, ubuntu focal-security etc) at first, then the updater gets stuck
and closes at 2 errors of connecting to http://ppa.launchpad.net:

Err:17 flexiondotorg/indicator-kdeconnect/ubuntu focal InRelease
Cannot initiate the connection to [ppa.launchpad.net:80]^ (2001:67c:1560:8008::19). - connect (101: Network is unreachable) Could not connect to [sameasabove]^ (91.189.95.85), connection timed out
Fetched 1,098 kB in 30s (36.1 kB/s)
Reading package lists... Done
W: Failed to fetch flexiondotorg/indicator-kdeconnect/ubuntu/dists/focal/InRelease Cannot initiate the connection to [sameasabove]^ (2001:67c:1560:8008::19). - connect (101: Network is unreachable) Could not connect to [sameasabove]^ (91.189.95.85), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

While updating via Welcome screen, there isn't anything fetched, and just a failed connection error message.
How can I fix the Updater?
I updated via Main servers previously, then changed to US servers, but it is the same.

I'm using Ubuntu Mate 20.04

Thankfully It is not a problem with apt-get.

It could be that the flexiondotorg PPA is temporarily offline for maintenance.
(the Try-it-again-tomorrow fix).

If it keeps on giving problems, alert the PPA-maintainer (Martin Wimpress/@Wimpy )

In the meantime you can manually download the package from here:

Indeed, even if this PPA fails, apt-get will update what it can update.
I don't know about the Update GUI but I assume you're right.

If you want to fix it, the application is here:
/usr/bin/update-manager

The libs are here:
/usr/lib/python3/dist-packages/UpdateManager

It is written in python so you can easily hack around. :slight_smile:
Let us know how it works out, it would be great if you could create a patch.

EDIT: UpdateManager does not need a fix, it is working as intended :slight_smile:

I checked the UpdateManager(GUI): everything is fine.

How can I fix the Updater?

If it complains about not-able-to-update, just click OK and after that it will begin to update what it can update.
It's just that its message is a bit overly dramatic :wink: