netbird 0.56.1 Debian apt package wrong size #2255

Closed
opened 2025-11-20 07:06:34 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @NightSkySK on GitHub (Sep 8, 2025).

Describe the problem

During installation of netbird on Debian 12 following error:

Get:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1 [12.4 MB]
Err:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1
  File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443]
  Hashes of expected file:
   - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544
   - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak]
   - Filesize:12418094 [weak]
E: Failed to fetch https://pkgs.netbird.io/debian/pool/netbird_0.56.1_linux_amd64.deb  File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443]
   Hashes of expected file:
    - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544
    - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak]
    - Filesize:12418094 [weak]

To Reproduce

Steps to reproduce the behavior:

  1. Install Debian 12 netinstall on fresh machine
  2. Run installation script curl -fsSL https://pkgs.netbird.io/install.sh | sh
  3. Error during installation
NetBird UI installation will be omitted as Linux does not run desktop environment
The installation will be performed using apt package manager
Hit:1 https://pkgs.netbird.io/debian stable InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311+deb12u1).
curl is already the newest version (7.88.1-10+deb12u14).
gnupg is already the newest version (2.2.40-1.1+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 https://pkgs.netbird.io/debian stable InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  netbird
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.4 MB of archives.
After this operation, 33.2 MB of additional disk space will be used.
Get:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1 [12.4 MB]
Err:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1
  File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443]
  Hashes of expected file:
   - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544
   - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak]
   - Filesize:12418094 [weak]
E: Failed to fetch https://pkgs.netbird.io/debian/pool/netbird_0.56.1_linux_amd64.deb  File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443]
   Hashes of expected file:
    - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544
    - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak]
    - Filesize:12418094 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Expected behavior

Install netbird with newest version

Are you using NetBird Cloud?

NetBird Cloud

NetBird version

0.56.1

Is any other VPN software installed?

No

Debug output

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @NightSkySK on GitHub (Sep 8, 2025). **Describe the problem** During installation of netbird on Debian 12 following error: ``` Get:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1 [12.4 MB] Err:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1 File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443] Hashes of expected file: - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544 - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak] - Filesize:12418094 [weak] E: Failed to fetch https://pkgs.netbird.io/debian/pool/netbird_0.56.1_linux_amd64.deb File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443] Hashes of expected file: - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544 - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak] - Filesize:12418094 [weak] ``` **To Reproduce** Steps to reproduce the behavior: 1. Install Debian 12 netinstall on fresh machine 2. Run installation script `curl -fsSL https://pkgs.netbird.io/install.sh | sh` 3. Error during installation ``` NetBird UI installation will be omitted as Linux does not run desktop environment The installation will be performed using apt package manager Hit:1 https://pkgs.netbird.io/debian stable InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://security.debian.org/debian-security bookworm-security InRelease Hit:4 http://deb.debian.org/debian bookworm-updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20230311+deb12u1). curl is already the newest version (7.88.1-10+deb12u14). gnupg is already the newest version (2.2.40-1.1+deb12u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main Hit:1 http://security.debian.org/debian-security bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 https://pkgs.netbird.io/debian stable InRelease Hit:4 http://deb.debian.org/debian bookworm-updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: netbird 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 12.4 MB of archives. After this operation, 33.2 MB of additional disk space will be used. Get:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1 [12.4 MB] Err:1 https://pkgs.netbird.io/debian stable/main amd64 netbird amd64 0.56.1 File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443] Hashes of expected file: - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544 - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak] - Filesize:12418094 [weak] E: Failed to fetch https://pkgs.netbird.io/debian/pool/netbird_0.56.1_linux_amd64.deb File has unexpected size (12418090 != 12418094). Mirror sync in progress? [IP: 5.22.212.152 443] Hashes of expected file: - SHA256:ba0a285b15a3c3dff97bdb24fd1585c1827415ff8fba6f80b1a600c5fe742544 - SHA1:e5c4c2b7785c39d2b3a94edc9f080c8189484b28 [weak] - Filesize:12418094 [weak] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ``` **Expected behavior** Install netbird with newest version **Are you using NetBird Cloud?** NetBird Cloud **NetBird version** `0.56.1` **Is any other VPN software installed?** No **Debug output** **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 07:06:34 -05:00
Author
Owner

@SamFusco commented on GitHub (Sep 8, 2025):

Can report the same issue on a fleet of Ubuntu 22.04 and Ubuntu 24.04 Desktop and Servers.

@SamFusco commented on GitHub (Sep 8, 2025): Can report the same issue on a fleet of Ubuntu 22.04 and Ubuntu 24.04 Desktop and Servers.
Author
Owner

@mlsmaycon commented on GitHub (Sep 8, 2025):

@NightSkySK @SamFusco, can you confirm if the issue is still happening? We had a temporary release issue, which caused the package hash to change on each rerun. It should be resolved now.

@mlsmaycon commented on GitHub (Sep 8, 2025): @NightSkySK @SamFusco, can you confirm if the issue is still happening? We had a temporary release issue, which caused the package hash to change on each rerun. It should be resolved now.
Author
Owner

@SamFusco commented on GitHub (Sep 8, 2025):

My bad, can confirm working. Our apt-cacher-ng hasn't been cleared out for the new fix. Updated some servers by bypassing our local cacher.

Thanks.

@SamFusco commented on GitHub (Sep 8, 2025): My bad, can confirm working. Our apt-cacher-ng hasn't been cleared out for the new fix. Updated some servers by bypassing our local cacher. Thanks.
Author
Owner

@NightSkySK commented on GitHub (Sep 9, 2025):

@mlsmaycon the issue is solved for me as well

@NightSkySK commented on GitHub (Sep 9, 2025): @mlsmaycon the issue is solved for me as well
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2255