Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/11/2020, à 12:53

justine93

installation de NTOP sur ubuntu 18.04

Salut,
j'ai un problème d'installation de paquet s'il vous plait serait-il possible de m'aider?
je n'arrive pas à installer NTOP depuis près d'une semaine et démie. En effet j'ai installé ubuntu 18 sur un raspberry et j'essaie d'installer et configurer ntop à distance sur lui pour pouvoir analyser le trafic de mon serveur unifi. mais j'ai une erreur qui parait vraiment simple mais je n'arrive pas à gérer le problème.
voici ce que je fais comme commande:

sudo  apt-get install software-properties-common wget 
add-apt-repository universe 
wget [url]https://packages.ntop.org/apt-stable/18.04/all/apt-ntop-stable.deb[/url] 
sudo apt install ./apt-ntop-stable.deb 
 sudo apt-get clean all 
sudo apt-get update 

toutes ces commandes marchent mais celle ci:

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

me donne cette erreur:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nprobe
E: Unable to locate package n2disk
E: Unable to locate package cento

please in really need your help
Merci d'avance pour votre aide

Dernière modification par justine93 (Le 24/11/2020, à 13:35)

Hors ligne

#2 Le 20/11/2020, à 13:01

xubu1957

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Comme indiqué dans le premier message du tutoriel Retour utilisable de commande.

Pour ajouter toi-même les balises code à ton précédent message #1 :                     Merci             wink   

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

1530289742.png

_ _ _

C'est pas un problème de version de paquet ?  > github.com/ntop/ntopng/issues/2100

Dernière modification par xubu1957 (Le 24/11/2020, à 13:42)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 20/11/2020, à 14:05

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Avant de tenter l'installation du paquet apt-ntop-stable.deb, vérifie dans «Logiciels & Mises à jour», onglet «Logiciels Ubuntu» que les quatre cases: main, universe, restricted et multiverse soient bien cochées.
Refaire ensuite sudo apt update.

Vérifie ensuite si le paquet apt-ntop-stable s'est correctement installé:

dpkg -l apt-ntop-stable

...sinon il te faudra refaire la procédure d'installation.

Le paquet devrait  installer un dépôt via un fichier nommé /etc/apt/sources.list.d/ntop-stable.list qui devrait contenir ces deux lignes:

deb https://packages.ntop.org/apt-stable/18.04/ x64/
deb https://packages.ntop.org/apt-stable/18.04/ all/

...si c'est le cas, la commande sudo apt-get install pfring-dkms nprobe ntopng n2disk cento devrait passer sans encombres, après avoir repassé sudo apt update ?

Je viens de tenter l'installation sur une Debian Buster, et ça s'est passé correctement; les cinq paquets sont disponibles:

yvan@yvan-maison:~/Téléchargements$ apt policy pfring-dkms nprobe ntopng n2disk cento
pfring-dkms:
  Installé : (aucun)
  Candidat : 7.8.0
 Table de version :
     7.8.0 500
        500 https://packages.ntop.org/apt-stable/buster all/ Packages
nprobe:
  Installé : (aucun)
  Candidat : 9.2.201120-6995
 Table de version :
     9.2.201120-6995 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
ntopng:
  Installé : (aucun)
  Candidat : 4.2.201120-12281
 Table de version :
     4.2.201120-12281 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
     3.8+dfsg1-2.1 500
        500 http://deb.debian.org/debian buster/main amd64 Packages
n2disk:
  Installé : (aucun)
  Candidat : 3.6.201120-5252
 Table de version :
     3.6.201120-5252 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
cento:
  Installé : (aucun)
  Candidat : 1.12.201120-609
 Table de version :
     1.12.201120-609 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
yvan@yvan-maison:~/Téléchargements$

Ajout:
Si pas déjà fait, voir la doc ntop

A+

Dernière modification par ylag (Le 20/11/2020, à 15:44)

Hors ligne

#4 Le 24/11/2020, à 13:37

justine93

Re : installation de NTOP sur ubuntu 18.04

Merci j'ai modifié.
pour votre réponse je pense aussi que c'est un problème de paquets mais j'arrive pas à trouver comment le regler.

xubu1957 a écrit :

Bonjour,

Comme indiqué dans le premier message du tutoriel Retour utilisable de commande.

Pour ajouter toi-même les balises code à ton précédent message #1 :

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

http://pix.tdct.org/upload/img/1530289742.png


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

toutes ces commandes marchent mais celle ci:

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

  me donne cette erreur:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nprobe
E: Unable to locate package n2disk
E: Unable to locate package cento
please in really need your help

C'est pas un problème de version de paquet ?  > github.com/ntop/ntopng/issues/2100

Hors ligne

#5 Le 24/11/2020, à 13:57

justine93

Re : installation de NTOP sur ubuntu 18.04

je tiens à noter que c'est sur un raspberry pi 3 que j'ai installé ubuntu 18.04 et j'ai lui ai donné une adresse ip fixe dans mon réseau afin de pouvoir accéder à lui à distance.
voici les sorties de mes commandes:
ma source.list lorque je fais:

sudo vi /etc/apt/source.list

 

deb-src http://cm.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse

deb-src http://cm.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

deb-src http://cm.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb-src http://cm.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse

deb-src http://cm.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://download.webmin.com/download/repository sarge contrib

deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe
~

comme dit précedemment, voici concrètement les sorties de mes commandes:

sudo  apt-get install software-properties-common wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version (1.19.4-1ubuntu2.2).
software-properties-common is already the newest version (0.96.24.32.14).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.
ubuntu@ubuntu:~$ wget https://packages.ntop.org/apt-stable/18.04/all/apt-ntop-stable.deb
--2020-11-24 12:48:53--  https://packages.ntop.org/apt-stable/18.04/all/apt-ntop-stable.deb
Resolving packages.ntop.org (packages.ntop.org)... 167.99.215.164, 2a03:b0c0:2:d0::d27:3001
Connecting to packages.ntop.org (packages.ntop.org)|167.99.215.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6676 (6.5K) [application/x-debian-package]
Saving to: ‘apt-ntop-stable.deb.2’

apt-ntop-stable.deb.2                     100%[=====================================================================================>]   6.52K  3.59KB/s    in 1.8s

2020-11-24 12:48:56 (3.59 KB/s) - ‘apt-ntop-stable.deb.2’ saved [6676/6676]
sudo apt install ./apt-ntop-stable.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'apt-ntop-stable' instead of './apt-ntop-stable.deb'
The following NEW packages will be installed:
  apt-ntop-stable
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
After this operation, 15.4 kB of additional disk space will be used.
Get:1 /home/ubuntu/apt-ntop-stable.deb apt-ntop-stable all 2.8-4 [6676 B]
Selecting previously unselected package apt-ntop-stable.
(Reading database ... 170430 files and directories currently installed.)
Preparing to unpack .../ubuntu/apt-ntop-stable.deb ...
Unpacking apt-ntop-stable (2.8-4) ...
Setting up apt-ntop-stable (2.8-4) ...
Adding ntop key to apt keyring
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package apt-ntop-stable)
OK
 sudo apt-get update
Ign:1 http://download.webmin.com/download/repository sarge InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:3 http://cm.archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://cm.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:5 http://download.webmin.com/download/repository sarge Release
Get:6 https://packages.ntop.org/apt-stable/18.04 x64/ InRelease [2153 B]
Get:7 https://packages.ntop.org/apt-stable/18.04 all/ InRelease [2153 B]
Get:8 http://cm.archive.ubuntu.com/ubuntu bionic-proposed InRelease [242 kB]
Get:10 http://cm.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:11 https://packages.ntop.org/apt-stable/18.04 x64/ Packages [3981 B]
Get:12 http://cm.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:13 https://packages.ntop.org/apt-stable/18.04 all/ Packages [3067 B]
Fetched 505 kB in 6s (87.7 kB/s)
Reading package lists... Done

je vérifie ensuite si le paquet apt-ntop-stable s'est correctement installé:

 dpkg -l apt-ntop-stable
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
ii  apt-ntop-stable                      2.8-4                   all                     ntop stable apt package repository
 cat /etc/apt/sources.list.d/ntop-stable.list
deb https://packages.ntop.org/apt-stable/18.04/ x64/
deb https://packages.ntop.org/apt-stable/18.04/ all/

vous contatez bien avec moi que le paquet a installé un dépôt via un fichier nommé /etc/apt/sources.list.d/ntop-stable.list qui contient ces deux lignes:

deb https://packages.ntop.org/apt-stable/18.04/ x64/
deb https://packages.ntop.org/apt-stable/18.04/ all/

Mais quand je tape cette commande

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

j'ai encore ce résultat:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nprobe
E: Unable to locate package n2disk
E: Unable to locate package cento

ylag a écrit :

Bonjour,

Avant de tenter l'installation du paquet apt-ntop-stable.deb, vérifie dans «Logiciels & Mises à jour», onglet «Logiciels Ubuntu» que les quatre cases: main, universe, restricted et multiverse soient bien cochées.
Refaire ensuite sudo apt update.

Vérifie ensuite si le paquet apt-ntop-stable s'est correctement installé:

dpkg -l apt-ntop-stable

...sinon il te faudra refaire la procédure d'installation.

Le paquet devrait  installer un dépôt via un fichier nommé /etc/apt/sources.list.d/ntop-stable.list qui devrait contenir ces deux lignes:

deb https://packages.ntop.org/apt-stable/18.04/ x64/
deb https://packages.ntop.org/apt-stable/18.04/ all/

...si c'est le cas, la commande sudo apt-get install pfring-dkms nprobe ntopng n2disk cento devrait passer sans encombres, après avoir repassé sudo apt update ?

Je viens de tenter l'installation sur une Debian Buster, et ça s'est passé correctement; les cinq paquets sont disponibles:

yvan@yvan-maison:~/Téléchargements$ apt policy pfring-dkms nprobe ntopng n2disk cento
pfring-dkms:
  Installé : (aucun)
  Candidat : 7.8.0
 Table de version :
     7.8.0 500
        500 https://packages.ntop.org/apt-stable/buster all/ Packages
nprobe:
  Installé : (aucun)
  Candidat : 9.2.201120-6995
 Table de version :
     9.2.201120-6995 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
ntopng:
  Installé : (aucun)
  Candidat : 4.2.201120-12281
 Table de version :
     4.2.201120-12281 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
     3.8+dfsg1-2.1 500
        500 http://deb.debian.org/debian buster/main amd64 Packages
n2disk:
  Installé : (aucun)
  Candidat : 3.6.201120-5252
 Table de version :
     3.6.201120-5252 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
cento:
  Installé : (aucun)
  Candidat : 1.12.201120-609
 Table de version :
     1.12.201120-609 500
        500 https://packages.ntop.org/apt-stable/buster x64/ Packages
yvan@yvan-maison:~/Téléchargements$

Ajout:
Si pas déjà fait, voir la doc ntop

A+

Hors ligne

#6 Le 24/11/2020, à 13:59

xubu1957

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Pour info :

Règles du forum a écrit :

Politesse
(...)
3. Utilisez la citation avec modération : il ne sert à rien de citer l'intégralité du post précédent.
(...)

règles du forum


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#7 Le 24/11/2020, à 14:00

justine93

Re : installation de NTOP sur ubuntu 18.04

voici la sortie de cette commande:

apt policy pfring-dkms nprobe ntopng n2disk cento
 apt policy pfring-dkms nprobe ntopng n2disk cento
pfring-dkms:
  Installed: (none)
  Candidate: 7.8.0
  Version table:
     7.8.0 500
        500 https://packages.ntop.org/apt-stable/18.04 all/ Packages
ntopng:
  Installed: (none)
  Candidate: 3.2+dfsg1-1
  Version table:
     3.2+dfsg1-1 500
        500 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages
N: Unable to locate package nprobe
N: Unable to locate package n2disk
N: Unable to locate package cento

Hors ligne

#8 Le 24/11/2020, à 14:02

justine93

Re : installation de NTOP sur ubuntu 18.04

Vraiment désolé. Bonjour

Hors ligne

#9 Le 24/11/2020, à 14:17

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Je vois les dépôts «proposed» activés dans tes sources; c'est déconseillé en général.

La clé publique du dépôt ntop.org est probablement manquante, tente de l'installer:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6F13614FD1EB60BE

...repasse ensuite sudo apt update et si pas d'erreurs dans le retour, réessaie l'installation des paquets manquants:

sudo apt install pfring-dkms nprobe ntopng n2disk cento

Désolé, j'aurais dû y penser dans mon intervention précédente.

A+

Dernière modification par ylag (Le 24/11/2020, à 14:37)

Hors ligne

#10 Le 24/11/2020, à 14:55

justine93

Re : installation de NTOP sur ubuntu 18.04

merci j'ai essayé comme vous avez proposé, et voici le résultat:

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6F13614FD1EB60BE
Executing: /tmp/apt-key-gpghome.lz6q8MCd5u/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 6F13614FD1EB60BE
gpg: key 6F13614FD1EB60BE: 1 signature not checked due to a missing key
gpg: key 6F13614FD1EB60BE: "Luca Deri (Luca Deri's key.) <deri@ntop.org>" 1 new signature
gpg: Total number processed: 1
gpg:         new signatures: 1

lorsque je fais la mise à jour je n'ai pas d'erreur:

 sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Ign:4 http://download.webmin.com/download/repository sarge InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 https://packages.ntop.org/apt-stable/18.04 x64/ InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:8 http://download.webmin.com/download/repository sarge Release
Hit:9 https://packages.ntop.org/apt-stable/18.04 all/ InRelease
Reading package lists... Done

Mais toujours pas de solution:

 sudo apt install pfring-dkms nprobe ntopng n2disk cento
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nprobe
E: Unable to locate package n2disk
E: Unable to locate package cento

Hors ligne

#11 Le 24/11/2020, à 15:04

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Là je sèche, vraiment désolé...

Donne peut-être encore le retour de:

apt policy nprobe n2disk cento

A+

Hors ligne

#12 Le 24/11/2020, à 15:11

ylag

Re : installation de NTOP sur ubuntu 18.04

Re,

Pour ton info, je poste le résultat d'une tentative d'installation des paquets pfring-dkms nprobe ntopng n2disk cento sur ma 18.04, après la création du fichier /etc/apt/sources.list.d/ntop-stable.list et l'installation de la clé publique:

yvan@yvan-maison:~$ sudo apt -s 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
Les paquets supplémentaires suivants seront installés : 
  libdbi1 libhiredis0.13 libjemalloc1 libmaxminddb0 libmysqlclient20 libnetfilter-queue1
  libradcli4 librdkafka1 librrd8 mysql-common n2n ndpi pfring redis-server redis-tools
Paquets suggérés :
  mmdb-bin uml-utilities ruby-redis
Paquets recommandés :
  ntopng-data
Les NOUVEAUX paquets suivants seront installés :
  cento libdbi1 libhiredis0.13 libjemalloc1 libmaxminddb0 libmysqlclient20 libnetfilter-queue1
  libradcli4 librdkafka1 librrd8 mysql-common n2disk n2n ndpi nprobe ntopng pfring pfring-dkms
  redis-server redis-tools
0 mis à jour, 20 nouvellement installés, 0 à enlever et 0 non mis à jour.
Inst ndpi (3.4.0-2929 ntop Repository:packages.ntop.org [amd64])
Inst pfring (7.8.0-3282 ntop Repository:packages.ntop.org [amd64])
Inst libhiredis0.13 (0.13.3-2.2 Ubuntu:18.04/bionic [amd64])
Inst librdkafka1 (0.11.3-1build1 Ubuntu:18.04/bionic [amd64])
Inst cento (1.12.201123-609 ntop Repository:packages.ntop.org [amd64])
Inst libdbi1 (0.9.0-5 Ubuntu:18.04/bionic [amd64])
Inst libmaxminddb0 (1.3.1-1 Ubuntu:18.04/bionic [amd64])
Inst mysql-common (5.8+1.0.4 Ubuntu:18.04/bionic [all])
Inst libmysqlclient20 (5.7.32-0ubuntu0.18.04.1 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Inst libnetfilter-queue1 (1.0.2-2 Ubuntu:18.04/bionic [amd64])
Inst libradcli4 (1.2.6-4 Ubuntu:18.04/bionic [amd64])
Inst librrd8 (1.7.0-1build1 Ubuntu:18.04/bionic [amd64])
Inst n2disk (3.6.201123-5252 ntop Repository:packages.ntop.org [amd64])
Inst libjemalloc1 (3.6.0-11 Ubuntu:18.04/bionic [amd64])
Inst redis-tools (5:4.0.9-1ubuntu0.2 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Inst redis-server (5:4.0.9-1ubuntu0.2 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Inst nprobe (9.2.201123-6995 ntop Repository:packages.ntop.org [amd64])
Inst n2n (2.8.0-539 ntop Repository:packages.ntop.org [amd64])
Inst ntopng (4.2.201123-12311 ntop Repository:packages.ntop.org [amd64])
Inst pfring-dkms (7.8.0 ntop Repository:packages.ntop.org [all])
Conf ndpi (3.4.0-2929 ntop Repository:packages.ntop.org [amd64])
Conf pfring (7.8.0-3282 ntop Repository:packages.ntop.org [amd64])
Conf libhiredis0.13 (0.13.3-2.2 Ubuntu:18.04/bionic [amd64])
Conf librdkafka1 (0.11.3-1build1 Ubuntu:18.04/bionic [amd64])
Conf cento (1.12.201123-609 ntop Repository:packages.ntop.org [amd64])
Conf libdbi1 (0.9.0-5 Ubuntu:18.04/bionic [amd64])
Conf libmaxminddb0 (1.3.1-1 Ubuntu:18.04/bionic [amd64])
Conf mysql-common (5.8+1.0.4 Ubuntu:18.04/bionic [all])
Conf libmysqlclient20 (5.7.32-0ubuntu0.18.04.1 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Conf libnetfilter-queue1 (1.0.2-2 Ubuntu:18.04/bionic [amd64])
Conf libradcli4 (1.2.6-4 Ubuntu:18.04/bionic [amd64])
Conf librrd8 (1.7.0-1build1 Ubuntu:18.04/bionic [amd64])
Conf n2disk (3.6.201123-5252 ntop Repository:packages.ntop.org [amd64])
Conf libjemalloc1 (3.6.0-11 Ubuntu:18.04/bionic [amd64])
Conf redis-tools (5:4.0.9-1ubuntu0.2 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Conf redis-server (5:4.0.9-1ubuntu0.2 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Conf nprobe (9.2.201123-6995 ntop Repository:packages.ntop.org [amd64])
Conf n2n (2.8.0-539 ntop Repository:packages.ntop.org [amd64])
Conf ntopng (4.2.201123-12311 ntop Repository:packages.ntop.org [amd64])
Conf pfring-dkms (7.8.0 ntop Repository:packages.ntop.org [all])
yvan@yvan-maison:~$

En espérant que ça puisse t'être utile...

A+

Dernière modification par ylag (Le 24/11/2020, à 15:15)

Hors ligne

#13 Le 24/11/2020, à 15:17

justine93

Re : installation de NTOP sur ubuntu 18.04

apt policy nprobe n2disk cento
N: Unable to locate package nprobe
N: Unable to locate package n2disk
N: Unable to locate package cento
ubuntu@ubuntu:~$
ylag a écrit :

Donne peut-être encore le retour de:

apt policy nprobe n2disk cento

A+

Hors ligne

#14 Le 24/11/2020, à 15:21

ylag

Re : installation de NTOP sur ubuntu 18.04

Re,

justine93 au #13 a écrit :

ubuntu@ubuntu:~$

Serais-tu en session «live» ?

Ajoute aussi ce retour:

apt policy

...sans aucun paquet.

Aussi, est-il possible que ton système soit en 32bits? Pour vérifier:

uname -rm

A+

Dernière modification par ylag (Le 24/11/2020, à 15:31)

Hors ligne

#15 Le 24/11/2020, à 15:46

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Fait voir aussi une vue d'esnsemble de toutes tes sources (...commande piquée à @cqfd93):

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

...essaie de donner le retour complet, avec l'invite de commande du début et de la fin.

A+

Dernière modification par ylag (Le 24/11/2020, à 15:50)

Hors ligne

#16 Le 24/11/2020, à 16:08

justine93

Re : installation de NTOP sur ubuntu 18.04

le retour des commandes:

 apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://packages.ntop.org/apt-stable/18.04 all/ Packages
     release o=ntop,n=all,l=ntop Repository,c=
     origin packages.ntop.org
 500 https://packages.ntop.org/apt-stable/18.04 x64/ Packages
     release o=ntop,n=x64,l=ntop Repository,c=
     origin packages.ntop.org
 500 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=arm64
     origin ports.ubuntu.com
 500 http://download.webmin.com/download/repository sarge/contrib arm64 Packages
     release v=3.1,o=Jamie Cameron,a=stable,n=sarge,l=Webmin,c=contrib,b=arm64
     origin download.webmin.com
Pinned packages:

ceci

 uname -rm

me donne:

5.4.0-1022-raspi aarch64

Hors ligne

#17 Le 24/11/2020, à 16:10

justine93

Re : installation de NTOP sur ubuntu 18.04

 find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1
     2  deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
     3
     4  deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
     5
     6  #deb-src http://archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
     7
     8  deb-src http://archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
     9
    10  deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    11
    12  deb http://download.webmin.com/download/repository sarge contrib
    13
    14
    15  deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe

/etc/apt/sources.list.d/ntop-stable.list

     1  deb https://packages.ntop.org/apt-stable/18.04/ x64/
     2  deb https://packages.ntop.org/apt-stable/18.04/ all/

Hors ligne

#18 Le 24/11/2020, à 17:26

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Fait une sauvegarde de ton fichier /etc/apt/sources.list, puis remplace le contenu du fichier original par ceci:

deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://archive.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse

deb http://download.webmin.com/download/repository sarge contrib

# deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe

...j'ai commenté la dernière ligne, ports.ubuntu.com/ubuntu-ports. Je ne connais pas ce dépôt et ça ne passe pas chez-moi quand je l'ajoute à mes sources. Ce sera à toi de voir s'il faut le réactiver.

Repasse les mises à jour, puis retente l'installation des paquets manquants ...?

A+

Dernière modification par ylag (Le 24/11/2020, à 17:37)

Hors ligne

#19 Le 25/11/2020, à 09:44

justine93

Re : installation de NTOP sur ubuntu 18.04

Bonjour
j'ai modifié à nouveau mon fichier sources.list et voici ce que j'obtiens en faisant la mise à jour:

Reading package lists... Done
W: Failed to fetch http://download.webmin.com/download/repository/dists/sarge/InRelease  Temporary failure resolving 'download.webmin.com'
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.152 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

et là je crois que je dois d'abord regler ce problème avant de ressayer à nouveau l'installation des paquet NTOP
A+

Hors ligne

#20 Le 25/11/2020, à 12:44

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonjour,

Effectivement, il n'y a pas de section binary-arm64 dans ces dépôts...

Si ton système a besoin d'accéder aux paquets arm64, je ne sais pas comment configurer les sources pour ce faire, vraiment désolé.
Il te faudra l'intervention de plus calé(e)s que moi concernant un Raspberry tournant sous Ubuntu.

Sous toute réserve, tu pourrais essayer ceci comme fichier sources.list:

deb [arch=arm64] http://ports.ubuntu.com/ bionic main restricted universe multiverse

deb [arch=arm64] http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse

deb [arch=arm64] http://ports.ubuntu.com/ bionic-security main restricted universe multiverse

deb [arch=arm64] http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse

deb http://download.webmin.com/download/repository sarge contrib

Ne pas oublier de toujours avoir une sauvegarde de ton fichier original sous la main...

Ajout: Ou simplement ajouter les 4 premières lignes à ton fichier existant...(la dernière devrait déjà y être?)
Ajout2: Si tu désires aussi activer les dépôts de paquets sources, tu pourrais inclure les mêmes 4 lignes débutant par: deb-src [arch=arm64]

A+

Dernière modification par ylag (Le 25/11/2020, à 19:32)

Hors ligne

#21 Le 25/11/2020, à 23:20

justine93

Re : installation de NTOP sur ubuntu 18.04

Bonjour
toujours les memes problèmes; est ce que le fait que ubuntu 18 soit installé sur raspberi ne serait pas la cause?
A+

Hors ligne

#22 Le 26/11/2020, à 01:31

ylag

Re : installation de NTOP sur ubuntu 18.04

Bonsoir,

justine93 a écrit :

ubuntu 18 soit installé sur raspberi ne serait pas la cause?

Fort probable que la façon dont l'installation est faite sur le Raspberry soit en cause.

Si les sources que je te suggère ne fonctionnent pas, je n'ai pas d'autres propositions à te faire; encore désolé...

A+

Hors ligne