Expensify / Bedrock

Rock solid distributed database specializing in active/active automatic failover and WAN replication

Home Page:https://bedrockdb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish binaries for Ubuntu 18 and 20

janpio opened this issue · comments

WSL on Windows only support Ubuntu 18 and 20:

sujan@Surface-Book-2:~$ sudo wget -O /etc/apt/sources.list.d/bedrock.list https://apt.bedrockdb.com/ubuntu/dists/$(lsb_release -cs)/bedrock.list
[sudo] password for sujan:
--2020-08-14 14:16:53--  https://apt.bedrockdb.com/ubuntu/dists/bionic/bedrock.list
Resolving apt.bedrockdb.com (apt.bedrockdb.com)... 54.177.146.74
Connecting to apt.bedrockdb.com (apt.bedrockdb.com)|54.177.146.74|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-08-14 14:16:54 ERROR 404: Not Found.

As lsb_release -cs is bionic, the available files at https://apt.bedrockdb.com/ubuntu/dists/ can not be used to install Bedrock.

commented

You could try running the xenial builds on 18/20. my guess is they will work. The only difference in the .deb packages are the required lib, which had a name change after 14.04.

Tried that, unfortunately WSL does not like the apt host somehow:

sujan@Surface-Book-2:/mnt/c/Users/Jan$ sudo wget -O /etc/apt/sources.list.d/bedrock.list https://apt.bedrockdb.com/ubuntu/dists/xenial/bedrock.list
[sudo] password for sujan:
--2020-08-14 21:45:03--  https://apt.bedrockdb.com/ubuntu/dists/xenial/bedrock.list
Resolving apt.bedrockdb.com (apt.bedrockdb.com)... 54.177.146.74
Connecting to apt.bedrockdb.com (apt.bedrockdb.com)|54.177.146.74|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 63 [application/octet-stream]
Saving to: ‘/etc/apt/sources.list.d/bedrock.list’

/etc/apt/sources.list.d/bedro 100%[=================================================>]      63  --.-KB/s    in 0s

2020-08-14 21:45:04 (1.13 MB/s) - ‘/etc/apt/sources.list.d/bedrock.list’ saved [63/63]

sujan@Surface-Book-2:/mnt/c/Users/Jan$ wget -O - https://apt.bedrockdb.com/bedrock.gpg | sudo apt-key add -
--2020-08-14 21:45:24--  https://apt.bedrockdb.com/bedrock.gpg
Resolving apt.bedrockdb.com (apt.bedrockdb.com)... 54.177.146.74
Connecting to apt.bedrockdb.com (apt.bedrockdb.com)|54.177.146.74|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3139 (3.1K) [application/octet-stream]
Saving to: ‘STDOUT’

-                             100%[=================================================>]   3.07K  --.-KB/s    in 0s

2020-08-14 21:45:25 (42.8 MB/s) - written to stdout [3139/3139]

OK
sujan@Surface-Book-2:/mnt/c/Users/Jan$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Ign:6 https://apt.bedrockdb.com/ubuntu xenial InRelease
Err:7 https://apt.bedrockdb.com/ubuntu xenial Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 54.177.146.74 443]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1097 kB]
Reading package lists... Done
E: The repository 'https://apt.bedrockdb.com/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sujan@Surface-Book-2:/mnt/c/Users/Jan$ sudo apt-get install bedrock
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bedrock

But I could build manually, so not a big deal.