Raspberry PI buster + docker = not working
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 1.8k
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Dockerfile.nprobe and reproduce the dpkg -i apt-ntop_1.0.190416-469_all.deb step in the reported Raspberry Pi environment. Inspect the repository setup exposed by the failure and verify whether the required armhf and all Release files are available; done means the image builds and nprobe installs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile, raspberry-pi, ubuntu
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100