Error while trying to sudo apt update package update command

Got these error while trying to update packages with sudo apt update

5 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: https://cli-assets.heroku.com/channels/stable/apt/./InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Failed to fetch http://ppa.launchpad.net/zorinos/apps/ubuntu/dists/jammy/InRelease Cannot initiate the connection to ppa.launchpad.net:80 (2620:2d:4000:1::81). - connect (101: Network is unreachable) Could not connect to ppa.launchpad.net:80 (185.125.190.80), connection timed out
W: Failed to fetch http://ppa.launchpad.net/zorinos/drivers/ubuntu/dists/jammy/InRelease Cannot initiate the connection to ppa.launchpad.net:80 (2620:2d:4000:1::81). - connect (101: Network is unreachable)
W: Failed to fetch http://ppa.launchpad.net/zorinos/patches/ubuntu/dists/jammy/InRelease Cannot initiate the connection to ppa.launchpad.net:80 (2620:2d:4000:1::81). - connect (101: Network is unreachable)
W: Failed to fetch http://ppa.launchpad.net/zorinos/stable/ubuntu/dists/jammy/InRelease Cannot initiate the connection to ppa.launchpad.net:80 (2620:2d:4000:1::81). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.

I guess you have net connection? Try switch Server in software store.

I tried but this errors coming.

With Zorin OS 17 and the Upgrader both recently released, the server may be overwhelmed with traffic.

It might help to try again at a different time.

1 Like

Might as well go to https:// rather than http://, since that's where they're headed in the long run. This is the fourth person (myself included) who's experienced this issue, and I suspect it'll be more prevalent as time goes by.

I have also tried this but not working.

Make sure that you haven't just changed 'http' to 'https'... you also have to change 'launchpad' to 'launchpadcontent'.

For instance:

From:
http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
To:
https://ppa.launchpadcontent.net/zorinos/apps/ubuntu focal InRelease

In your case, since you're using ZorinOS 17, it'd be something like:

From:
http://ppa.launchpad.net/zorinos/apps/ubuntu/dists jammy InRelease
To:
https://ppa.launchpadcontent.net/zorinos/apps/ubuntu/dists jammy InRelease

yes I did it. see