Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building sciruby-notebooks/dockerfile : Unable to find expected entry 'main/binary-amd64/Packages' and Rubygems error #33

Open
Startouf opened this issue Jun 23, 2019 · 1 comment

Comments

@Startouf
Copy link

Hello,

I am trying to set up a local docker image using the dockerfile from sciruby on docker on my macOS, and I'm running into the following error during RUN apt-get update

Step 4/9 : RUN apt-get update
 ---> Running in 4ce323dcf26b
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:2 http://httpredir.debian.org jessie-updates InRelease [7,340 B]
Get:3 http://httpredir.debian.org jessie Release.gpg [2,420 B]
Get:4 http://httpredir.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [865 kB]
Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9,098 kB]
Fetched 10.2 MB in 14s (720 kB/s)
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100

I am investigating the internet to find a solution, but if any of you ran into the same problem or have any idea, I would gladly take it

  • macOS Mojave 10.14.3
  • Docker version 18.09.1, build 4c52b90
  • MacBook Pro (Retina, 13-inch, Early 2015)
@Startouf Startouf changed the title Unable to find expected entry 'main/binary-amd64/Packages' Building sciruby-notebooks/dockerfile : Unable to find expected entry 'main/binary-amd64/Packages' Jun 23, 2019
@Startouf
Copy link
Author

Startouf commented Jun 23, 2019

According to https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease and especially this answer, it seems like the Dockerfile is using a Debian build with a problem. Can we update it ?

NOTE : using the accepted answer worked on my computer, so if it's not possible to fix the main issue, we can add the suggested line in the dockerfile, I can make a PR

@Startouf Startouf changed the title Building sciruby-notebooks/dockerfile : Unable to find expected entry 'main/binary-amd64/Packages' Building sciruby-notebooks/dockerfile : Unable to find expected entry 'main/binary-amd64/Packages' and Rubygems error Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant