Skip to content

Commit

Permalink
apt update fails in arm32v7/httpd:2.4.33 image
Browse files Browse the repository at this point in the history
After runnnig `apt-get update` I got the follwoing error:
```
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
```

Some of the repos are not maintained anymore.

But we can bypass the problem by returning true if this happens.
  • Loading branch information
Alexander Gusev authored May 2, 2019
1 parent fb9d758 commit 15d9c38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.arm32v7
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ FROM arm32v7/httpd:2.4.33
# A better approach will be to build static version of aria2.

# download aria2 dependendies
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update || true

RUN apt-get install -y --no-install-recommends \
busybox \
ca-certificates \
libc-ares2 \
Expand Down

0 comments on commit 15d9c38

Please sign in to comment.