foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

Client 6.3.24 points to 7.1 for Debian

Open kpy3 opened this issue 2 years ago • 3 comments

Tried to install foundationdb-clients_6.3.24-1_amd64.deb from GitHub, and got what I don't expect:

root@a3dabe99a24b:/opt/counter# fdbcli -v
FoundationDB CLI 6.3 (v6.3.23)
source version 47b9a81d1c10897c863098fe2d66e827fed0d239
protocol fdb00b063010001
root@a3dabe99a24b:/opt/counter# curl -OL https://github.com/apple/foundationdb/releases/download/6.3.24/foundationdb-clients_6.3.24-1_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   678  100   678    0     0   1893      0 --:--:-- --:--:-- --:--:--  1893
100 50.7M  100 50.7M    0     0  3829k      0  0:00:13  0:00:13 --:--:-- 5621k
root@a3dabe99a24b:/opt/counter# curl -OL https://github.com/apple/foundationdb/releases/download/6.3.24/foundationdb-clients_6.3.24-1_amd64.deb.sha256
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   685  100   685    0     0   1738      0 --:--:-- --:--:-- --:--:--  1734
100   106  100   106    0     0    140      0 --:--:-- --:--:-- --:--:--   140
root@a3dabe99a24b:/opt/counter# sha256sum -c foundationdb-clients_6.3.24-1_amd64.deb.sha256
foundationdb-clients_6.3.24-1_amd64.deb: OK
root@a3dabe99a24b:/opt/counter# dpkg -i foundationdb-clients_6.3.24-1_amd64.deb
(Reading database ... 32310 files and directories currently installed.)
Preparing to unpack foundationdb-clients_6.3.24-1_amd64.deb ...
Unpacking foundationdb-clients (6.3.24) over (6.3.23) ...
Setting up foundationdb-clients (6.3.24) ...
root@a3dabe99a24b:/opt/counter# fdbcli -v
FoundationDB CLI 7.1 (v7.1.0)
source version 32f2731773010e5c8a6f831af85199c0b8b76dd1
protocol fdb00b071010000
root@a3dabe99a24b:/opt/counter#

Is that correct?

kpy3 avatar Apr 15 '22 19:04 kpy3

:arrow_up: Nope, that is not correct.

This appears to be the result of the "fix" for #6490

ammolitor avatar Apr 18 '22 20:04 ammolitor

I download fdb-client of version 6.3.24. I install this file but use command fdbcli --version get below output. so I think this release file is mistake.

fdbcli --version
FoundationDB CLI 7.1 (v7.1.0)
source version 32f2731773010e5c8a6f831af85199c0b8b76dd1
protocol fdb00b071010000

bzd111 avatar Jun 30 '22 09:06 bzd111

can confirm that the clients deb is broken, the cli binary on the releases page is correct though. as an, admittedly suboptimal, workaround I'd pull the file from there.

Oddly enough the RPM looks ok, so it is not clear what wires I crossed while the deb packages were being built.

ammolitor avatar Jun 30 '22 15:06 ammolitor