Some of the netdata packages show up in apt with incorrect architectures (i386, armhf, arm64):
Output from `apt search netdata` demonstrating the issue
```
$ apt search netdata
Sorting... Done
Full Text Search... Done
netdata/unknown 1.44.1 i386
real-time charts for system monitoring
netdata-apache2/oldstable 1.29.3-4 all
real-time performance monitoring (apache integration)
netdata-core/oldstable 1.29.3-4 amd64
real-time performance monitoring (core)
netdata-dbgsym/unknown 1.44.1 armhf
debug symbols for netdata
netdata-ebpf-code-legacy/unknown,now 1.44.1 amd64 [installed,automatic]
Compiled eBPF legacy code for the Netdata eBPF plugin
netdata-plugin-apps/unknown 1.44.1 i386
The per-application metrics collection plugin for the Netdata Agent
netdata-plugin-apps-dbgsym/unknown 1.44.1 i386
debug symbols for netdata-plugin-apps
netdata-plugin-chartsd/unknown,now 1.44.1 all [installed,automatic]
The charts.d metrics collection plugin for the Netdata Agent
netdata-plugin-cups/unknown 1.44.1 i386
The CUPS metrics collection plugin for the Netdata Agent
netdata-plugin-cups-dbgsym/unknown 1.44.1 i386
debug symbols for netdata-plugin-cups
netdata-plugin-debugfs/unknown 1.44.1 i386
The debugfs metrics collector for the Netdata Agent
netdata-plugin-debugfs-dbgsym/unknown 1.44.1 armhf
debug symbols for netdata-plugin-debugfs
netdata-plugin-ebpf/unknown,now 1.44.1 amd64 [installed,automatic]
The eBPF metrics collection plugin for the Netdata Agent
netdata-plugin-ebpf-dbgsym/unknown 1.44.1 amd64
debug symbols for netdata-plugin-ebpf
netdata-plugin-freeipmi/unknown 1.44.1 armhf
The FreeIPMI metrics collection plugin for the Netdata Agent
netdata-plugin-freeipmi-dbgsym/unknown 1.44.1 arm64
debug symbols for netdata-plugin-freeipmi
netdata-plugin-go/unknown 1.44.1 arm64
The go.d metrics collection plugin for the Netdata Agent
netdata-plugin-logs-management/unknown 1.44.1 arm64
The logs-management plugin for the Netdata Agent
netdata-plugin-logs-management-dbgsym/unknown 1.44.1 armhf
debug symbols for netdata-plugin-logs-management
netdata-plugin-nfacct/unknown 1.44.1 i386
The NFACCT metrics collection plugin for the Netdata Agent
netdata-plugin-nfacct-dbgsym/unknown 1.44.1 i386
debug symbols for netdata-plugin-nfacct
netdata-plugin-perf/unknown 1.44.1 arm64
The perf metrics collector for the Netdata Agent
netdata-plugin-perf-dbgsym/unknown 1.44.1 i386
debug symbols for netdata-plugin-perf
netdata-plugin-pythond/unknown,now 1.44.1 all [installed,automatic]
The python.d metrics collection plugin for the Netdata Agent
netdata-plugin-slabinfo/unknown 1.44.1 arm64
The slabinfo metrics collector for the Netdata Agent
netdata-plugin-slabinfo-dbgsym/unknown 1.44.1 armhf
debug symbols for netdata-plugin-slabinfo
netdata-plugin-systemd-journal/unknown,now 1.44.1 amd64 [installed,automatic]
The systemd-journal collector for the Netdata Agent
netdata-plugin-systemd-journal-dbgsym/unknown 1.44.1 i386
debug symbols for netdata-plugin-systemd-journal
netdata-plugins-bash/oldstable 1.29.3-4 all
real-time performance monitoring (bash plugins)
netdata-plugins-nodejs/oldstable 1.29.3-4 all
real-time performance monitoring (nodejs plugins)
netdata-plugins-python/oldstable 1.29.3-4 all
real-time performance monitoring (python plugins)
netdata-repo/unknown,unknown,now 2-2 all [installed]
Configuration for the official Netdata Stable package repository.
netdata-repo-edge/unknown,unknown 2-2 all
Configuration for the official Netdata Edge package repository.
netdata-web/oldstable 1.29.3-4 all
real-time performance monitoring (web)
```
This is confusing because it hides the fact that netdata is actually installed, just with the amd64 architecture:
$ sudo apt install netdata
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
netdata is already the newest version (1.44.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
It doesn't appear to actually cause incorrect-architecture packages to be installed. I don't have this issue with other 3rd party repositories which contain multiple architectures on these machines (Tailscale, Docker, Microsoft). I've observed this issue on 3 separate Debian 11 machines. Perhaps this is an issue with my apt configuration, or a bug in apt, but it seems likely there's something wrong with your repository configuration since it only affects your packages.
Expected behavior
I expect apt search to show amd64 (and all) packages on an amd64 machine.
Steps to reproduce
Install netdata with the kickstart.sh script on Debian 11
apt search netdata
Observe the incorrect package architectures in the apt search output.
The Release file also doesn't include the Suite directive, so apt shows netdata-sourced repo packages as "unknown" rather than bookworm/buster/etc. Looks pretty weird in the shell and feels like it's broken.
Bug description
Some of the netdata packages show up in apt with incorrect architectures (i386, armhf, arm64):
Output from `apt search netdata` demonstrating the issue
``` $ apt search netdata Sorting... Done Full Text Search... Done netdata/unknown 1.44.1 i386 real-time charts for system monitoring netdata-apache2/oldstable 1.29.3-4 all real-time performance monitoring (apache integration) netdata-core/oldstable 1.29.3-4 amd64 real-time performance monitoring (core) netdata-dbgsym/unknown 1.44.1 armhf debug symbols for netdata netdata-ebpf-code-legacy/unknown,now 1.44.1 amd64 [installed,automatic] Compiled eBPF legacy code for the Netdata eBPF plugin netdata-plugin-apps/unknown 1.44.1 i386 The per-application metrics collection plugin for the Netdata Agent netdata-plugin-apps-dbgsym/unknown 1.44.1 i386 debug symbols for netdata-plugin-apps netdata-plugin-chartsd/unknown,now 1.44.1 all [installed,automatic] The charts.d metrics collection plugin for the Netdata Agent netdata-plugin-cups/unknown 1.44.1 i386 The CUPS metrics collection plugin for the Netdata Agent netdata-plugin-cups-dbgsym/unknown 1.44.1 i386 debug symbols for netdata-plugin-cups netdata-plugin-debugfs/unknown 1.44.1 i386 The debugfs metrics collector for the Netdata Agent netdata-plugin-debugfs-dbgsym/unknown 1.44.1 armhf debug symbols for netdata-plugin-debugfs netdata-plugin-ebpf/unknown,now 1.44.1 amd64 [installed,automatic] The eBPF metrics collection plugin for the Netdata Agent netdata-plugin-ebpf-dbgsym/unknown 1.44.1 amd64 debug symbols for netdata-plugin-ebpf netdata-plugin-freeipmi/unknown 1.44.1 armhf The FreeIPMI metrics collection plugin for the Netdata Agent netdata-plugin-freeipmi-dbgsym/unknown 1.44.1 arm64 debug symbols for netdata-plugin-freeipmi netdata-plugin-go/unknown 1.44.1 arm64 The go.d metrics collection plugin for the Netdata Agent netdata-plugin-logs-management/unknown 1.44.1 arm64 The logs-management plugin for the Netdata Agent netdata-plugin-logs-management-dbgsym/unknown 1.44.1 armhf debug symbols for netdata-plugin-logs-management netdata-plugin-nfacct/unknown 1.44.1 i386 The NFACCT metrics collection plugin for the Netdata Agent netdata-plugin-nfacct-dbgsym/unknown 1.44.1 i386 debug symbols for netdata-plugin-nfacct netdata-plugin-perf/unknown 1.44.1 arm64 The perf metrics collector for the Netdata Agent netdata-plugin-perf-dbgsym/unknown 1.44.1 i386 debug symbols for netdata-plugin-perf netdata-plugin-pythond/unknown,now 1.44.1 all [installed,automatic] The python.d metrics collection plugin for the Netdata Agent netdata-plugin-slabinfo/unknown 1.44.1 arm64 The slabinfo metrics collector for the Netdata Agent netdata-plugin-slabinfo-dbgsym/unknown 1.44.1 armhf debug symbols for netdata-plugin-slabinfo netdata-plugin-systemd-journal/unknown,now 1.44.1 amd64 [installed,automatic] The systemd-journal collector for the Netdata Agent netdata-plugin-systemd-journal-dbgsym/unknown 1.44.1 i386 debug symbols for netdata-plugin-systemd-journal netdata-plugins-bash/oldstable 1.29.3-4 all real-time performance monitoring (bash plugins) netdata-plugins-nodejs/oldstable 1.29.3-4 all real-time performance monitoring (nodejs plugins) netdata-plugins-python/oldstable 1.29.3-4 all real-time performance monitoring (python plugins) netdata-repo/unknown,unknown,now 2-2 all [installed] Configuration for the official Netdata Stable package repository. netdata-repo-edge/unknown,unknown 2-2 all Configuration for the official Netdata Edge package repository. netdata-web/oldstable 1.29.3-4 all real-time performance monitoring (web) ```This is confusing because it hides the fact that netdata is actually installed, just with the amd64 architecture:
It doesn't appear to actually cause incorrect-architecture packages to be installed. I don't have this issue with other 3rd party repositories which contain multiple architectures on these machines (Tailscale, Docker, Microsoft). I've observed this issue on 3 separate Debian 11 machines. Perhaps this is an issue with my apt configuration, or a bug in apt, but it seems likely there's something wrong with your repository configuration since it only affects your packages.
Expected behavior
I expect
apt search
to showamd64
(andall
) packages on anamd64
machine.Steps to reproduce
apt search netdata
Installation method
kickstart.sh
System info
Netdata build info
Additional info
amd64
is the only architecture enabled on the machines: