NOTE: Let me start off by saying I was (by mistake) trying to build release-6.3 branch instead of 6.3.10 release. If that is the main cause of the following issue, you can ignore this as operator error. I am going to retry with 6.3.10 release.
I built the branch using docker on linux and also ran cmake -G DEB
to create debian packages. However when I tried to install it it failed with a post-install error as follows
I understand 6.3.11 is not released.
$ sudo dpkg -i foundationdb-6.3.11--clients-versioned.deb
Selecting previously unselected package foundationdb-clients-6.3.11.
(Reading database ... 85986 files and directories currently installed.)
Preparing to unpack foundationdb-6.3.11--clients-versioned.deb ...
Unpacking foundationdb-clients-6.3.11 (6.3.11) ...
Setting up foundationdb-clients-6.3.11 (6.3.11) ...
/var/lib/dpkg/info/foundationdb-clients-6.3.11.postinst: line 16: alternatives: command not found
dpkg: error processing package foundationdb-clients-6.3.11 (--install):
installed foundationdb-clients-6.3.11 package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
foundationdb-clients-6.3.11
$ dpkg -l | grep foundation
iF foundationdb-clients-6.3.11 6.3.11 amd64 FoundationDB is a
scalable, fault-tolerant, ordered key-value store with full ACID transactions.
It is looking for a dependency ‘alternatives’, but I couldn’t find an appropriate package in Ubuntu 18.04 LTS. There is one galternatives
, but I doubt if that is the correct dependency.
Anyways, after this, I couldn’t remove the package either because alternatives
is referenced in
alternatives --remove fdbclients
in /var/lib/dpkg/info/foundationdb-clients-6.3.11.prerm
Separately, do you have any documentation of how to setup the initial /etc/foundationdb/fdb.cluster file without using a package manager ? I will be building from source many times and it would be good to know how to set it up.
Thanks
–
Harry