Jak skonfigurować nmap tracker?

Po dodaniu tej integracji otrzymuje taki komunikat w logach

Logger: homeassistant.components.nmap_tracker
Source: components/nmap_tracker/__init__.py:275
Integration: Nmap Tracker (documentation, issues)
First occurred: 10:19:37 (2 occurrences)
Last logged: 10:23:29

Nmap scanning failed: 'nmap program was not found in path. PATH is : /data/data/pl.sviete.dom/files/usr/bin:/data/data/pl.sviete.dom/files/usr/bin/applets'

Czy ktoś miał podobny problem lub wie jak go rozwiązać?

apt install nmap

:slight_smile:

Czyli wystarczy wpisać tą komenda zamiast dodawać te integrację czy dodatkowo trzeba ją wpisać po dodaniu integracji?

edit : @Sebastian po wpisaniu tej komendy

mam takie coś (z i bez integracji jest to samo)

~ $ apt install nmap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  liblua53 libpcap nmap-ncat resolv-conf
The following NEW packages will be installed:
  liblua53 libpcap nmap nmap-ncat resolv-conf
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 4791 kB of archives.
After this operation, 26.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://powiedz.co/apt python/3.9 arm liblua53 arm 5.3.5-6 [80.7 kB]
Err:1 https://powiedz.co/apt python/3.9 arm liblua53 arm 5.3.5-6
  File has unexpected size (80692 != 80726). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:ff1c4426d6b97eb93b969858395bb27660764be53d3c1187d0e506a3c636e7f2961bca98296237247aa16fdc328152daf05e971c1bc4480d9bdc1a322a47771a
   - SHA256:a4f0266e5fecdbc1dee4f3dda6501084704e538c30ed9f73dc05f81ad4e22ec8
   - SHA1:829ff03a08855c2124bf962a25fc99ce9735a8f7 [weak]
   - MD5Sum:b107e3daa37d2b9f440fae2074a51586 [weak]
   - Filesize:80726 [weak]
Get:2 https://powiedz.co/apt python/3.9 arm libpcap arm 1.10.1 [215 kB]
Err:2 https://powiedz.co/apt python/3.9 arm libpcap arm 1.10.1
  File has unexpected size (214432 != 214710). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:15423771fd3b41ccc2c6ff6e85ad4e69310de4857128a58ceefcb8b4e9a26e328bee594f4a91a95ecf2c864c2bc4c12e54f747e8915d77dfaa2bc18a31e83149
   - SHA256:bba3a25fb5f928b5b25a572e318591b1137932589c5f32e36eaea701e631b0f0
   - SHA1:dc3111afd133bb77e71caf5b8ac804d2f53586aa [weak]
   - MD5Sum:0dd3f9a5a2876a9b0dbca6e3561a813e [weak]
   - Filesize:214710 [weak]
Get:3 https://powiedz.co/apt python/3.9 arm resolv-conf arm 1.3 [978 B]
Err:3 https://powiedz.co/apt python/3.9 arm resolv-conf arm 1.3
  File has unexpected size (1016 != 978). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:a0b0d34bb7fe503d3a2e116e59f70c59fbba225e1946117edd4e13869d0a4fefde802b9476328e64f30bba240749885bdacc65f7ea0c947927874c61b0ac5fe5
   - SHA256:b87ed295216cefe011a7da87403c29f8fda27a28f31f3107ffb912d267a2ec9d
   - SHA1:cc97c2ecbd87eeae542e4059e64d520ea434a4d1 [weak]
   - MD5Sum:0f0061ab4d38a1b7936bcfd3e17de327 [weak]
   - Filesize:978 [weak]
Get:4 https://powiedz.co/apt python/3.9 arm nmap arm 7.91-1 [4417 kB]
Err:4 https://powiedz.co/apt python/3.9 arm nmap arm 7.91-1
  File has unexpected size (4423164 != 4416514). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:dfde5c526e02abc10e088f15513f6cd63a562254aa195761f6be28a64d4945c2337e01e202bffebf7982cae9c612a3ae2076286df2fdede4a68994bca10733d0
   - SHA256:5ee1934978d7c1278735db70a13eae8185ca7e7e15390fa541b46c902452092f
   - SHA1:85e7807bb101cd61a64ae9532ccf32c508ec38ac [weak]
   - MD5Sum:80c12101879ba15ed883873a6ace78b7 [weak]
   - Filesize:4416514 [weak]
Get:5 https://powiedz.co/apt python/3.9 arm nmap-ncat arm 7.91-1 [77.8 kB]
Err:5 https://powiedz.co/apt python/3.9 arm nmap-ncat arm 7.91-1
  File has unexpected size (77908 != 77842). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:e573775bfc99dc6dbae10a125b098e80d5663efad34e8c73a142225a30e5f3706ce486f7b9898389605263bb68d6261aa43d581e137147bad139685d07938751
   - SHA256:3109dc6c988ea70f2bed66d6537760108b99818c83cfc1885bb7fceed7af78a4
   - SHA1:35c1e242fb7062bdb79c673a8e67ecd7db1bc469 [weak]
   - MD5Sum:44e93f2f01be5125a4a20fc2756b6710 [weak]
   - Filesize:77842 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/liblua53_5.3.5-6_arm.deb  File has unexpected size (80692 != 80726). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:ff1c4426d6b97eb93b969858395bb27660764be53d3c1187d0e506a3c636e7f2961bca98296237247aa16fdc328152daf05e971c1bc4480d9bdc1a322a47771a
    - SHA256:a4f0266e5fecdbc1dee4f3dda6501084704e538c30ed9f73dc05f81ad4e22ec8
    - SHA1:829ff03a08855c2124bf962a25fc99ce9735a8f7 [weak]
    - MD5Sum:b107e3daa37d2b9f440fae2074a51586 [weak]
    - Filesize:80726 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/libpcap_1.10.1_arm.deb  File has unexpected size (214432 != 214710). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:15423771fd3b41ccc2c6ff6e85ad4e69310de4857128a58ceefcb8b4e9a26e328bee594f4a91a95ecf2c864c2bc4c12e54f747e8915d77dfaa2bc18a31e83149
    - SHA256:bba3a25fb5f928b5b25a572e318591b1137932589c5f32e36eaea701e631b0f0
    - SHA1:dc3111afd133bb77e71caf5b8ac804d2f53586aa [weak]
    - MD5Sum:0dd3f9a5a2876a9b0dbca6e3561a813e [weak]
    - Filesize:214710 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/resolv-conf_1.3_arm.deb  File has unexpected size (1016 != 978). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:a0b0d34bb7fe503d3a2e116e59f70c59fbba225e1946117edd4e13869d0a4fefde802b9476328e64f30bba240749885bdacc65f7ea0c947927874c61b0ac5fe5
    - SHA256:b87ed295216cefe011a7da87403c29f8fda27a28f31f3107ffb912d267a2ec9d
    - SHA1:cc97c2ecbd87eeae542e4059e64d520ea434a4d1 [weak]
    - MD5Sum:0f0061ab4d38a1b7936bcfd3e17de327 [weak]
    - Filesize:978 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/nmap_7.91-1_arm.deb  File has unexpected size (4423164 != 4416514). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:dfde5c526e02abc10e088f15513f6cd63a562254aa195761f6be28a64d4945c2337e01e202bffebf7982cae9c612a3ae2076286df2fdede4a68994bca10733d0
    - SHA256:5ee1934978d7c1278735db70a13eae8185ca7e7e15390fa541b46c902452092f
    - SHA1:85e7807bb101cd61a64ae9532ccf32c508ec38ac [weak]
    - MD5Sum:80c12101879ba15ed883873a6ace78b7 [weak]
    - Filesize:4416514 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/nmap-ncat_7.91-1_arm.deb  File has unexpected size (77908 != 77842). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:e573775bfc99dc6dbae10a125b098e80d5663efad34e8c73a142225a30e5f3706ce486f7b9898389605263bb68d6261aa43d581e137147bad139685d07938751
    - SHA256:3109dc6c988ea70f2bed66d6537760108b99818c83cfc1885bb7fceed7af78a4
    - SHA1:35c1e242fb7062bdb79c673a8e67ecd7db1bc469 [weak]
    - MD5Sum:44e93f2f01be5125a4a20fc2756b6710 [weak]
    - Filesize:77842 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
~ $ 

zaś gdy dodam tak

~ $ apt install nmap --fix-missing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  liblua53 libpcap nmap-ncat resolv-conf
The following NEW packages will be installed:
  liblua53 libpcap nmap nmap-ncat resolv-conf
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 4791 kB of archives.
After this operation, 26.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://powiedz.co/apt python/3.9 arm liblua53 arm 5.3.5-6 [80.7 kB]
Err:1 https://powiedz.co/apt python/3.9 arm liblua53 arm 5.3.5-6
  File has unexpected size (80692 != 80726). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:ff1c4426d6b97eb93b969858395bb27660764be53d3c1187d0e506a3c636e7f2961bca98296237247aa16fdc328152daf05e971c1bc4480d9bdc1a322a47771a
   - SHA256:a4f0266e5fecdbc1dee4f3dda6501084704e538c30ed9f73dc05f81ad4e22ec8
   - SHA1:829ff03a08855c2124bf962a25fc99ce9735a8f7 [weak]
   - MD5Sum:b107e3daa37d2b9f440fae2074a51586 [weak]
   - Filesize:80726 [weak]
Get:2 https://powiedz.co/apt python/3.9 arm libpcap arm 1.10.1 [215 kB]
Err:2 https://powiedz.co/apt python/3.9 arm libpcap arm 1.10.1
  File has unexpected size (214432 != 214710). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:15423771fd3b41ccc2c6ff6e85ad4e69310de4857128a58ceefcb8b4e9a26e328bee594f4a91a95ecf2c864c2bc4c12e54f747e8915d77dfaa2bc18a31e83149
   - SHA256:bba3a25fb5f928b5b25a572e318591b1137932589c5f32e36eaea701e631b0f0
   - SHA1:dc3111afd133bb77e71caf5b8ac804d2f53586aa [weak]
   - MD5Sum:0dd3f9a5a2876a9b0dbca6e3561a813e [weak]
   - Filesize:214710 [weak]
Get:3 https://powiedz.co/apt python/3.9 arm resolv-conf arm 1.3 [978 B]
Err:3 https://powiedz.co/apt python/3.9 arm resolv-conf arm 1.3
  File has unexpected size (1016 != 978). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:a0b0d34bb7fe503d3a2e116e59f70c59fbba225e1946117edd4e13869d0a4fefde802b9476328e64f30bba240749885bdacc65f7ea0c947927874c61b0ac5fe5
   - SHA256:b87ed295216cefe011a7da87403c29f8fda27a28f31f3107ffb912d267a2ec9d
   - SHA1:cc97c2ecbd87eeae542e4059e64d520ea434a4d1 [weak]
   - MD5Sum:0f0061ab4d38a1b7936bcfd3e17de327 [weak]
   - Filesize:978 [weak]
Get:4 https://powiedz.co/apt python/3.9 arm nmap arm 7.91-1 [4417 kB]
Err:4 https://powiedz.co/apt python/3.9 arm nmap arm 7.91-1
  File has unexpected size (4423164 != 4416514). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:dfde5c526e02abc10e088f15513f6cd63a562254aa195761f6be28a64d4945c2337e01e202bffebf7982cae9c612a3ae2076286df2fdede4a68994bca10733d0
   - SHA256:5ee1934978d7c1278735db70a13eae8185ca7e7e15390fa541b46c902452092f
   - SHA1:85e7807bb101cd61a64ae9532ccf32c508ec38ac [weak]
   - MD5Sum:80c12101879ba15ed883873a6ace78b7 [weak]
   - Filesize:4416514 [weak]
Get:5 https://powiedz.co/apt python/3.9 arm nmap-ncat arm 7.91-1 [77.8 kB]
Err:5 https://powiedz.co/apt python/3.9 arm nmap-ncat arm 7.91-1
  File has unexpected size (77908 != 77842). Mirror sync in progress? [IP: 172.67.150.220 443]
  Hashes of expected file:
   - SHA512:e573775bfc99dc6dbae10a125b098e80d5663efad34e8c73a142225a30e5f3706ce486f7b9898389605263bb68d6261aa43d581e137147bad139685d07938751
   - SHA256:3109dc6c988ea70f2bed66d6537760108b99818c83cfc1885bb7fceed7af78a4
   - SHA1:35c1e242fb7062bdb79c673a8e67ecd7db1bc469 [weak]
   - MD5Sum:44e93f2f01be5125a4a20fc2756b6710 [weak]
   - Filesize:77842 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/liblua53_5.3.5-6_arm.deb  File has unexpected size (80692 != 80726). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:ff1c4426d6b97eb93b969858395bb27660764be53d3c1187d0e506a3c636e7f2961bca98296237247aa16fdc328152daf05e971c1bc4480d9bdc1a322a47771a
    - SHA256:a4f0266e5fecdbc1dee4f3dda6501084704e538c30ed9f73dc05f81ad4e22ec8
    - SHA1:829ff03a08855c2124bf962a25fc99ce9735a8f7 [weak]
    - MD5Sum:b107e3daa37d2b9f440fae2074a51586 [weak]
    - Filesize:80726 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/libpcap_1.10.1_arm.deb  File has unexpected size (214432 != 214710). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:15423771fd3b41ccc2c6ff6e85ad4e69310de4857128a58ceefcb8b4e9a26e328bee594f4a91a95ecf2c864c2bc4c12e54f747e8915d77dfaa2bc18a31e83149
    - SHA256:bba3a25fb5f928b5b25a572e318591b1137932589c5f32e36eaea701e631b0f0
    - SHA1:dc3111afd133bb77e71caf5b8ac804d2f53586aa [weak]
    - MD5Sum:0dd3f9a5a2876a9b0dbca6e3561a813e [weak]
    - Filesize:214710 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/resolv-conf_1.3_arm.deb  File has unexpected size (1016 != 978). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:a0b0d34bb7fe503d3a2e116e59f70c59fbba225e1946117edd4e13869d0a4fefde802b9476328e64f30bba240749885bdacc65f7ea0c947927874c61b0ac5fe5
    - SHA256:b87ed295216cefe011a7da87403c29f8fda27a28f31f3107ffb912d267a2ec9d
    - SHA1:cc97c2ecbd87eeae542e4059e64d520ea434a4d1 [weak]
    - MD5Sum:0f0061ab4d38a1b7936bcfd3e17de327 [weak]
    - Filesize:978 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/nmap_7.91-1_arm.deb  File has unexpected size (4423164 != 4416514). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:dfde5c526e02abc10e088f15513f6cd63a562254aa195761f6be28a64d4945c2337e01e202bffebf7982cae9c612a3ae2076286df2fdede4a68994bca10733d0
    - SHA256:5ee1934978d7c1278735db70a13eae8185ca7e7e15390fa541b46c902452092f
    - SHA1:85e7807bb101cd61a64ae9532ccf32c508ec38ac [weak]
    - MD5Sum:80c12101879ba15ed883873a6ace78b7 [weak]
    - Filesize:4416514 [weak]
E: Failed to fetch https://powiedz.co/apt/dists/python/3.9/binary-arm/nmap-ncat_7.91-1_arm.deb  File has unexpected size (77908 != 77842). Mirror sync in progress? [IP: 172.67.150.220 443]
   Hashes of expected file:
    - SHA512:e573775bfc99dc6dbae10a125b098e80d5663efad34e8c73a142225a30e5f3706ce486f7b9898389605263bb68d6261aa43d581e137147bad139685d07938751
    - SHA256:3109dc6c988ea70f2bed66d6537760108b99818c83cfc1885bb7fceed7af78a4
    - SHA1:35c1e242fb7062bdb79c673a8e67ecd7db1bc469 [weak]
    - MD5Sum:44e93f2f01be5125a4a20fc2756b6710 [weak]
    - Filesize:77842 [weak]
E: Internal Error, ordering was unable to handle the media swap
~ $ 

to też nie mogę zainstalować

dopiero po wpisaniu pkg install nmap się zainstalowało bez problemu

Wielokrotnie ostrzegano przed zmianą repozytorium na inną niż apt (np pkg), ale chyba wiesz co robisz…