Comments on How to Install Apache CouchDB on Ubuntu 18.04 LTS
CouchDB is a free and an open source NOSQL database solution implemented in the concurrency-oriented language Erlang. It has a document-oriented NoSQL database architecture. In this tutorial, we will learn how to install Apache CouchDB on Ubuntu 18.04 LTS server.
8 Comment(s)
Comments
You are defining xenial here: 'echo "deb https://apache.bintray.com/couchdb-deb xenial main" \ | sudo tee -a /etc/apt/sources.list' But the title is how to install CDB for Ubuntu 18.04, so should be bionic?
Yes, as of July 11 official bionic sources are available. Just replace xenial with bionic in the above and you should be good to go. If you have already added the xenial sources you'll need to remove the entry otherwise it will look there first. I had errors with dependencies using the xenial sources.
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc \ | sudo apt-key add -
Results in
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3100 100 3100 0 0 1994 0 0:00:01 0:00:01 --:--:-- 1993
curl: (3) Host name ' ' contains bad letter
then
sudo apt-get install couchdb -y
results in
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
couchdb : Depends: libcurl3 (>= 7.16.2) but it is not going to be installed
Depends: libicu55 (>= 55.1-1~) but it is not installable
Recommends: python-progressbar but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hi, just an update to let you know that I've found some official bionic sources. So you can use the same commands above, replacing xenial with bionic and you should be good to go. However if you've already added the xenial source you'll need to remove it first.
Still don't understand this Scott. Your last post is generating the same libcurl3 error that I am getting, even after the Xenial fix to sources. I can't understand why couchdb is so difficult to install....
@Edwin : I faced the same issue as yours. After adding 'deb https://apache.bintray.com/couchdb-deb bionic main' to the sources list, make sure you deleted the previously added entry for 'xenial'. It works fine.
How did you remove it?
you can edit your sources list using nano sudo nano /etc/apt/sources.list navigate to the bottom where you added the xenial package and change thet word xenial to bionic