-
Notifications
You must be signed in to change notification settings - Fork 24
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
packages missing while running bootstrap/build_docker_images.sh #2
Comments
When I changed the file /gerrit-docker/Dockerfile by adding $(lsb_release -sc) in line 13, like this: I got more information in the error message: E: Some index files failed to download. They have been ignored, or old ones used instead. |
Just tried the install on a different vm which has centos 6.5, this time got a different error message: $ ./build_docker_images.sh The following packages have unmet dependencies: |
sorry i missed this issue! can you try again? i've updated the images since this and fixed this issue |
Getting the following error when running bootstrap/build_docker_images.sh
building the Docker image for gerrit
Sending build context to Docker daemon 1.268 MB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:trusty
---> 5ba9dab47459
Step 1 : MAINTAINER Christian Posta [email protected]
---> Using cache
---> 3abd41210d79
Step 2 : ENV GERRIT_HOME /home/gerrit
---> Using cache
---> 6ec43a11575f
Step 3 : ENV GERRIT_USER gerrit
---> Using cache
---> 256512dde324
Step 4 : ENV GERRIT_WAR /home/gerrit/gerrit.war
---> Using cache
---> c4c310fb2581
Step 5 : RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list
---> Using cache
---> dd86b31142f8
Step 6 : RUN apt-get update
---> Using cache
---> bf32745154f9
Step 7 : RUN apt-get upgrade -y
---> Using cache
---> 8ce0a49ca13c
Step 8 : RUN useradd -m ${GERRIT_USER}
---> Using cache
---> f99806922195
Step 9 : RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes tzdata tzdata-java openjdk-6-jre-headless sudo git-core supervisor vim-tiny
---> Running in 56af5dd36ccf
Reading package lists...
Building dependency tree...
Reading state information...
E: Package 'openjdk-6-jre-headless' has no installation candidate
E: Unable to locate package supervisor
Package openjdk-6-jre-headless is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
icedtea-netx-common icedtea-netx default-jre-headless
2015/02/13 20:41:42 The command [/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes tzdata tzdata-java openjdk-6-jre-headless sudo git-core supervisor vim-tiny] returned a non-zero code: 100
The text was updated successfully, but these errors were encountered: