Errors while trying to update, "mirror-sync in progress"?

I use Main Server and have made no changes to my system, but this was the output when I last tried to update my system:

Hit:1 Index of /debian/ stable InRelease
Hit:2 Index of /ubuntu focal InRelease
Hit:3 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-backports InRelease
Get:4 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates InRelease [114 kB]
Hit:5 Index of /ubuntu focal-security InRelease
Hit:6 http://dl.google.com/linux/earth/deb stable InRelease
Hit:7 Index of /kisak/kisak-mesa/ubuntu focal InRelease
Get:9 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 Packages [2,265 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main i386 Packages [761 kB]
Get:11 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main Translation-en [394 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Hit:22 Index of /stable/ focal InRelease
Ign:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata
Get:23 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted i386 Packages [29.3 kB]
Ign:23 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted i386 Packages
Get:25 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Get:25 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Ign:25 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages
Ign:28 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted Translation-en
Get:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata [592 B]
Ign:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata
Ign:31 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe i386 Packages
Ign:32 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 Packages
Ign:33 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 DEP-11 Metadata
Ign:34 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 Packages
Ign:35 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse i386 Packages
Ign:36 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 DEP-11 Metadata
Ign:37 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 c-n-f Metadata
Get:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Err:12 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata
File has unexpected size (274228 != 274816). Mirror sync in progress? [IP: 163.178.174.25 80]
Hashes of expected file:

Get:25 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Err:25 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages

Hit:38 Index of /patches/ focal InRelease
Hit:39 Index of /zorinos/apps/ubuntu focal InRelease
Get:28 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted Translation-en [208 kB]
Err:28 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted Translation-en

Get:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata [592 B]
Err:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata

Hit:40 Index of /apps/ focal InRelease
Get:31 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe i386 Packages [704 kB]
Err:31 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe i386 Packages

Get:32 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 Packages [1,007 kB]
Err:32 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 Packages

Hit:41 https://apt.syncthing.net syncthing InRelease
Get:33 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 DEP-11 Metadata [408 kB]
Err:33 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 DEP-11 Metadata

Hit:42 https://packages.zorinos.com/drivers focal InRelease
Get:34 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 Packages [24.6 kB]
Err:34 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 Packages

Get:35 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse i386 Packages [8,476 B]
Err:35 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse i386 Packages

Get:36 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Err:36 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 DEP-11 Metadata

Hit:43 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:44 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:8 https://deb.librewolf.net focal InRelease
Hit:45 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Fetched 177 kB in 3s (59.5 kB/s)
Reading package lists... Done
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/Components-amd64.yml.xz File has unexpected size (274228 != 274816). Mirror sync in progress? [IP: 163.178.174.25 80]
Hashes of expected file:
- Filesize:274816 [weak]
- SHA256:7a613b602d2576c19bca94533da1a641e9315849e2cddb08f610fc0dae61cfb2
- SHA1:77105d4584c0cb7a8c5224d5f3de7727dadbdd09 [weak]
- MD5Sum:61d773b8f8d1ff34e9a7dcad2645e69a [weak]
Release file created at: Sun, 04 Dec 2022 07:13:49 +0000
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-i386/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-amd64/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/i18n/Translation-en.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/cnf/Commands-amd64.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-i386/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-amd64/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/Components-amd64.yml.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-amd64/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-i386/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/Components-amd64.yml.xz
E: Some index files failed to download. They have been ignored, or old ones used instead.

It does not. No effect.

Set the server to main. Because it does look like it your using CR


You mean like this?
It is always set to main

What happens if you switch to another country ? one close where you live ?


This is the inevitable result from switching a server close to me, or the main one.

Sounds like the same issue like this users, try removing added ppa's


Meaning everything that is not in the stock Zorin install, including Librewolf?

librewolf and google earth ? try switching those off first.

I have done so, reloaded and was met with the same error. Should I switch back to main server?

Worth a try yes. kisak mesa also turn off.


Still

kisak mesa also disabled ?

If yes in terminal sudo apt update && sudo apt upgrade

Kisak mesa is indeed disabled and this is the output:

Hit:1 Index of /ubuntu focal InRelease
Hit:2 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-backports InRelease
Get:3 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates InRelease [114 kB]
Hit:4 Index of /debian/ stable InRelease
Hit:5 Index of /ubuntu focal-security InRelease
Hit:6 Index of /zorinos/apps/ubuntu focal InRelease
Get:7 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main i386 Packages [761 kB]
Get:8 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 Packages [2,265 kB]
Get:9 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main Translation-en [394 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Ign:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata
Ign:20 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted i386 Packages
Get:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Get:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Get:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Get:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Ign:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages
Ign:26 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted Translation-en
Get:27 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata [592 B]
Ign:27 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata
Ign:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 Packages
Ign:30 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe i386 Packages
Ign:31 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 DEP-11 Metadata
Ign:32 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse i386 Packages
Ign:33 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 Packages
Ign:34 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 DEP-11 Metadata
Hit:35 Index of /stable/ focal InRelease
Get:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata [275 kB]
Err:10 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/main amd64 DEP-11 Metadata
File has unexpected size (274784 != 274816). Mirror sync in progress? [IP: 163.178.174.25 80]
Hashes of expected file:

Get:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages [1,470 kB]
Err:21 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 Packages

Hit:36 Index of /zorinos/drivers/ubuntu focal InRelease
Get:26 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted Translation-en [208 kB]
Err:26 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted Translation-en

Hit:37 Index of /patches/ focal InRelease
Get:27 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata [592 B]
Err:27 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/restricted amd64 c-n-f Metadata

Get:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 Packages [1,007 kB]
Err:29 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 Packages

Hit:38 Index of /apps/ focal InRelease
Get:30 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe i386 Packages [704 kB]
Err:30 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe i386 Packages

Get:31 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 DEP-11 Metadata [408 kB]
Err:31 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/universe amd64 DEP-11 Metadata

Hit:39 https://packages.zorinos.com/drivers focal InRelease
Get:32 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse i386 Packages [8,476 B]
Err:32 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse i386 Packages

Get:33 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 Packages [24.6 kB]
Err:33 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 Packages

Get:34 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Err:34 Listing Directory: cr.archive.ubuntu.com/ubuntu/ focal-updates/multiverse amd64 DEP-11 Metadata

Hit:40 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:41 https://apt.syncthing.net syncthing InRelease
Hit:42 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Fetched 177 kB in 3s (69.7 kB/s)
Reading package lists... Done
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/Components-amd64.yml.xz File has unexpected size (274784 != 274816). Mirror sync in progress? [IP: 163.178.174.25 80]
Hashes of expected file:
- Filesize:274816 [weak]
- SHA256:7a613b602d2576c19bca94533da1a641e9315849e2cddb08f610fc0dae61cfb2
- SHA1:77105d4584c0cb7a8c5224d5f3de7727dadbdd09 [weak]
- MD5Sum:61d773b8f8d1ff34e9a7dcad2645e69a [weak]
Release file created at: Sun, 04 Dec 2022 07:13:49 +0000
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-i386/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-amd64/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/i18n/Translation-en.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/cnf/Commands-amd64.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-amd64/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-i386/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/Components-amd64.yml.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-i386/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-amd64/Packages.xz
E: Failed to fetch http://cr.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/Components-amd64.yml.xz
E: Some index files failed to download. They have been ignored, or old ones used instead.

Change server and try again in terminal...otherwise i am out of ideas.

I've gone through 3-4 servers, so we can assume that is a dead end.

you may have actually hit it while the remote mirror was synching... in which case, waiting an hour or so, running apt-get clean (or apt clean) and then re-running the original apt-get update (or apt update).

If the error persists, you may want to notify the mirror provider if you can find a contact address, and then simply point your sources.list to a different mirror.

1 Like

This problem started about 15 hours ago.
I might have to contact someone. Not sure how or who though.

Your output shows you using the Pacific (Costa Rica) Regional Server.
I have seen this happen before, too. You are not alone in this.
In such a case, manually editing the /etc/apt/sources.list file is the only way to get it to Main Server.

Thank you for the response, in what manner should I edit the file in order to be on the Main Server once more?

Also, it is read only when I open it through the GUI. Perhaps I have to use the terminal instead with superuser privileges to affect it.