ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.16k stars 648 forks source link

Support Ubuntu 24.04 #8413

Closed D-VR closed 3 months ago

D-VR commented 3 months ago

What would you like to add or change?: Add support to install on Ubuntu 24.04 systems

Why do you and others need this?:

Following the stable release instructions for 22.04 leads to:

sudo apt update
Err:6 https://packages.ntop.org/apt-stable/24.04 x64/ Release
  404  Not Found [IP: 167.99.215.164 443]
Err:7 https://packages.ntop.org/apt-stable/24.04 all/ Release
  404  Not Found [IP: 167.99.215.164 443]
Reading package lists... Done         
E: The repository 'https://packages.ntop.org/apt-stable/24.04 x64/ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://packages.ntop.org/apt-stable/24.04 all/ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Manually editing the apt sources to use "22.04" leads to:

sudo apt install ntopng                         
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 ntopng : Depends: pfring (= 8.6.1-9112) but it is not going to be installed
          Depends: libldap-2.5-0 but it is not installable
          Depends: libhiredis0.14 but it is not installable
          Depends: libbpf0 but it is not installable
E: Unable to correct problems, you have held broken packages.

Trying to manually install the packages:


sudo apt install pfring-dkms nprobe ntopng n2disk cento 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 cento : Depends: pfring (= 8.6.1-9112) but it is not going to be installed
         Depends: libhiredis0.14 but it is not installable
         Depends: libbpf0 but it is not installable
 n2disk : Depends: pfring (= 8.6.1-9112) but it is not going to be installed
          Depends: libbpf0 but it is not installable
          Depends: libhiredis0.14 but it is not installable
 nprobe : Depends: pfring (= 8.6.1-9112) but it is not going to be installed
          Depends: libhiredis0.14 but it is not installable
          Depends: libbpf0 but it is not installable
 ntopng : Depends: pfring (= 8.6.1-9112) but it is not going to be installed
          Depends: libldap-2.5-0 but it is not installable
          Depends: libhiredis0.14 but it is not installable
          Depends: libbpf0 but it is not installable
 pfring-dkms : Depends: pfring (= 8.6.1-9112) but it is not going to be installed
               Depends: libbpf0 but it is not installable
cardigliano commented 3 months ago

@D-VR we are working on this, almost done in the testing stage, they will be available in a few days.

D-VR commented 3 months ago

Thank you very much!

Also thanks for the quick answer :sweat_smile:

lucaderi commented 3 months ago

Released https://packages.ntop.org/apt/

D-VR commented 3 months ago

Thank you!