"File has unexpected size" error on Focal ddebs repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ddeb-retriever |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Similar to https:/
but affecting Ubuntu 20.04 "Focal"
Steps to reproduce:
1. Configure the debug repositories, like how it is explained in https:/
I ran these commands on a newly created Docker container (docker run --pull always --rm -ti ubuntu:20.04), but a typical bare metal installation should present the same issue:
apt-get update ; apt-get install --yes gnupg
apt-key adv \
--keyserver keyserver.
--recv-keys F2EDC64DC5AEE1F
source /etc/lsb-release
tee /etc/apt/
# Official Ubuntu repos with debug packages
deb http://
deb http://
EOF
2. Try to run `apt-get update` with the new ddebs repo added:
apt-get update
Result is as follows:
root@cecf55687e
Hit:1 http://
Hit:2 http://
Hit:3 http://
Ign:4 http://
Hit:5 http://
Ign:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Err:14 http://
File has unexpected size (542861 != 541199). Mirror sync in progress? [IP: 91.189.91.48 80]
Hashes of expected file:
- Filesize:541199 [weak]
- SHA512:
- SHA256:
- SHA1:f7f88336d7
- MD5Sum:
Release file created at: Mon, 30 May 2022 07:15:43 +0000
Get:15 http://
Get:16 http://
Fetched 6405 kB in 11s (570 kB/s)
Reading package lists... Done
E: Failed to fetch http://
Hashes of expected file:
- Filesize:541199 [weak]
- SHA512:
- SHA256:
- SHA1:f7f88336d7
- MD5Sum:
Release file created at: Mon, 30 May 2022 07:15:43 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Further info as per the "Ubuntu bug reporting guidelines":
1) Output from `lsb_release -rd`:
Ubuntu 20.04.4 LTS
2) Output from `apt-cache policy apt`:
Installed: 2.0.6
Candidate: 2.0.8
Version table:
2.0.8 500
500 http://
*** 2.0.6 100
100 /var/lib/
2.0.2ubuntu0.2 500
500 http://
2.0.2 500
500 http://
(note, upgrading to the latest 2.0.8 doesn't make any difference)
3) What I expected to happen:
apt-get update works after adding the "ddebs" repository.
4) What happened instead:
apt-get update fails with a "File has unexpected size" error after adding the "ddebs" repository.
tags: | added: focal |
Changed in apt (Ubuntu): | |
status: | Confirmed → Invalid |
affects: | apt (Ubuntu) → ddeb-retriever |
Changed in ddeb-retriever: | |
status: | Invalid → Confirmed |
This has been happening since at least as early as May 24th (i.e. last week)