apt-mirror not syncing correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-mirror (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
===== Mirror Pov
After syncing multiple times there is one file that is always mirroring out of sync
Taking a look the official archive shows 13M (14090084) on the file http://
While my mirror is getting 9M
I deleted the file and mirrored again and still have a diff
===== Client Pov
Now from the client POV I will get the following error
$ apt update
Hit:1 http://
Hit:2 http://
Hit:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:11 http://
Get:11 http://
Get:11 http://
Get:11 http://
Ign:11 http://
Get:11 http://
Err:11 http://
File has unexpected size (9596946 != 14090084). Mirror sync in progress? [IP: 10.10.11.63 8000]
Hashes of expected file:
- Filesize:14090084 [weak]
- SHA256:
- SHA1:48f33706c3
- MD5Sum:
Release file created at: Thu, 21 Apr 2022 17:16:08 +0000
Fetched 270 kB in 1s (189 kB/s)
Reading package lists... Done
E: Failed to fetch http://
Hashes of expected file:
- Filesize:14090084 [weak]
- SHA256:
- SHA1:48f33706c3
- MD5Sum:
Release file created at: Thu, 21 Apr 2022 17:16:08 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
=== "Workaround"
Hacky workaround is to manually download the file
curl http://
However,
1. I will have to manually download the file after each sync
2. I am worried this might happen later with other files
Status changed to 'Confirmed' because the bug affects multiple users.