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

Create script failing due to missing packages #1

Open
auyer opened this issue Aug 8, 2017 · 0 comments
Open

Create script failing due to missing packages #1

auyer opened this issue Aug 8, 2017 · 0 comments

Comments

@auyer
Copy link

auyer commented Aug 8, 2017

The Script create is failing because of PHP5 missing packages.

I am running Docker on a Debian 8 system.
This was the output:

+ repo=https://github.com/DOMjudge/domjudge.git
+ '[' -n '' ']'
+ '[' '!' -d domjudge.git ']'
+ cd domjudge.git
+ git fetch https://github.com/DOMjudge/domjudge.git master:master
++ git show -s --format=%ct HEAD
+ lastcommitdate=1502049133
+ touch -d@1502049133 FETCH_HEAD
+ git show HEAD:misc-tools/dj_make_chroot.in
+ cd ..
+ tar cf domjudge.git.tar domjudge.git
+ touch -d@1502049133 domjudge.git.tar
+ set +e
+ diff -q dj_make_chroot dj_make_chroot.tmp
+ status=0
+ set -e
+ '[' 0 == 0 ']'
+ rm dj_make_chroot.tmp
+ docker=/usr/bin/docker
+ '[' -x /usr/bin/docker.io ']'
+ /usr/bin/docker build -t domjudge .
Sending build context to Docker daemon 55.44 MB
Step 1/19 : FROM debian:stable
 ---> c5f70b742a9d
Step 2/19 : MAINTAINER Tobias Werth <[email protected]>
 ---> Using cache
 ---> 0a7ac02a6a45
Step 3/19 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> e46eb8d8e4a9
Step 4/19 : RUN apt-get update
 ---> Using cache
 ---> 3218a0329e38
Step 5/19 : RUN apt-get install -y git vim
 ---> Using cache
 ---> bab7e36e3518
Step 6/19 : RUN apt-get install -y gcc g++ make zip unzip mysql-server 	    apache2 php5 php5-cli libapache2-mod-php5 php5-mysql php5-json 	    bsdmainutils phpmyadmin ntp 	    libboost-regex-dev libgmp3-dev linuxdoc-tools linuxdoc-tools-text 	    groff texlive-latex-recommended texlive-latex-extra 	    texlive-fonts-recommended texlive-lang-dutch
 ---> Running in 6005012ee1c3
Reading package lists...
Building dependency tree...
Reading state information...
Package php5 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

Package php5-cli 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

Package php5-mysql 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

Package php5-json 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

Package libapache2-mod-php5 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

E: Package 'php5' has no installation candidate
E: Package 'php5-cli' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Package 'php5-mysql' has no installation candidate
E: Package 'php5-json' has no installation candidate
E: Unable to locate package texlive-lang-dutch
The command '/bin/sh -c apt-get install -y gcc g++ make zip unzip mysql-server 	    apache2 php5 php5-cli libapache2-mod-php5 php5-mysql php5-json 	    bsdmainutils phpmyadmin ntp 	    libboost-regex-dev libgmp3-dev linuxdoc-tools linuxdoc-tools-text 	    groff texlive-latex-recommended texlive-latex-extra 	    texlive-fonts-recommended texlive-lang-dutch' returned a non-zero code: 100```
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