ntop / ntopng

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

ntopng : Dépend: ntopng-data (= 2.2+dfsg1-1build1) mais 3.2.180330 devra être installé #1724

Closed Eagle334 closed 6 years ago

Eagle334 commented 6 years ago

Help please. I try the procedure for 16.04 LTS : wget http://apt-stable.ntop.org/16.04/all/apt-ntop-stable.deb dpkg -i apt-ntop-stable.deb clean all, update, but when i want to install ntopng, he says that ntopng needs a ntopng-data that is not compliant with the one that will be installed (3.2.180330). if i do an apt-get install ntopng-data, the 3.2.180330 is installed. But how can i install ntopng with the correct ntopng-data one ? Thanks PS: i try both http://packages.ntop.org/apt-stable/ and also http://packages.ntop.org/apt/, same result.

Eagle334 commented 6 years ago

My Ubuntu version:

~$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:    16.04
Codename:   xenial
emanuele-f commented 6 years ago

Hi, what's the output of apt-cache show ntopng and apt-cache policy ntopng?

Eagle334 commented 6 years ago

Hello emanuele-f, here about your request :

sudo apt-cache show ntopng
Package: ntopng
Priority: extra
Section: universe/net
Installed-Size: 639
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Ludovico Cavedon <cavedon@debian.org>
Architecture: i386
Version: 2.2+dfsg1-1build1
Depends: libc6 (>= 2.15), libcurl3-gnutls (>= 7.16.2), libgcc1 (>= 1:3.4), libgeoip1, libhiredis0.13 (>= 0.13.1), libjson-c2 (>= 0.11), libluajit-5.1-2, libmysqlclient20 (>= 5.7.11), libndpi3 (>= 1.7.1~git20151130.6f3d5a7), libpcap0.8 (>= 0.9.8), librrd4 (>= 1.3.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libzmq5 (>= 3.2.3+dfsg), init-system-helpers (>= 1.18~), ntopng-data (= 2.2+dfsg1-1build1), redis-server (>= 2.6)
Suggests: geoip-database-contrib (>= 1.12)
Filename: pool/universe/n/ntopng/ntopng_2.2+dfsg1-1build1_i386.deb
Size: 224526
MD5sum: beaf2e652e8f00e8ae1166ebb5150cee
SHA1: 95009a492ed52a649547fc4d40a552f55eabeea9
SHA256: 882c1857b46c3772df64f10b15bcfeeb455da153b610715b006861f50155775d
Description-en: High-Speed Web-based Traffic Analysis and Flow Collection Tool...
sudo apt-cache policy ntopng
ntopng:
  Installé : (aucun)
  Candidat : 2.2+dfsg1-1build1
 Table de version :
     2.2+dfsg1-1build1 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
emanuele-f commented 6 years ago

It seems like the new ntopng repo has not been loaded correctly. Please run apt-get update

Eagle334 commented 6 years ago

I just do this today:

sudo apt-get update
sudo apt-get upgrade
sudo shutdown -r now
...
sudo apt autoremove

sudo dpkg --remove apt-ntop returns : Suppression de apt-ntop (2.5-505) .. no ntop* in /etc/apt/sources.list.d

My sources.list (without comment)

deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse

sudo apt-get clean all sudo apt-get update

I think i cannot install ntopng in this situation because no ntop information on my sourcelist. But i test it:

sudo apt-get install ntopng
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants vont être installés :
  fonts-font-awesome libdbi1 libhiredis0.13 libjs-bootstrap libjs-d3 libjs-jquery-form libjs-jquery-metadata
  libjs-jquery-tablesorter libjs-rickshaw libluajit-5.1-2 libluajit-5.1-common libndpi3 librrd4 ntopng-data
Paquets suggérés :
  geoip-database-contrib
Les NOUVEAUX paquets suivants seront installés :
  fonts-font-awesome libdbi1 libhiredis0.13 libjs-bootstrap libjs-d3 libjs-jquery-form libjs-jquery-metadata
  libjs-jquery-tablesorter libjs-rickshaw libluajit-5.1-2 libluajit-5.1-common libndpi3 librrd4 ntopng ntopng-data
0 mis à jour, 15 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 3 621 ko dans les archives.
Après cette opération, 13,2 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] 
...
Réception de:14 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 ntopng-data all 2.2+dfsg1-1build1 [1 193 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 ntopng i386 2.2+dfsg1-1build1 [225 kB]
...
Paramétrage de ntopng-data (2.2+dfsg1-1build1) ...
Paramétrage de ntopng (2.2+dfsg1-1build1) ...

I don't understand why it works without the part describe here : http://packages.ntop.org/apt/

I customize the /etc/ntopng.conf +systemctl restart ntopng. http://myServerIP:3000 returns "Generated by ntopng Community v.2.3.160415". Good first step....

Eagle334 commented 6 years ago

On the NTOP web interface, i have the message : A new ntopng (v.3.2.0) is available for download: please upgrade. How to have it automatically throw apt-get upgrade ?

I do:

dpkg -i apt-ntop.deb
Sélection du paquet apt-ntop précédemment désélectionné.
(Lecture de la base de données... 173060 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de apt-ntop.deb ...
Dépaquetage de apt-ntop (2.5-505) ...
Paramétrage de apt-ntop (2.5-505) ...
Adding ntop key to apt keyring
OK

sudo apt-get clean all

sudo apt-get update
...
Réception de:13 http://packages.ntop.org/apt/16.04 x64/ Packages [2 549 B]            
Réception de:14 http://packages.ntop.org/apt/16.04 all/ Packages [3 033 B]             
1 485 ko réceptionnés en 1s (1 243 ko/s)
Lecture des listes de paquets... Fait
sudo apt-get upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été conservés :
  ntopng-data
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.

apt upgrade does not allow the update :-(

emanuele-f commented 6 years ago

Do you have /etc/apt/sources.list.d/ntop.list? What's its contents? Please also post the output of apt-get update

Eagle334 commented 6 years ago
cat /etc/apt/sources.list.d/ntop.list
deb http://packages.ntop.org/apt/16.04/ x64/
deb http://packages.ntop.org/apt/16.04/ all/

My full apt update:

sudo apt-get update
Atteint:1 http://ppa.launchpad.net/amigadave/ppa/ubuntu xenial InRelease
Atteint:2 http://ppa.launchpad.net/duplicity-team/ppa/ubuntu xenial InRelease                                                                                 
Atteint:3 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease                                                                        
Atteint:4 http://ppa.launchpad.net/stephenczetty/gerbera/ubuntu xenial InRelease                                                                              
Atteint:5 http://ppa.launchpad.net/transmissionbt/ppa/ubuntu xenial InRelease                                                                        
Réception de:6 http://packages.ntop.org/apt/16.04 x64/ InRelease [2 137 B]                                                                           
Réception de:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                    
Atteint:8 http://fr.archive.ubuntu.com/ubuntu xenial InRelease                                                                                        
Réception de:9 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                                                  
Réception de:10 http://packages.ntop.org/apt/16.04 all/ InRelease [2 137 B]                                                     
Réception de:11 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                                           
Réception de:12 http://packages.ntop.org/apt/16.04 x64/ Packages [2 540 B]                      
Réception de:13 http://packages.ntop.org/apt/16.04 all/ Packages [3 020 B]
Réception de:14 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [699 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [313 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [573 kB]
Réception de:17 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [425 kB]
Réception de:18 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [204 kB]
Réception de:19 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [297 kB]
2 826 ko réceptionnés en 2s (956 ko/s)                            
Lecture des listes de paquets... Fait
simonemainardi commented 6 years ago

Do:

apt-get --purge remove ntopng-data
apt-get update
apt-get install ntopng
Eagle334 commented 6 years ago

sudo apt-get --purge remove ntopng-data

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  fonts-font-awesome libdbi1 libhiredis0.13 libjs-bootstrap libjs-d3 libjs-jquery-form libjs-jquery-metadata libjs-jquery-tablesorter libjs-rickshaw libluajit-5.1-2
  libluajit-5.1-common libndpi3 librrd4
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
  ntopng* ntopng-data*
0 mis à jour, 0 nouvellement installés, 2 à enlever et 0 non mis à jour.
Après cette opération, 6 825 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] 
(Lecture de la base de données... 174428 fichiers et répertoires déjà installés.)
Suppression de ntopng (2.2+dfsg1-1build1) ...
Purge des fichiers de configuration de ntopng (2.2+dfsg1-1build1) ...
dpkg : avertissement : lors de la suppression de ntopng, le répertoire « /var/log/ntopng » n'était pas vide, donc il n'a pas été supprimé
Suppression de ntopng-data (2.2+dfsg1-1build1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...

sudo apt-get update

Réception de:1 http://packages.ntop.org/apt/16.04 x64/ InRelease [2 137 B]
Réception de:2 http://packages.ntop.org/apt/16.04 all/ InRelease [2 137 B]
Atteint:3 http://ppa.launchpad.net/amigadave/ppa/ubuntu xenial InRelease                                                                                                
Atteint:4 http://ppa.launchpad.net/duplicity-team/ppa/ubuntu xenial InRelease                                                                                           
Réception de:5 http://packages.ntop.org/apt/16.04 x64/ Packages [2 549 B]                                                                             
Réception de:6 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease [17,5 kB]                                                                   
Réception de:7 http://packages.ntop.org/apt/16.04 all/ Packages [3 023 B]                                                                                               
Réception de:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                                                     
Atteint:9 http://fr.archive.ubuntu.com/ubuntu xenial InRelease                                                                                      
Réception de:10 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                                             
Réception de:11 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                                                         
Réception de:12 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [573 kB]                                              
Réception de:13 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15,3 kB]                                  
Atteint:14 http://ppa.launchpad.net/stephenczetty/gerbera/ubuntu xenial InRelease                                                      
Atteint:15 http://ppa.launchpad.net/transmissionbt/ppa/ubuntu xenial InRelease                                  
Réception de:16 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [425 kB]                   
Réception de:17 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [204 kB]
Réception de:18 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [297 kB]
Réception de:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [127 kB]
Réception de:20 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3 376 B]
1 978 ko réceptionnés en 5s (379 ko/s)
Lecture des listes de paquets... Fait

sudo apt-get install ntopng

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 ntopng : Dépend: ntopng-data (= 2.2+dfsg1-1build1) mais 3.3.180411 devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
simonemainardi commented 6 years ago

it looks like your system is trying to install the ntopng community package rather than the one shipped with apt-ntop.

let's try with this:

apt-get --purge remove apt-ntop
apt-get --purge remove apt-ntop-stable
apt-get --purge remove ntopng ntopng-data
apt-get clean all
apt-get update

Then try again with the instructions at: http://packages.ntop.org/apt/

Finally, if it still fails, show the output of apt-cache show ntopng

Eagle334 commented 6 years ago

I try directly an install of ntopng after your last 5 lines. Ubuntu installs /ntopng_2.2+dfsg1-1build1_i386.deb + ntopng-data_2.2+dfsg1-1build1_all.deb. It seems to be the community version, an old one. At this moment, we have: sudo apt-cache show ntopng

Package: ntopng
Priority: extra
Section: universe/net
Installed-Size: 639
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Ludovico Cavedon <cavedon@debian.org>
Architecture: i386
Version: 2.2+dfsg1-1build1
Depends: libc6 (>= 2.15), libcurl3-gnutls (>= 7.16.2), libgcc1 (>= 1:3.4), libgeoip1, libhiredis0.13 (>= 0.13.1), libjson-c2 (>= 0.11), libluajit-5.1-2, libmysqlclient20 (>= 5.7.11), libndpi3 (>= 1.7.1~git20151130.6f3d5a7), libpcap0.8 (>= 0.9.8), librrd4 (>= 1.3.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libzmq5 (>= 3.2.3+dfsg), init-system-helpers (>= 1.18~), ntopng-data (= 2.2+dfsg1-1build1), redis-server (>= 2.6)
Suggests: geoip-database-contrib (>= 1.12)
Filename: pool/universe/n/ntopng/ntopng_2.2+dfsg1-1build1_i386.deb
Size: 224526
MD5sum: beaf2e652e8f00e8ae1166ebb5150cee
SHA1: 95009a492ed52a649547fc4d40a552f55eabeea9
SHA256: 882c1857b46c3772df64f10b15bcfeeb455da153b610715b006861f50155775d
Description-en: High-Speed Web-based Traffic Analysis and Flow Collection Tool

Then I repeat the 5 commands (purge remove + clean + update) following by: wget http://apt.ntop.org/16.04/all/apt-ntop.deb

dpkg -i apt-ntop.deb

Sélection du paquet apt-ntop précédemment désélectionné.
(Lecture de la base de données... 174077 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de apt-ntop.deb ...
Dépaquetage de apt-ntop (2.5-505) ...
Paramétrage de apt-ntop (2.5-505) ...
Adding ntop key to apt keyring
OK

sudo apt-get clean all

sudo apt-get update

Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease                               
Atteint:3 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease                             
Atteint:4 http://ppa.launchpad.net/amigadave/ppa/ubuntu xenial InRelease                             
Atteint:5 http://security.ubuntu.com/ubuntu xenial-security InRelease                                
Atteint:6 http://ppa.launchpad.net/duplicity-team/ppa/ubuntu xenial InRelease       
Atteint:7 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease
Atteint:8 http://ppa.launchpad.net/stephenczetty/gerbera/ubuntu xenial InRelease                             
Atteint:9 http://ppa.launchpad.net/transmissionbt/ppa/ubuntu xenial InRelease                                
Réception de:10 http://packages.ntop.org/apt/16.04 x64/ InRelease [2 137 B]                                  
Réception de:11 http://packages.ntop.org/apt/16.04 all/ InRelease [2 137 B]
Réception de:12 http://packages.ntop.org/apt/16.04 x64/ Packages [2 549 B]
Réception de:13 http://packages.ntop.org/apt/16.04 all/ Packages [3 023 B]
9 846 o réceptionnés en 1s (6 385 o/s) 
Lecture des listes de paquets... Fait

sudo apt-get install pfring-dkms nprobe ntopng n2disk cento

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet nprobe
E: Impossible de trouver le paquet n2disk
E: Impossible de trouver le paquet cento

if i try just ntopng:
sudo apt-get install ntopng

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 ntopng : Dépend: ntopng-data (= 2.2+dfsg1-1build1) mais 3.3.180411 devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

And as requested:
sudo apt-cache show ntopng

Package: ntopng
Priority: extra
Section: universe/net
Installed-Size: 639
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Ludovico Cavedon <cavedon@debian.org>
Architecture: i386
Version: 2.2+dfsg1-1build1
Depends: libc6 (>= 2.15), libcurl3-gnutls (>= 7.16.2), libgcc1 (>= 1:3.4), libgeoip1, libhiredis0.13 (>= 0.13.1), libjson-c2 (>= 0.11), libluajit-5.1-2, libmysqlclient20 (>= 5.7.11), libndpi3 (>= 1.7.1~git20151130.6f3d5a7), libpcap0.8 (>= 0.9.8), librrd4 (>= 1.3.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libzmq5 (>= 3.2.3+dfsg), init-system-helpers (>= 1.18~), ntopng-data (= 2.2+dfsg1-1build1), redis-server (>= 2.6)
Suggests: geoip-database-contrib (>= 1.12)
Filename: pool/universe/n/ntopng/ntopng_2.2+dfsg1-1build1_i386.deb
Size: 224526
MD5sum: beaf2e652e8f00e8ae1166ebb5150cee
SHA1: 95009a492ed52a649547fc4d40a552f55eabeea9
SHA256: 882c1857b46c3772df64f10b15bcfeeb455da153b610715b006861f50155775d
Description-en: High-Speed Web-based Traffic Analysis and Flow Collection Tool
simonemainardi commented 6 years ago

it's not getting the packages regularly listed at http://packages.ntop.org/apt/16.04/x64/Packages

E: Impossible de trouver le paquet nprobe
E: Impossible de trouver le paquet n2disk
E: Impossible de trouver le paquet cento

Indeed, it only shows the community ntopng. Check your apt if you have pinned packages or you are preventing other repositories from being used.

Eagle334 commented 6 years ago

It's an Ubuntu server, so i'm using CLI. No idea where to check but i agree it's not a ntopng issue, but an apt issue. Thanks for the support, I keep you in touch...

Eagle334 commented 6 years ago

No pinned package, and priority seems ok:
sudo apt-cache policy

Fichiers du paquet :
 100 /var/lib/dpkg/status
     release a=now
 500 http://ppa.launchpad.net/transmissionbt/ppa/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-transmissionbt,a=xenial,n=xenial,l=Stable builds,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/stephenczetty/gerbera/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-stephenczetty-gerbera,a=xenial,n=xenial,l=Gerbera,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-stebbins-handbrake-releases,a=xenial,n=xenial,l=HandBrake Releases,c=main,b=i386
     origin ppa.launchpad.net
 500 http://packages.ntop.org/apt/16.04 all/ Packages
     release o=ntop,n=all,l=ntop Repository,c=
     origin packages.ntop.org
 500 http://packages.ntop.org/apt/16.04 x64/ Packages
     release o=ntop,n=x64,l=ntop Repository,c=
     origin packages.ntop.org
 500 http://ppa.launchpad.net/duplicity-team/ppa/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-duplicity-team,a=xenial,n=xenial,l=Stable Duplicity Releases,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/amigadave/ppa/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-amigadave,a=xenial,n=xenial,l=PPA for David King,c=main,b=i386
     origin ppa.launchpad.net
 500 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=universe,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=main,b=i386
     origin security.ubuntu.com
 100 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=universe,b=i386
     origin fr.archive.ubuntu.com
 100 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=main,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=universe,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=main,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=universe,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin fr.archive.ubuntu.com
 500 http://fr.archive.ubuntu.com/ubuntu xenial/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=main,b=i386
     origin fr.archive.ubuntu.com
Paquets épinglés :
Eagle334 commented 6 years ago

sudo apt-cache policy ntopng

ntopng:
  Installé : (aucun)
  Candidat : 2.2+dfsg1-1build1
 Table de version :
     2.2+dfsg1-1build1 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages

If i well understand, when i have apt-ntop on my sources list directory, it should display a newer version and a path like http://packages.ntop.org/apt/16.04.

I remove http://fr.archive.ubuntu.com/ubuntu xenial/universe from my sources.list. sudo apt-cache policy ntopng N: Impossible de trouver le paquet ntopng

"apt-get update" displays Atteint:10 http://packages.ntop.org/apt/16.04 x64/ InRelease
Atteint:11 http://packages.ntop.org/apt/16.04 all/ InRelease But in reality he does not see the ntopng inside :-(

Can you confirme my /etc/apt/sources.list.d/ntop.list ?
cat ntop.list

deb http://packages.ntop.org/apt/16.04/ x64/
deb http://packages.ntop.org/apt/16.04/ all/
emanuele-f commented 6 years ago

Finally we've got the error! You are using i386 architecture which is unsupported. We only package for x64 . However, you can build the ntopng community version by following these instructions: https://github.com/ntop/ntopng/tree/dev/doc