Could not uninstall couchbase server CE version in sherlock

Description

Install couchbase server 4.0.0-3448 CE version on centos 6.4 64-bit
Uninstall using command: rpm -e couchbase-server
Failed to uninstall
Error:
[root@localhost ~]# rpm -e couchbase-server
error: package couchbase-server is not installed

[root@localhost ~]# rpm -qa | grep couchbase
libcouchbase2-bin-2.4.8-1.el6.x86_64
libcouchbase2-core-2.4.8-1.el6.x86_64
libcouchbase2-libevent-2.4.8-1.el6.x86_64
libcouchbase-devel-2.4.8-1.el6.x86_64
couchbase-server-community-4.0.0-3448.x86_64
[root@localhost ~]#

Components

Affects versions

Fix versions

Labels

Environment

centos 6.4 64-bit

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Ashvinder Singh July 23, 2015 at 10:46 PM

fixed on 4.0.0-3494

Hari Kodungallur July 23, 2015 at 10:20 PM

Hi Ashvinder,

It is not the uninstall string, the package name itself has changed. Anil sent out a email regarding this long time ago.
The gist of it is this:

  • we need to distribute our binaries using yum/apt repositories (ie., for example - one should be able to do add our repository details and then do "yum install couchbase-server")

  • for this to happen, we need distinct package names for community and enterprise versions. We used to have same name for both packages. In such a case, if you "yum install couchbase-server", we can't really control which edition (community/enterprise) will get installed. And worse, if the user already has enterprise edition and after yum update it brings down community edition, that will be disastrous.

  • given we typically deal with enterprise edition most of the time and most of the support also deals with enterprise edition, we left the enterprise edition package name as is ("couchbase-server") and for community we changed the name to "couchbase-server-community".

  • we also added a relationship where if you have "couchabse-server" and "couchbase-server-community" packages conflict (ie., if you install one, the other can't be installed without uninstalling the first one).

thanks.

Ashvinder Singh July 23, 2015 at 9:59 PM

This fix is working but I disagree to change the uninstall string to couchbase-server-community. Its may cause confusion.

Hari Kodungallur July 17, 2015 at 1:21 AM

The fix is available in build 3458

Hari Kodungallur July 16, 2015 at 11:05 PM

We now have distinct names for community and enterprise editions.
The package name remains couchbase-server for enterprise.
The package name is couchbase-server-community for CE

(Anil sent out an email regarding this sometimes end of Apr.. but we implemented it 10 days ago)

So, for uninstall you need to do rpm -e couchbase-server-community.

debian/ubuntu CE install issue is tracked in . Waiting for code review.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Yes

Triage

Untriaged

Operating System

Centos 64-bit

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created July 16, 2015 at 9:02 PM
Updated July 23, 2015 at 10:46 PM
Resolved July 17, 2015 at 1:21 AM
Instabug