Skip to content

Instantly share code, notes, and snippets.

@brokenpylons
Created February 18, 2019 10:24
Show Gist options
  • Save brokenpylons/fef444f3e7aa0c33c225477504a4c421 to your computer and use it in GitHub Desktop.
Save brokenpylons/fef444f3e7aa0c33c225477504a4c421 to your computer and use it in GitHub Desktop.
Install CouchDB on Debian stretch
echo 'deb https://apache.bintray.com/couchdb-deb stretch main' | tee -a /etc/apt/sources.list
# E: The method driver /usr/lib/apt/methods/https could not be found.
# N: Is the package apt-transport-https installed?
# E: Failed to fetch https://apache.bintray.com/couchdb-deb/dists/stretch/InRelease
apt install apt-transport-https
# W: GPG error: https://apache.bintray.com/couchdb-deb stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
# E: The repository 'https://apache.bintray.com/couchdb-deb stretch Release' is not signed.
apt install dirmngr
gpg --keyserver pgpkeys.mit.edu --recv-key 379CE192D401AB61
gpg -a --export 379CE192D401AB61 | apt-key add -
apt update
echo "couchdb couchdb/mode select none" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes couchdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment