Repo Broken? : File has unexpected size (6622 != 6411). Mirror sync in progress?

The ubuntu apt repo for percona appears to be broken.

crit ticket filed: [PS-7674] File has unexpected size (6622 != 6411). Mirror sync in progress - Percona JIRA
so far no response, so opening topic here

Err:14 http://repo.percona.com/tools/apt focal/main Sources
File has unexpected size (6622 != 6411). Mirror sync in progress? [IP: 167.71.118.3 80]
Hashes of expected file:
   - Filesize:6411 [weak]
   - SHA256:d523e468b6f21631e95f29e245e67ccf144504ef36a3c63ba941c20049befa27
   - SHA1:5baf65a1fdd46d0a09fb6fd14652effe85da1735 [weak]
   - MD5Sum:4636be4b4d15953adbb80268d5756491 [weak]
  Release file created at: Fri, 23 Apr 2021 08:33:26 +0000
Get:15 http://repo.percona.com/tools/apt focal/main amd64 Packages [19.4 kB]
Err:15 http://repo.percona.com/tools/apt focal/main amd64 Packages

Fetched 15.8 kB in 2s (8603 B/s)
Reading package lists... Done
E: Failed to fetch http://repo.percona.com/tools/apt/dists/focal/main/source/Sources.gz  File has unexpected size (6622 != 6411). Mirror sync in progress? [IP: 167.71.118.3 80]
   Hashes of expected file:
- Filesize:6411 [weak]
- SHA256:d523e468b6f21631e95f29e245e67ccf144504ef36a3c63ba941c20049befa27
- SHA1:5baf65a1fdd46d0a09fb6fd14652effe85da1735 [weak]
- MD5Sum:4636be4b4d15953adbb80268d5756491 [weak]
   Release file created at: Fri, 23 Apr 2021 08:33:26 +0000
E: Failed to fetch http://repo.percona.com/tools/apt/dists/focal/main/binary-amd64/Packages.gz
E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Like

Same here. Running >percona-release setup -y pxc80

Err:7 Percona Repo buster/main Sources
File has unexpected size (9573 != 9575). Mirror sync in progress? [IP: 167.71.118.3 80]
Hashes of expected file:

  • Filesize:9575 [weak]
  • SHA256:68937579ca7a5a6266cb8fa702e18aa74cc10782e9bfa45d46bb879cc82f35fe
  • SHA1:40e7efffbcb8f1d9f86974520af4987d717e7d04 [weak]
  • MD5Sum:ed71b05490668de711d6633812148219 [weak]
    Release file created at: Fri, 23 Apr 2021 08:33:22 +0000
    Get:8 Percona Repo buster/main amd64 Packages [40.5 kB]
    Reading package lists… Done
    E: Failed to fetch http://repo.percona.com/tools/apt/dists/buster/main/source/Sources.gz File has unexpected size (9573 != 9575). Mirror sync in progress? [IP: 167.71.118.3 80]
    Hashes of expected file:
    - Filesize:9575 [weak]
    - SHA256:68937579ca7a5a6266cb8fa702e18aa74cc10782e9bfa45d46bb879cc82f35fe
    - SHA1:40e7efffbcb8f1d9f86974520af4987d717e7d04 [weak]
    - MD5Sum:ed71b05490668de711d6633812148219 [weak]
    Release file created at: Fri, 23 Apr 2021 08:33:22 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Like

some of the repo files were updated today, so I assume that is what broke things:

Percona Repo

|InRelease|15.4 KiB|2021-Apr-28 14:15|
|---|---|---|
|Release|14.6 KiB|2021-Apr-28 14:14|
|Release.gpg|819 B|2021-Apr-28 14:15|

Still awaiting update on the Ticket.

1 Like

Hi @jason_agility
I have tried to reproduce the issue but without success. I’ve already updated ticket.
So please recheck from your side and if you still see the issue please inform us.
Before rechecking please execute 'apt-get update`.

1 Like

The issue is now resolved , but it was still occurring at 4:00pm (April 28th) when I last checked.

1 Like

still there for me.

root@xtradb1:~# apt-get update
Hit:1 Index of /debian buster InRelease
Hit:2 Index of /debian-security buster/updates InRelease
Hit:3 Index of /debian buster-updates InRelease
Hit:4 Percona Repo buster InRelease
Hit:5 Percona Repo buster InRelease
Get:6 Percona Repo buster InRelease [15.9 kB]
Get:7 Percona Repo buster/main Sources [9,575 B]
Err:7 Percona Repo buster/main Sources
File has unexpected size (9573 != 9575). Mirror sync in progress? [IP: 157.245.119.64 80]
Hashes of expected file:

  • Filesize:9575 [weak]
  • SHA256:68937579ca7a5a6266cb8fa702e18aa74cc10782e9bfa45d46bb879cc82f35fe
  • SHA1:40e7efffbcb8f1d9f86974520af4987d717e7d04 [weak]
  • MD5Sum:ed71b05490668de711d6633812148219 [weak]
    Release file created at: Fri, 23 Apr 2021 08:33:22 +0000
    Get:8 Percona Repo buster/main amd64 Packages [40.5 kB]
    Reading package lists… Done
    E: Failed to fetch http://repo.percona.com/tools/apt/dists/buster/main/source/Sources.gz File has unexpected size (9573 != 9575). Mirror sync in progress? [IP: 157.245.119.64 80]
    Hashes of expected file:
    - Filesize:9575 [weak]
    - SHA256:68937579ca7a5a6266cb8fa702e18aa74cc10782e9bfa45d46bb879cc82f35fe
    - SHA1:40e7efffbcb8f1d9f86974520af4987d717e7d04 [weak]
    - MD5Sum:ed71b05490668de711d6633812148219 [weak]
    Release file created at: Fri, 23 Apr 2021 08:33:22 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Like

Currently the issue doesn’t exists. The way to fix:
1 disable tools repo (percona-release disable tools release)

2 execute apt-apdate

3 clean apt cache

4 enable tools repo

1 Like