Skip to content

Instantly share code, notes, and snippets.

@gubuntu
Created March 4, 2015 15:42
Show Gist options
  • Save gubuntu/c18d657a27a7780a4c20 to your computer and use it in GitHub Desktop.
Save gubuntu/c18d657a27a7780a4c20 to your computer and use it in GitHub Desktop.
geonode install in Docker fails
Dockerfile
==========
FROM ubuntu:14.04
MAINTAINER Gavin Fleming<[email protected]>
RUN apt-get -f -y install software-properties-common
RUN add-apt-repository -y ppa:geonode/testing
RUN apt-get update -y
RUN apt-get -y -f install geonode
RUN paver setup
EXPOSE 8080
EXPOSE 8000
CMD paver start -b 0.0.0.0:8000
tail end of install log
=======================
Setting up tomcat7 (7.0.52-1ubuntu0.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating config file /etc/default/tomcat7 with new version
Adding system user `tomcat7' (UID 103) ...
Adding new user `tomcat7' (UID 103) with group `tomcat7' ...
Not creating home directory `/usr/share/tomcat7'.
Creating config file /etc/logrotate.d/tomcat7 with new version
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up geoserver-geonode (2.0+201501230745) ...
* Starting Tomcat servlet engine tomcat7
...fail!
dpkg: error processing package geoserver-geonode (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of geonode:
geonode depends on geoserver-geonode | geoserver; however:
Package geoserver-geonode is not configured yet.
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
Package geoserver is not installed.
dpkg: error processing package geonode (--configure):
dependency problems - leaving unconfigured
Processing triggers for python-support (1.0.15) ...
Processing triggers for ca-certificates (20130906ubuntu2) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
done.
done.
Errors were encountered while processing:
geoserver-geonode
geonode
E: Sub-process /usr/bin/dpkg returned an error code (1)
INFO[0150] The command [/bin/sh -c apt-get -y -f install geonode] returned a non-zero code: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment