I uninstalled couchbase sync gateway version 2.8 for some reasons. To do this, I have remove directories from /opt, /home and /lib/systemd/system. Then disabled and removed the service from systemctl. But now I am trying to install 2.8 again, but getting this error-
(Reading database ... 99189 files and directories currently installed.)
Preparing to unpack couchbase-sync-gateway-enterprise_2.8.2_x86_64.deb ...
/var/lib/dpkg/info/couchbase-sync-gateway.prerm: 5: cd: can't cd to /opt/couchbase-sync-gateway/service
dpkg: warning: old couchbase-sync-gateway package pre-removal script subprocess returned error exit status 2
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 5: cd: can't cd to /opt/couchbase-sync-gateway/service
dpkg: error processing archive couchbase-sync-gateway-enterprise_2.8.2_x86_64.deb (--install):
new couchbase-sync-gateway package pre-removal script subprocess returned error exit status 2
Errors were encountered while processing:
couchbase-sync-gateway-enterprise_2.8.2_x86_64.deb
Can’t find any resource to fix this problem, What to do now, any help please?
4 posts - 2 participants