Setting up elasticsearch (5.1.1) ...
Couldn't write '65536' to 'vm/mmap_min_addr', ignoring: Read-only file system
Couldn't write '4 4 1 7' to 'kernel/printk', ignoring: Read-only file system
Couldn't write '1' to 'net/ipv4/tcp_syncookies', ignoring: No such file or directory
Couldn't write '2' to 'net/ipv6/conf/default/use_tempaddr', ignoring: Read-only file system
Couldn't write '1' to 'kernel/kptr_restrict', ignoring: Read-only file system
Couldn't write '1' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory
Couldn't write '176' to 'kernel/sysrq', ignoring: Read-only file system
Couldn't write '1' to 'fs/protected_symlinks', ignoring: Read-only file system
Couldn't write '1' to 'fs/protected_hardlinks', ignoring: Read-only file system
Couldn't write '1' to 'net/ipv4/conf/all/rp_filter', ignoring: Read-only file system
Couldn't write '2' to 'net/ipv6/conf/all/use_tempaddr', ignoring: Read-only file system
Couldn't write '262144' to 'vm/max_map_count', ignoring: Read-only file system
Couldn't write '1' to 'net/ipv4/conf/default/rp_filter', ignoring: Read-only file system
dpkg: error processing package elasticsearch (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu12) ...
Errors were encountered while processing:
elasticsearch
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c PACKAGER_REPO="$PACKAGER_REPO" /bin/bash -l -c /tmp/docker.sh' returned a non-zero code: 100
I haven't found a solution for this yet. Elasticsearch seems to install fine on jessie (the official elasticsearch repo is based on openjdk
, which is based on jessie
), but not on ubuntu:16.04
.