minideb icon indicating copy to clipboard operation
minideb copied to clipboard

Failed to fetch when install_packages

Open TimVNL opened this issue 8 years ago • 4 comments

Hello,

I am getting the following error when I do: install_packages curl

E: Unable to locate package curl
apt failed, retrying
W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch/InRelease  Temporary failure resolving 'httpredir.debian.org'
W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease  Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
E: Unable to locate package curl

I'm using Docker CE 17.09 on Mac OS 10.13

TimVNL avatar Oct 30 '17 06:10 TimVNL

Hi,

...
Temporary failure resolving 'httpredir.debian.org'
...

This sounds like your network had a problem resolving DNS. Assuming it's not a temporary problem then I think there might be a configuration problem with your docker install.

I assume that other cases work ok for you though?

james-w avatar Oct 30 '17 10:10 james-w

I have a fresh docker install and I only have the issue with the latest release the jessie release is fine

TimVNL avatar Nov 06 '17 17:11 TimVNL

Same Problem here. Fresh install and error only appears in stretch.

My Dockerfile starts like:

FROM bitnami/minideb:stretch
# Get CURL
RUN install_packages curl ca-certificates tar
[...]

jpgreth avatar Apr 24 '19 08:04 jpgreth

That Dockerfile builds fine for me, so I'm not sure what the difference would be that causes you to see an error.

james-w avatar May 14 '19 10:05 james-w