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

Docker build with error /usr/lib/apt/methods/https could not be found. #6256

Closed
3 tasks done
kk580kk opened this issue Nov 1, 2018 · 1 comment
Closed
3 tasks done

Comments

@kk580kk
Copy link
Contributor

kk580kk commented Nov 1, 2018

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version

2d4a1ab

Expected results

Build docker images without errors or warnings

Actual results

E: The method driver /usr/lib/apt/methods/https could not be found.
E: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease                 
E: Some index files failed to download. They have been ignored, or old ones used instead. 

AND

debconf: delaying package configuration, since apt-utils is not installed

AND

Warning: apt-key output should not be parsed (stdout is not a terminal)

Steps to reproduce

bash -x docker-build.sh
@kk580kk
Copy link
Contributor Author

kk580kk commented Nov 1, 2018

I try to fix this problem by changed the Dockerfile.
add this line

RUN apt-get install -y apt-transport-https apt-utils

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