homebridge-apt-pkg
homebridge-apt-pkg copied to clipboard
Ubuntu Package Repo Cache out of date again
Analysis
I filed this same bug before. It appears to be happening again. Would be great if there was a way for you to automate fixing this. I have tried this over a few hours, so unless the transfer is abysmally slow, this is not going to fix itself.
root@homebridge:~# apt update
Get:1 https://repo.homebridge.io stable InRelease [3,248 B]
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Get:4 https://repo.homebridge.io stable/main amd64 Packages [6,211 B]
Err:4 https://repo.homebridge.io stable/main amd64 Packages
File has unexpected size (6319 != 6211). Mirror sync in progress? [IP: 172.67.189.93 443]
Hashes of expected file:
- Filesize:6211 [weak]
- SHA256:a209a15d6977f66c9ff85e1312719c6430b060e1208c9a07e755884a1a80824e
- SHA1:8c0869be2ebeb529ff8c39c61cc5c3515d626671 [weak]
- MD5Sum:ad30b6c565102a5c4f90028ec744a272 [weak]
Release file created at: Sun, 07 Sep 2025 15:44:09 +0000
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
E: Failed to fetch https://repo.homebridge.io/dists/stable/main/binary-amd64/Packages.gz File has unexpected size (6319 != 6211). Mirror sync in progress? [IP: 172.67.189.93 443]
Hashes of expected file:
- Filesize:6211 [weak]
- SHA256:a209a15d6977f66c9ff85e1312719c6430b060e1208c9a07e755884a1a80824e
- SHA1:8c0869be2ebeb529ff8c39c61cc5c3515d626671 [weak]
- MD5Sum:ad30b6c565102a5c4f90028ec744a272 [weak]
Release file created at: Sun, 07 Sep 2025 15:44:09 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Expected Behavior
Expected to be able to pull packages from repo.
Steps To Reproduce
Just trying to install on Ubuntu 24.04 with apt byt following the official instructions.
Logs
root@homebridge:~# apt update
Get:1 https://repo.homebridge.io stable InRelease [3,248 B]
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Get:4 https://repo.homebridge.io stable/main amd64 Packages [6,211 B]
Err:4 https://repo.homebridge.io stable/main amd64 Packages
File has unexpected size (6319 != 6211). Mirror sync in progress? [IP: 172.67.189.93 443]
Hashes of expected file:
- Filesize:6211 [weak]
- SHA256:a209a15d6977f66c9ff85e1312719c6430b060e1208c9a07e755884a1a80824e
- SHA1:8c0869be2ebeb529ff8c39c61cc5c3515d626671 [weak]
- MD5Sum:ad30b6c565102a5c4f90028ec744a272 [weak]
Release file created at: Sun, 07 Sep 2025 15:44:09 +0000
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
E: Failed to fetch https://repo.homebridge.io/dists/stable/main/binary-amd64/Packages.gz File has unexpected size (6319 != 6211). Mirror sync in progress? [IP: 172.67.189.93 443]
Hashes of expected file:
- Filesize:6211 [weak]
- SHA256:a209a15d6977f66c9ff85e1312719c6430b060e1208c9a07e755884a1a80824e
- SHA1:8c0869be2ebeb529ff8c39c61cc5c3515d626671 [weak]
- MD5Sum:ad30b6c565102a5c4f90028ec744a272 [weak]
Release file created at: Sun, 07 Sep 2025 15:44:09 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Configuration
Ubuntu 24.04 - new install
Environment
- OS: Ubuntu 24.04
- Software:
- Node:
- npm:
Process Supervisor
hb-service
Additional Context
No response
Tks for reporting
We have been working thru automating the release creation workflow, and have automated all the steps. Looks like something happened around this mornings run that caused the issue. The new workflow does the apt package release, then installs afterwards. And it reported it was successful.
https://github.com/homebridge/homebridge-apt-pkg/actions/runs/17708396983/job/50323853209
But your report and a recent validation shows the same issue
https://github.com/homebridge/homebridge-apt-pkg/actions/runs/17715842303/job/50340640783
Flushed the cache, and now everything is okay.
https://github.com/homebridge/homebridge-apt-pkg/actions/runs/17715869171/job/50340701748
Something to monitor for
PS If it occurs again, just report it here or via Discord, and we can quickly flush the Cloud Flare cache again.