Unable to locate package couchbase-server


#1

Hi Team,

I am trying to install couchbase server on ubuntu VM on AWS for development. but unable to do it. Following is the commands and consoles print:-

ubuntu@ip-172-31-23-72:~$ curl -O http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-3-amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3582 100 3582 0 0 339k 0 --:–:-- --:–:-- --:–:-- 349k
ubuntu@ip-172-31-23-72:~$ sudo dpkg -i couchbase-release-1.0-3-amd64.deb
(Reading database … 51312 files and directories currently installed.)
Preparing to unpack couchbase-release-1.0-3-amd64.deb …
Unpacking couchbase-release (1.0-3) over (1.0-3) …
Setting up couchbase-release (1.0-3) …
gpg: key CD406E62: “Couchbase Release Key (RPM) support@couchbase.com” not changed
gpg: key D9223EDA: “Couchbase Release Key support@couchbase.com” not changed
gpg: Total number processed: 2
gpg: unchanged: 2
OK
ubuntu@ip-172-31-23-72:~$ sudo apt-get update
Hit:1 http://packages.couchbase.com/ubuntu xenial InRelease
Hit:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 102 kB in 2s (45.8 kB/s)
Reading package lists… Done
ubuntu@ip-172-31-23-72:~$ sudo apt-get install couchbase-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package couchbase-server
ubuntu@ip-172-31-23-72:~$ apt-cache policy couchbase-server
N: Unable to locate package couchbase-server
ubuntu@ip-172-31-23-72:~$

Please help as development need this server ASAP.


#2

Never mind guys the ubuntu was 16 and not 14. So a learning point check your OS version first. Installation worked fine on Ubuntu 14.


#3

Hey Pankaj,

I am also trying the same. I got it successfully installed in one AWS server with following OS version:

Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

However I am getting the “E: Unable to locate package couchbase-server” message in another server with following OS configuration:

Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial


#4

Try on 14. I never got success with 16.