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

Debian dependency not found, error #31

Open
carlosalvidrez opened this issue Feb 4, 2020 · 2 comments
Open

Debian dependency not found, error #31

carlosalvidrez opened this issue Feb 4, 2020 · 2 comments

Comments

@carlosalvidrez
Copy link

Got this while building the docker image... everything looks good up to this point...

`Ign http://deb.debian.org jessie InRelease
Get:1 http://deb.debian.org jessie-updates InRelease [16.3 kB]
Ign http://ftp.debian.org jessie-backports InRelease
Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://ftp.debian.org jessie-backports Release.gpg
Get:3 http://deb.debian.org jessie Release.gpg [1652 B]
Ign http://ftp.debian.org jessie-backports Release
Get:4 http://deb.debian.org jessie Release [77.3 kB]
Err http://ftp.debian.org jessie-backports/main amd64 Packages

Err http://ftp.debian.org jessie-backports/main amd64 Packages

Err http://ftp.debian.org jessie-backports/main amd64 Packages

Err http://ftp.debian.org jessie-backports/main amd64 Packages

Err http://ftp.debian.org jessie-backports/main amd64 Packages
404 Not Found
Get:5 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Get:7 http://security.debian.org jessie/updates/main amd64 Packages [932 kB]
Fetched 10.2 MB in 12s (788 kB/s)
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get install -y wget procps && wget https://archive.apache.org/dist/hive/hive-$HIVE_VERSION/apache-hive-$HIVE_VERSION-bin.tar.gz && tar -xzvf apache-hive-$HIVE_VERSION-bin.tar.gz && mv apache-hive-$HIVE_VERSION-bin hive && wget https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar -O $HIVE_HOME/lib/postgresql-jdbc.jar && rm apache-hive-$HIVE_VERSION-bin.tar.gz && apt-get --purge remove -y wget && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100`

@jirojo2
Copy link

jirojo2 commented Apr 21, 2020

The base image (hadoop-2.7.4) is based on debian 8, which is waaaaay too old

https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository

@noahkawasakigoogle
Copy link

+1

Though, it looks like in the latest Dockerfile they have updated FROM debian:9. However the pre-built hosted images in the DockerHub registry are not using this.

So, what I will probably do, is clone the docker-hadoop repo, use it to build each hadoop version I want locally. And then these will be build with Debian 9. Then use this repo again to continue building Hive images based on these updated local images.

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

3 participants