John, Dependencies are not pulled in automatically with dpkg -i so this is why you receive errors.
Moreover, installing from .deb packages is not an officially supported procedure. You should add the ntop repositories and then install packages via 'apt-get install' as explained here: http://packages.ntop.org/apt-stable/ Regards, Simone On Thu, Feb 2, 2017 at 9:28 PM, John Hala <john.h...@villanova.edu> wrote: > I'm reaching out to see if anyone else experienced similar nprobe and > ntopng install issues on Ubuntu 16.10. > > I started with a clean install, fully patched, and rebooted. I then run > the following: > > > wget http://apt-stable.ntop.org/16.04/all/apt-ntop-stable.deb > > <http://apt-stable.ntop.org/16.04/all/apt-ntop-stable.deb>dpkg -i > apt-ntop-stable.deb > > apt-get clean all > > apt-get update > > > The update says there's no Release file and it can't find Packages: > > > .../16.10/all/Packages 404 Not Found > > .../16.10/x64/Packages 404 Not Found > > > But I try to install any way: > > > apt-get install pfring nprobe ntopng > > > This returns that it can't find the pfring, nor nprobe packages. > > I then try: apt-get install ntopng and it WORKS. > > > I try nprobe by itself unsuccessfully: > > > root@ntop:~# apt-get install nprobe > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > E: Unable to locate package nprobe > > > So I download the packages manually, but it requires DKMS installed first, > so I install that separately: > > > root@ntop:~# apt-get install dkms > > Reading package lists... Done > > The following NEW packages will be installed: > > binutils cpp cpp-6 dkms fakeroot gcc gcc-6 libasan3 libatomic1 > libc-dev-bin libc6-dev libcc1-0 libcilkrts5 > > libfakeroot libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 > libmpx2 libquadmath0 libtsan0 libubsan0 > > linux-libc-dev make manpages-dev > > 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. > > > Then I manually download and install nprobe: > > > root@ntop:~# wget http://apt-stable.ntop.org/16.04/x64/nprobe_7.4. > 170202-5334_amd64.deb > > root@ntop:~# dpkg -i nprobe_7.4.170202-5334_amd64.deb > > Selecting previously unselected package nprobe. > > (Reading database ... 100193 files and directories currently installed.) > > Preparing to unpack nprobe_7.4.170202-5334_amd64.deb ... > > Unpacking nprobe (7.4.170202-5334) ... > > dpkg: dependency problems prevent configuration of nprobe: > > nprobe depends on pfring (= 6.4.1-1118); however: > > Package pfring is not installed. > > nprobe depends on libcurl3; however: > > Package libcurl3 is not installed. > > nprobe depends on librdkafka1; however: > > Package librdkafka1 is not installed. > > nprobe depends on libnetfilter-queue1; however: > > Package libnetfilter-queue1 is not installed. > > dpkg: error processing package nprobe (--install): > > dependency problems - leaving unconfigured > > Processing triggers for systemd (231-9ubuntu2) ... > > Processing triggers for ureadahead (0.100.0-19) ... > > Processing triggers for man-db (2.7.5-1) ... > > Errors were encountered while processing: > > nprobe > > It requires librdkafka1 and others to be installed first: > > > root@ntop:~# apt-get install librdkafka1 > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > You might want to run 'apt-get -f install' to correct these: > > The following packages have unmet dependencies: > > nprobe : Depends: pfring (= 6.4.1-1118) but it is not installable > > Depends: libcurl3 but it is not going to be installed > > Depends: libnetfilter-queue1 but it is not going to be installed > > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or > specify a solution). > > root@ntop:~# apt-get -f install > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Correcting dependencies... Done > > The following packages were automatically installed and are no longer > required: > > libcurl3 libnetfilter-queue1 librdkafka1 > > Use 'apt autoremove' to remove them. > > The following additional packages will be installed: > > libcurl3 libnetfilter-queue1 librdkafka1 > > The following packages will be REMOVED: > > nprobe > > The following NEW packages will be installed: > > libcurl3 libnetfilter-queue1 librdkafka1 > > 0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded. > > 1 not fully installed or removed. > > > So it finishes and removes nprobe, which I didn't think was installed. > > I then try nprobe again: > > root@ntop:~# dpkg -i nprobe_7.4.170202-5334_amd64.deb > > Selecting previously unselected package nprobe. > > (Reading database ... 100216 files and directories currently installed.) > > Preparing to unpack nprobe_7.4.170202-5334_amd64.deb ... > > Unpacking nprobe (7.4.170202-5334) ... > > dpkg: dependency problems prevent configuration of nprobe: > > nprobe depends on pfring (= 6.4.1-1118); however: > > Package pfring is not installed. > > Nprobe requires PFRing, so I then download and install pfring: > > root@ntop:~# wget http://apt-stable.ntop.org/16.04/x64/pfring_6.4.1-1118_ > amd64.deb > > > root@ntop:~# dpkg -i pfring_6.4.1-1118_amd64.deb > > Selecting previously unselected package pfring. > > (Reading database ... 100260 files and directories currently installed.) > > Preparing to unpack pfring_6.4.1-1118_amd64.deb ... > > Unpacking pfring (6.4.1-1118) ... > > dpkg: dependency problems prevent configuration of pfring: > > pfring depends on pfring-dkms (= 6.4.1); however: > > Package pfring-dkms is not installed. > > dpkg: error processing package pfring (--install): > > dependency problems - leaving unconfigured > > Processing triggers for systemd (231-9ubuntu2) ... > > Processing triggers for ureadahead (0.100.0-19) ... > > Errors were encountered while processing: > > pfring > > I download and install pfring-dkms: > > > root@ntop:~# dpkg -i pfring-dkms_6.4.1_all.deb > > Selecting previously unselected package pfring-dkms. > > (Reading database ... 100289 files and directories currently installed.) > > Preparing to unpack pfring-dkms_6.4.1_all.deb ... > > Unpacking pfring-dkms (6.4.1) ... > > Setting up pfring-dkms (6.4.1) ... > > Loading new pfring-6.4.1 DKMS files... > > First Installation: checking all kernels... > > Building for 4.8.0-22-generic and 4.8.0-34-generic > > Building for architecture x86_64 > > Building initial module for 4.8.0-22-generic > > ERROR (dkms apport): unable to determine source package for pfring-dkms > > Error! Bad return status for module build on kernel: 4.8.0-22-generic > (x86_64) > > Consult /var/lib/dkms/pfring/6.4.1/build/make.log for more information. > > > I get an error and try PFRing alone: > > > root@ntop:~# dpkg -i pfring_6.4.1-1118_amd64.deb > > (Reading database ... 100311 files and directories currently installed.) > > Preparing to unpack pfring_6.4.1-1118_amd64.deb ... > > Unpacking pfring (6.4.1-1118) over (6.4.1-1118) ... > > Setting up pfring (6.4.1-1118) ... > > Adding the pf_ring startup script > > Processing triggers for systemd (231-9ubuntu2) ... > > Processing triggers for ureadahead (0.100.0-19) ... > > Processing triggers for libc-bin (2.24-3ubuntu2) ... > > > It works, so then I try nprobe again: > > > root@ntop:~# dpkg -i nprobe_7.4.170202-5334_amd64.deb > > (Reading database ... 100311 files and directories currently installed.) > > Preparing to unpack nprobe_7.4.170202-5334_amd64.deb ... > > Unpacking nprobe (7.4.170202-5334) over (7.4.170202-5334) ... > > Setting up nprobe (7.4.170202-5334) ... > > Rebuilding ld cache... > > Adding the nprobe startup script > > Making the /etc/nprobe directory... > > Making the /var/log/nprobe directory... > > Processing triggers for systemd (231-9ubuntu2) ... > > Processing triggers for ureadahead (0.100.0-19) ... > > Processing triggers for man-db (2.7.5-1) ... > > Processing triggers for libc-bin (2.24-3ubuntu2) ... > > And that worked. > > With all of this said, I had no issues installing the recommended way on > Ubuntu 14. > > I'm sure I'm doing something wrong along the way, so any advice would be > much appreciated. > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc >
_______________________________________________ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc