netdata / netdata

The open-source observability platform everyone needs!

Home Page:https://www.netdata.cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]:

sesipod opened this issue · comments

Bug description

updating fails (File has unexpected size)

root@15-Port:~# apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  netdata netdata-ebpf-code-legacy netdata-plugin-apps netdata-plugin-chartsd netdata-plugin-debugfs netdata-plugin-ebpf netdata-plugin-go
  netdata-plugin-logs-management netdata-plugin-network-viewer netdata-plugin-nfacct netdata-plugin-perf netdata-plugin-pythond netdata-plugin-slabinfo
  netdata-plugin-systemd-journal
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 259 kB/33.5 MB of archives.
After this operation, 32.8 kB of additional disk space will be used.
Get:1 https://repo.netdata.cloud/repos/edge/debian bullseye/ netdata-plugin-pythond 1.45.0-123-nightly [227 kB]
Err:1 https://repo.netdata.cloud/repos/edge/debian bullseye/ netdata-plugin-pythond 1.45.0-123-nightly
  File has unexpected size (227370 != 227374). Mirror sync in progress? [IP: 172.67.72.170 443]
  Hashes of expected file:
   - SHA256:75cc08c75f2a4b4b54add97fa48af966c7da335e3d84fa6141fa8f48a6be9972
   - SHA1:f5fd017904a0917f1efbe057e4336760a6e0c5db [weak]
   - MD5Sum:7deee3c04288314be351767ed7e18d0b [weak]
   - Filesize:227374 [weak]
Get:2 https://repo.netdata.cloud/repos/edge/debian bullseye/ netdata-plugin-chartsd 1.45.0-123-nightly [32.0 kB]
Err:2 https://repo.netdata.cloud/repos/edge/debian bullseye/ netdata-plugin-chartsd 1.45.0-123-nightly
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:8efe25dd1c8ee72897e74aac731fd028fda31b200379de06d28c05d3c5f9e7fc
   - SHA1:4225b5d3d15d997be4375bea921d4618481b36ef [weak]
   - MD5Sum:c76a9b832a5f297100206e17f5347e00 [weak]
   - Filesize:31994 [weak]
  Hashes of received file:
   - SHA256:db8d123f727233787a4591b2cd0b10428d706d3c45867b374f415a829028a07b
   - SHA1:711087a0f5dc7306f4f7cefa19c52e096465226a [weak]
   - MD5Sum:f21b7bad69aeb1b0bed82d75ea51ac1c [weak]
   - Filesize:31994 [weak]
  Last modification reported: Tue, 09 Apr 2024 00:49:00 +0000
Fetched 32.0 kB in 0s (101 kB/s)                   
E: Failed to fetch https://repo.netdata.cloud/repos/edge/debian/bullseye/netdata-plugin-pythond_1.45.0-123-nightly%2bdebian11_all.deb  File has unexpected size (227370 != 227374). Mirror sync in progress? [IP: 172.67.72.170 443]
   Hashes of expected file:
    - SHA256:75cc08c75f2a4b4b54add97fa48af966c7da335e3d84fa6141fa8f48a6be9972
    - SHA1:f5fd017904a0917f1efbe057e4336760a6e0c5db [weak]
    - MD5Sum:7deee3c04288314be351767ed7e18d0b [weak]
    - Filesize:227374 [weak]
E: Failed to fetch https://repo.netdata.cloud/repos/edge/debian/bullseye/netdata-plugin-chartsd_1.45.0-123-nightly%2bdebian11_all.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:8efe25dd1c8ee72897e74aac731fd028fda31b200379de06d28c05d3c5f9e7fc
    - SHA1:4225b5d3d15d997be4375bea921d4618481b36ef [weak]
    - MD5Sum:c76a9b832a5f297100206e17f5347e00 [weak]
    - Filesize:31994 [weak]
   Hashes of received file:
    - SHA256:db8d123f727233787a4591b2cd0b10428d706d3c45867b374f415a829028a07b
    - SHA1:711087a0f5dc7306f4f7cefa19c52e096465226a [weak]
    - MD5Sum:f21b7bad69aeb1b0bed82d75ea51ac1c [weak]
    - Filesize:31994 [weak]
   Last modification reported: Tue, 09 Apr 2024 00:49:00 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Expected behavior

Update completely

Steps to reproduce

1.apt update
2.apt upgrade -y
3.
...

Installation method

kickstart.sh

System info

root@15-Port:~# uname -a; grep -HvE "^#|URL" /etc/*release
Linux 15-Port 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 GNU/Linux
/etc/os-release:PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
/etc/os-release:NAME="Debian GNU/Linux"
/etc/os-release:VERSION_ID="11"
/etc/os-release:VERSION="11 (bullseye)"
/etc/os-release:VERSION_CODENAME=bullseye
/etc/os-release:ID=debian

Netdata build info

root@15-Port:~# netdata -W buildinfo
Packaging:
    Netdata Version ____________________________________________ : v1.45.0-113-nightly
    Installation Type __________________________________________ : binpkg-deb
    Package Architecture _______________________________________ : x86_64
    Package Distro _____________________________________________ :  
    Configure Options __________________________________________ : dummy-configure-command
Default Directories:
    User Configurations ________________________________________ : /etc/netdata
    Stock Configurations _______________________________________ : /usr/lib/netdata/conf.d
    Ephemeral Databases (metrics data, metadata) _______________ : /var/cache/netdata
    Permanent Databases ________________________________________ : /var/lib/netdata
    Plugins ____________________________________________________ : /usr/libexec/netdata/plugins.d
    Static Web Files ___________________________________________ : /var/lib/netdata/www
    Log Files __________________________________________________ : /var/log/netdata
    Lock Files _________________________________________________ : /var/lib/netdata/lock
    Home _______________________________________________________ : /var/lib/netdata
Operating System:
    Kernel _____________________________________________________ : Linux
    Kernel Version _____________________________________________ : 5.10.0-28-amd64
    Operating System ___________________________________________ : Debian GNU/Linux
    Operating System ID ________________________________________ : debian
    Operating System ID Like ___________________________________ : unknown
    Operating System Version ___________________________________ : 11 (bullseye)
    Operating System Version ID ________________________________ : none
    Detection __________________________________________________ : /etc/os-release
Hardware:
    CPU Cores __________________________________________________ : 4
    CPU Frequency ______________________________________________ : 2599000000
    RAM Bytes __________________________________________________ : 8330915840
    Disk Capacity ______________________________________________ : 429496729600
    CPU Architecture ___________________________________________ : x86_64
    Virtualization Technology __________________________________ : vmware
    Virtualization Detection ___________________________________ : systemd-detect-virt
Container:
    Container __________________________________________________ : none
    Container Detection ________________________________________ : systemd-detect-virt
    Container Orchestrator _____________________________________ : none
    Container Operating System _________________________________ : none
    Container Operating System ID ______________________________ : none
    Container Operating System ID Like _________________________ : none
    Container Operating System Version _________________________ : none
    Container Operating System Version ID ______________________ : none
    Container Operating System Detection _______________________ : none
Features:
    Built For __________________________________________________ : Linux
    Netdata Cloud ______________________________________________ : YES
    Health (trigger alerts and send notifications) _____________ : YES
    Streaming (stream metrics to parent Netdata servers) _______ : YES
    Back-filling (of higher database tiers) ____________________ : YES
    Replication (fill the gaps of parent Netdata servers) ______ : YES
    Streaming and Replication Compression ______________________ : YES (zstd lz4 gzip)
    Contexts (index all active and archived metrics) ___________ : YES
    Tiering (multiple dbs with different metrics resolution) ___ : YES (5)
    Machine Learning ___________________________________________ : YES
Database Engines:
    dbengine (compression) _____________________________________ : YES (zstd lz4)
    alloc ______________________________________________________ : YES
    ram ________________________________________________________ : YES
    none _______________________________________________________ : YES
Connectivity Capabilities:
    ACLK (Agent-Cloud Link: MQTT over WebSockets over TLS) _____ : YES
    static (Netdata internal web server) _______________________ : YES
    h2o (web server) ___________________________________________ : YES
    WebRTC (experimental) ______________________________________ : NO
    Native HTTPS (TLS Support) _________________________________ : YES
    TLS Host Verification ______________________________________ : YES
Libraries:
    LZ4 (extremely fast lossless compression algorithm) ________ : YES
    ZSTD (fast, lossless compression algorithm) ________________ : YES
    zlib (lossless data-compression library) ___________________ : YES
    Brotli (generic-purpose lossless compression algorithm) ____ : NO
    protobuf (platform-neutral data serialization protocol) ____ : YES (system)
    OpenSSL (cryptography) _____________________________________ : YES
    libdatachannel (stand-alone WebRTC data channels) __________ : NO
    JSON-C (lightweight JSON manipulation) _____________________ : YES
    libcap (Linux capabilities system operations) ______________ : NO
    libcrypto (cryptographic functions) ________________________ : YES
    libyaml (library for parsing and emitting YAML) ____________ : YES
Plugins:
    apps (monitor processes) ___________________________________ : YES
    cgroups (monitor containers and VMs) _______________________ : YES
    cgroup-network (associate interfaces to CGROUPS) ___________ : YES
    proc (monitor Linux systems) _______________________________ : YES
    tc (monitor Linux network QoS) _____________________________ : YES
    diskspace (monitor Linux mount points) _____________________ : YES
    freebsd (monitor FreeBSD systems) __________________________ : NO
    macos (monitor MacOS systems) ______________________________ : NO
    statsd (collect custom application metrics) ________________ : YES
    timex (check system clock synchronization) _________________ : YES
    idlejitter (check system latency and jitter) _______________ : YES
    bash (support shell data collection jobs - charts.d) _______ : YES
    debugfs (kernel debugging metrics) _________________________ : YES
    cups (monitor printers and print jobs) _____________________ : YES
    ebpf (monitor system calls) ________________________________ : YES
    freeipmi (monitor enterprise server H/W) ___________________ : YES
    nfacct (gather netfilter accounting) _______________________ : YES
    perf (collect kernel performance events) ___________________ : YES
    slabinfo (monitor kernel object caching) ___________________ : YES
    Xen ________________________________________________________ : YES
    Xen VBD Error Tracking _____________________________________ : NO
    Logs Management ____________________________________________ : YES
Exporters:
    AWS Kinesis ________________________________________________ : NO
    GCP PubSub _________________________________________________ : NO
    MongoDB ____________________________________________________ : YES
    Prometheus (OpenMetrics) Exporter __________________________ : YES
    Prometheus Remote Write ____________________________________ : YES
    Graphite ___________________________________________________ : YES
    Graphite HTTP / HTTPS ______________________________________ : YES
    JSON _______________________________________________________ : YES
    JSON HTTP / HTTPS __________________________________________ : YES
    OpenTSDB ___________________________________________________ : YES
    OpenTSDB HTTP / HTTPS ______________________________________ : YES
    All Metrics API ____________________________________________ : YES
    Shell (use metrics in shell scripts) _______________________ : YES
Debug/Developer Features:
    Trace All Netdata Allocations (with charts) ________________ : NO
    Developer Mode (more runtime checks, slower) _______________ : NO
root@15-Port:~#

Additional info

No response

@sesipod can you retry?