nProbe
nProbe copied to clipboard
Raspberry PI buster + docker = not working
Hi,
I wanted to install nprobe inside a docke container on my pi. However, I'm running into some installation issues.
Original dockerfile: https://github.com/ntop/docker-ntop/blob/master/Dockerfile.nprobe
FROM ubuntu:18.04
MAINTAINER ntop.org
RUN apt-get update && \
apt-get -y -q install wget lsb-release gnupg && \
# wget -q http://apt-stable.ntop.org/16.04/all/apt-ntop-stable.deb && \ ## =====> this will not work since it's not arm. So replaced it with the below line:
wget http://packages.ntop.org/RaspberryPI/apt-ntop_1.0.190416-469_all.deb && \
dpkg -i apt-ntop_1.0.190416-469_all.deb && \
apt-get clean all
RUN apt-get update && \
apt-get -y install nprobe
RUN echo '#!/bin/bash\nnprobe "$@"' > /run.sh && \
chmod +x /run.sh
ENTRYPOINT ["/run.sh"]
During the build process, while running this command: dpkg -i apt-ntop_1.0.190416-469_all.deb there is a failure:
Preparing to unpack apt-ntop_1.0.190416-469_all.deb ...
Unpacking apt-ntop (1.0.190416-469) ...
Setting up apt-ntop (1.0.190416-469) ...
Adding ntop key to apt keyring
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package apt-ntop)
OK
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Ign:4 http://packages.ntop.org/apt/bionic_pi armhf/ InRelease
Ign:6 http://packages.ntop.org/apt/bionic_pi all/ InRelease
Err:7 http://packages.ntop.org/apt/bionic_pi armhf/ Release
404 Not Found [IP: 167.99.215.164 80]
Err:8 http://packages.ntop.org/apt/bionic_pi all/ Release
404 Not Found [IP: 167.99.215.164 80]
Reading package lists... Done
E: The repository 'http://apt.ntop.org/bionic_pi armhf/ 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 'http://apt.ntop.org/bionic_pi 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.
dpkg: error processing package apt-ntop (--install):
installed apt-ntop package post-installation script subprocess returned error exit status 100
Errors were encountered while processing:
apt-ntop
How do I fix this issue?
Thanks.