View Issue Details

IDProjectCategoryView StatusLast Update
0007255Kali LinuxGeneral Bugpublic2021-07-14 09:02
Reporter__________ Assigned Toarnaudr  
PrioritylowSeverityminorReproducibilityrandom
Status closedResolutionunable to reproduce 
Product Version2021.2 
Summary0007255: Docker APT HTTP 400
Description

0000016 81.55 E: Failed to fetch http://http.kali.org/kali/pool/main/XXXXXXXXXX.deb 400 Bad Request [IP: 1..*** 80]
0000016 81.55 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

when using apt-get install in a dockerfile, the following error consistently shows up. the package is always different, but it randomly happens without warning. fix missing doesn't assist.

Steps To Reproduce

run dockerfile, edit dockerfile, re-run dockerfile

Additional Information

example dockerfile

FROM kalilinux/kali:latest as base
RUN mkdir /home/username/
FROM base as install
RUN apt-get update && apt-get install apache2 tmux -yq
RUN apt-get update && apt-get install r-base nano python3-pandas python3-numpy r-cran-ggplot2 -yq --no-install-recommends
FROM install as production
COPY . /var/www/html/scripts
CMD ["apachectl", "-D", "FOREGROUND"]

Activities

arnaudr

arnaudr

2021-07-14 09:00

manager   ~0014921

400 is client error: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400

It seems that there's an issue on your side, maybe your connection is bad? Or is there something special with your network setup? Do you go through a proxy? This kind of things.

Just to make sure, I tried to build your Dockerfile: no problem on my side, it succeeds.

Issue History

Date Modified Username Field Change
2021-07-08 17:47 __________ New Issue
2021-07-14 08:53 arnaudr Assigned To => arnaudr
2021-07-14 08:53 arnaudr Status new => assigned
2021-07-14 09:00 arnaudr Note Added: 0014921
2021-07-14 09:02 arnaudr Severity major => minor
2021-07-14 09:02 arnaudr Status assigned => closed
2021-07-14 09:02 arnaudr Resolution open => unable to reproduce