PDA

View Full Version : Problems installing ntopng



matrixRE
2023-01-27, 17:51
I getting in truble with installang ntopng.

When i follow the intructions and do:


apt-get install software-properties-common
wget add-apt-repository universe
wget https://packages.ntop.org/apt-stable/22.04/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb

I get this failure:


Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'apt-ntop-stable' instead of './apt-ntop-stable.deb'
The following packages were automatically installed and are no longer required:
dh-elpa-helper docutils-common python3-alabaster python3-docutils python3-imagesize python3-roman
python3-snowballstemmer python3-sphinx sphinx-common
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
apt-ntop-stable
0 upgraded, 1 newly installed, 0 to remove and 138 not upgraded.
Need to get 0 B/3,214 B of archives.
After this operation, 7,168 B of additional disk space will be used.
Get:1 /home/kali/apt-ntop-stable.deb apt-ntop-stable all 2.9-24 [3,214 B]
dpkg-deb: error: archive '/home/kali/apt-ntop-stable.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /home/kali/apt-ntop-stable.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/home/kali/apt-ntop-stable.deb
N: Download is performed unsandboxed as root as file '/home/kali/apt-ntop-stable.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can anybody help me?

zaidkhann
2023-05-24, 13:40
The error you encountered during the installation of ntopng seems to be related to the archive file (apt-ntop-stable.deb) that you downloaded. Specifically, it appears that the compression format used for the control archive (control.tar.zst) is unknown or unsupported.


To resolve this issue, you can try the following steps:


Ensure that you have the necessary permissions: Make sure you are running the installation commands with appropriate permissions. You can use sudo before each command to execute them as the superuser.


Re-download the package: Remove the existing apt-ntop-stable.deb file and download it again using the wget command. It's possible that the previous download was incomplete or corrupted.


Check the compression format: After downloading the package, verify the compression format of the file using the file command. It should indicate a supported compression format like gzip or xz.


Update your system: Run sudo apt update to ensure that your package lists are up to date.


Retry the installation: Attempt the installation again by running the apt install ./apt-ntop-stable.deb command. Hopefully, this time it will proceed without encountering the previous error.


If the issue persists, it might be worth checking the ntopng documentation or reaching out to their support channels for further assistance, as they may be able to provide more specific guidance on installing ntopng on your specific distribution.