Package: netdata-core
Version: 1.47.0-1
Severity: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Installing netdata fails like this:

Setting up netdata-core (1.47.0-1) ...
chown: cannot access '/usr/lib/netdata/plugins.d': No such file or directory
dpkg: error processing package netdata-core (--configure):
 installed netdata-core package post-installation script subprocess returned 
error exit status 1
dpkg: dependency problems prevent configuration of netdata-plugins-bash:
 netdata-plugins-bash depends on netdata-core (>= 1.47.0-1); however:
  Package netdata-core is not configured yet.

If I manually create that directory, install fails like this:

Setting up netdata-core (1.47.0-1) ...
Failed to set capabilities on file '/usr/lib/netdata/plugins.d/apps.plugin': No 
such file or directory
chmod: cannot access '/usr/lib/netdata/plugins.d/apps.plugin': No such file or 
directory
dpkg: error processing package netdata-core (--configure):
 installed netdata-core package post-installation script subprocess returned 
error exit status 1
dpkg: dependency problems prevent configuration of netdata-plugins-bash:
 netdata-plugins-bash depends on netdata-core (>= 1.47.0-1); however:
  Package netdata-core is not configured yet.

If I manually create that directory as well, install succeeds.

Workaround therefore seems to be to run this command *before* installing
netdata:

sudo mkdir --parents /usr/lib/netdata/plugins.d/apps.plugin

Kind regards,

 - Jonas

- -- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.10-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages netdata-core depends on:
ii  libc6                      2.40-2
ii  libcap2                    1:2.66-5
ii  libcap2-bin                1:2.66-5
ii  libgcc-s1                  14.2.0-3
ii  libjson-c5                 0.17-1+b1
ii  liblz4-1                   1.9.4-3
ii  libmnl0                    1.0.5-2+b1
ii  libnetfilter-acct1         1.0.3-4+b1
ii  libpcre2-8-0               10.42-4+b1
ii  libsnappy1v5               1.2.1-1
ii  libssl3t64                 3.3.1-7
ii  libstdc++6                 14.2.0-3
ii  libsystemd0                256.5-1
ii  libuuid1                   2.40.2-7
ii  libuv1t64                  1.48.0-5
ii  libyaml-0-2                0.2.5-1+b1
ii  libzstd1                   1.5.6+dfsg-1
ii  passwd                     1:4.16.0-4
ii  sysvinit-utils [lsb-base]  3.10-1
ii  zlib1g                     1:1.3.dfsg+really1.3.1-1

Versions of packages netdata-core recommends:
ii  curl  8.9.1-2

Versions of packages netdata-core suggests:
pn  apcupsd     <none>
ii  iproute2    6.10.0-2
pn  iw          <none>
pn  lm-sensors  <none>
pn  nc          <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmbMwsYMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhNc4P/1GUTFXR9eZErHzsVbpcQs6ElwthwpMSRVblcfHu
sphLrSCLqXW/39X9ifh0nHUNnZxRyc4GBM0xQDIH4iVCUGO8lObqi4irEcCAGDye
tXHgEsf4Hhd2n+olxQkAxlt9iD/A5dLdYFpjQxnc88LYfUAoBCEH8j5sJcfk1Bxn
rULNLVWB1R78DehThYqEKkULL5EfDV/T53ffHUEpyWJXPuJ57yVGmKDqE7VgGcxm
2d9aLtg0E4o2ZmEtrtVGttkoVWFV1cn+EmmVSSwoVyqVM02PWEIHKwjOvT7W0vpt
vbvBlSkjbUDw/LFKYOXFcnteKvHGc5SHMyppapjDVCMgwwuHzuG89bQrzdVRDVsc
MYnVx/HdeEVq3UtyjcMmWOFii13zfzKlMFG9YFGfPHGw9MXm9gvL7k5Khq7ZMQiy
CbG8tTAfoBD/Bmhj+zHEgjHq9DHhGW0kOc/HOfMOCYVXkMSfKp6CV719ERdea55h
Ba2H8qiGjXHbddKCNP7K9jBObrvc1S4YdgzoQLBfjO387e3DZLYAnpVOZSXTiQ34
spd3DSPdo5asc6VZTx8k0QjmwF7R1CvyHwwdbvpxYn6GYFhWdC1yHgKXtm2s6TW9
l6mJD4tagNSjc/gtOa6VtRKjh+bSNkg9ef2eIJ4vt/DLrBXEZtOQeEBd3GJUVl3v
SlTX
=DUAb
-----END PGP SIGNATURE-----

Reply via email to