[How To] handle Zorin OS repository failing to connect

So I went to check for updates today from Software Updater, and it kept failing.

So I ran my updater bash script, and it gave:

Err:9 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
  Could not connect to ppa.launchpad.net:80 (185.125.190.52), connection timed out
Err:10 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
  Unable to connect to ppa.launchpad.net:http:
Err:11 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
  Unable to connect to ppa.launchpad.net:http:
Err:12 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
  Unable to connect to ppa.launchpad.net:http:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ppa.launchpad.net/zorinos/apps/ubuntu/dists/focal/InRelease  Could not connect to ppa.launchpad.net:80 (185.125.190.52), connection timed out
W: Failed to fetch http://ppa.launchpad.net/zorinos/drivers/ubuntu/dists/focal/InRelease  Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/zorinos/patches/ubuntu/dists/focal/InRelease  Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/zorinos/stable/ubuntu/dists/focal/InRelease  Unable to connect to ppa.launchpad.net:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.

Well, there's a reason for that...

To resolve this dilemma, we’ve added a new ppa.launchpadcontent.net domain name which supports both HTTP and HTTPS (and similarly private-ppa.launchpadcontent.net for private PPAs, which as before is HTTPS-only). add-apt-repository in Ubuntu 22.04 will use the new domain name by default.

The old names will carry on working indefinitely – we know they’re embedded in lots of configuration and scripts, and we have no inclination to break all of those – but we recommend moving to the new names where possible. ppa.launchpad.net will remain HTTP-only.

Apparently, "indefinitely" has come and gone... or they're having problems with the old setup.

You can fix it by opening Software Updater, letting it go through its usual flagellations as it checks for updates, then clicking the  Settings  button, and navigating to the  Other Software  tab.

Everywhere in that list where it says http://ppa.launchpad.net, select that line, click the  Edit  button, then change it to https://ppa.launchpadcontent.net.

Don't change the rest of each line, just substitute https://ppa.launchpadcontent.net for http://ppa.launchpad.net in each line.

Note the change from http to https.

Now it shows:

echo Updating; sleep 5; sudo apt update; sudo apt upgrade; sudo apt full-upgrade; sudo apt dist-upgrade; sudo apt-get upgrade; sudo fwupdmgr refresh --force; sudo fwupdmgr update; sudo flatpak repair; sudo flatpak update; sudo snap refresh; sudo apt autoremove; sudo apt autoclean; sudo apt autopurge; sudo apt update --fix-missing; sudo apt install --fix-broken; sleep 15
Updating
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                                                                                                           
Hit:3 https://packages.zorinos.com/stable focal InRelease                                                                                                           
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                          
Hit:5 https://packages.zorinos.com/patches focal InRelease                           
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                        
Hit:7 https://packages.zorinos.com/apps focal InRelease                                                    
Hit:8 https://packages.zorinos.com/drivers focal InRelease                           
Hit:9 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu focal InRelease
Hit:10 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu focal InRelease
Hit:11 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu focal InRelease
Hit:12 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Updating lvfs
Downloading…             [***************************************]
Successfully downloaded new metadata: 0 local devices supported
Devices with no available firmware updates: 
 • HP TrueVision HD Camera
 • ST500LM034-2GH17A
 • System Firmware
No updatable devices
sudo: flatpak: command not found
sudo: flatpak: command not found
sudo: snap: command not found
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                                   
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                                    
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                                                 
Hit:5 https://packages.zorinos.com/stable focal InRelease                                                                                               
Hit:6 https://packages.zorinos.com/patches focal InRelease                           
Hit:7 https://packages.zorinos.com/apps focal InRelease        
Hit:8 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu focal InRelease
Hit:9 https://packages.zorinos.com/drivers focal InRelease                            
Hit:10 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu focal InRelease        
Hit:11 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu focal InRelease
Hit:12 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 Like

I moved this to Tutorials & Guides and set the title to match the guide.

I am tagging the ZorinGroup @staff to review this due to it being related to their Repository and Services reliability.

I have noticed some posts recently in which the users were getting a Fail to Connect on Zorin OS Repos* though it seemed for most that trying again later did not give that issue.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.