Apt update fails at chrome stable main: "File has unexpected size (1103 != 1104). Mirror sync in progress?"

I'm getting an error that I've never seen before when running sudo apt update. The error happens after reaching http://dl.google.com/linux/chrome/deb stable/main amd64 Packages. I haven't done anything recently that I know of that could have suddenly caused this error to happen.

Here is the full output of sudo apt update:

➜  ~ sudo apt update                                    
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://packages.ros.org/ros/ubuntu bionic InRelease                                                                                                                                               
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                              
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                                                                      
Get:6 http://dl.google.com/linux/chrome/deb stable Release [943 B]                                                                           
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                        
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                                             
Get:9 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]                                                                                                             
Get:10 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,104 B]                                                                                                  
Err:10 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages         
  File has unexpected size (1103 != 1104). Mirror sync in progress? [IP: 172.217.11.78 80]
  Hashes of expected file:
   - Filesize:1104 [weak]
   - SHA256:77ca2eefc7975f403bc1c9fb2dd97ed4a010d9c0b3f7932f07dd7995fc7c67a1
   - SHA1:9c0534b7034652963231d629283e83833f706121 [weak]
   - MD5Sum:14dd8b71c35111b40f1f06c565349097 [weak]
  Release file created at: Wed, 29 May 2019 17:35:47 +0000
Hit:4 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease   
Fetched 178 kB in 1s (219 kB/s)                    
Reading package lists... Done
E: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages.gz  File has unexpected size (1103 != 1104). Mirror sync in progress? [IP: 172.217.11.78 80]
   Hashes of expected file:
    - Filesize:1104 [weak]
    - SHA256:77ca2eefc7975f403bc1c9fb2dd97ed4a010d9c0b3f7932f07dd7995fc7c67a1
    - SHA1:9c0534b7034652963231d629283e83833f706121 [weak]
    - MD5Sum:14dd8b71c35111b40f1f06c565349097 [weak]
   Release file created at: Wed, 29 May 2019 17:35:47 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

I've read in other places that removing the entry from my software update sources will get rid of the error. But wouldn't that mean I would no longer get updates for Google Chrome? I would think there must be a better solution than that.

Searching for this error through Google, I couldn't find this exact error happening with google chrome stable main for anyone else. I'm curious to know if this is a temporary issue with the server?

I am running Ubuntu 18.04.2 on a desktop machine.


The several users who called it as being a repository server problem seem to have been right.

Even several hours after first seeing the error and after plenty of reboots the error wouldn't go away yesterday.

Today, however, the error is gone. I can now run apt update without any problems. Thanks everyone for saving me many hours of pointless debugging. :)


On Ubuntu 18.04 system you can list and remove PPA using Software & Updates application. Start Software & Updates application , navigate to Other Software tab and Remove or Edit any highlighted PPA repositories: