Installing Scylla from the 3.2 release stream:
sudo apt install scylla
results in -rc3 installed:
Unpacking scylla (3.2.rc3-0.20191215.39b17be5620-1) ...
Setting up scylla-conf (3.2.rc3-0.20191215.39b17be5620-1) ...
Setting up scylla-python3 (3.7.4-0.20200115.f9b11c9b30-1) ...
Setting up scylla-server (3.2.rc3-0.20191215.39b17be5620-1) ...
scylla:x:104:104::/var/lib/scylla:/usr/sbin/nologin
scylla:x:104:
Setting up scylla-kernel-conf (3.2.rc3-0.20191215.39b17be5620-1) ...
sysctl: setting key "kernel.sched_tunable_scaling": Read-only file system
sysctl: setting key "kernel.sched_min_granularity_ns": Read-only file system
sysctl: setting key "kernel.sched_wakeup_granularity_ns": Read-only file system
sysctl: setting key "kernel.sched_latency_ns": Read-only file system
sysctl: setting key "kernel.sched_autogroup_enabled": Read-only file system
sysctl: setting key "kernel.numa_balancing": Read-only file system
sysctl: setting key "fs.aio-max-nr": Read-only file system
Setting up scylla-jmx (3.2.0-20200116.83f8153b56-1) ...
Setting up scylla-tools-core (3.2.0-20200116.96a2b6f3d4-1) ...
Setting up scylla-tools (3.2.0-20200116.96a2b6f3d4-1) ...
Setting up scylla (3.2.rc3-0.20191215.39b17be5620-1) ...
root@729da252f08d:/# scylla --version
3.2.rc3-0.20191215.39b17be5620
Attempting to install the exact 3.2.0 version results into apt thinking we must downgrade:
root@729da252f08d:/# sudo apt install scylla-server=3.2.0-0.20200115.f9b11c9b30-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
scylla-server
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 6 not upgraded.
Need to get 34.1 MB of archives.
After this operation, 104 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
The issue is that the version number of scylla and scylla-server package is wrong for release candidates. It does not use tilde ~ like JMX and tools does, which results in apt thinking that the release candidates are more recent versions.
It appears the repos are now down (?), as well. I'm assuming that's all related?
@penberg I'll handle it.
Thanks @penberg & @syuu1228!
What we missing is https://github.com/scylladb/scylla/commit/ae33e9fe76342a6e1a9426eb8161aa2990c79e66
Seems like also related with #2765 and #2732
@lseelenbinder Yes, related issue, but the Debian and Ubuntu repositories are now back, and up and running. Sorry for the inconvenience!
Thanks, @syuu1228! I will look at the pull request once the dust settles a bit...
For future reference, looks like the regression in build_deb.sh was introduced when we switched to relocatable packages: https://github.com/scylladb/scylla/commit/f3c3b9183c1db3006511d7d2661a53acecc7ccdf
No current release is vulnerable.