Originally from the User Slack
@Kristjan_Janežič: Hello everyone. As per the instructions I am trying to install an older version of Scylla (so we can test the upgrade process). I have added older repo in apt list and updated. I can see the packages with “ap-cache madison” or “apt list --all-versions”, but I cannot install them with “apt install” as the packages are not found. How can I install the older version? Thank you in advance
user@TESTSERVER:~$ scylla --version
5.0.rc8-0.20220612.f28542a71
root@SOMESERVER:/etc/apt/sources.list.d# cat scylla.list
deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/scylladb.gpg] <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.4> stable main
deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/scylladb.gpg] <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable main
root@SOMESERVER:/etc/apt/sources.list.d# apt list --all-versions | grep "5.0.rc8-0.20220612.f28542a71-1"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
scylla-conf/stable 5.0~rc8-0.20220612.f28542a71-1 amd64 [residual-config]
scylla-conf/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
scylla-jmx/stable,stable 5.0~rc8-0.20220612.f28542a71-1 all [residual-config]
scylla-kernel-conf/stable 5.0~rc8-0.20220612.f28542a71-1 amd64
scylla-kernel-conf/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
scylla-node-exporter/stable 5.0~rc8-0.20220612.f28542a71-1 amd64 [residual-config]
scylla-node-exporter/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
scylla-python3/stable 5.0~rc8-0.20220612.f28542a71-1 amd64
scylla-python3/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
scylla-server-dbg/stable 5.0~rc8-0.20220612.f28542a71-1 amd64
scylla-server-dbg/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
scylla-server/stable 5.0~rc8-0.20220612.f28542a71-1 amd64 [residual-config]
scylla-server/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
scylla-tools-core/stable,stable 5.0~rc8-0.20220612.f28542a71-1 all [residual-config]
scylla-tools/stable,stable 5.0~rc8-0.20220612.f28542a71-1 all [residual-config]
scylla/stable 5.0~rc8-0.20220612.f28542a71-1 amd64
scylla/stable 5.0~rc8-0.20220612.f28542a71-1 arm64
root@SOMESERVER:/etc/apt/sources.list.d# apt-cache madison scylla{,-server,-jmx,-tools,-tools-core,-kernel-conf,-node-exporter,-conf,-python3} | grep "5.0.rc8-0.20220612.f28542a71-1"
scylla | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-server | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-jmx | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-jmx | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main arm64 Packages
scylla-tools | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-tools | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main arm64 Packages
scylla-tools-core | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-tools-core | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main arm64 Packages
scylla-kernel-conf | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-node-exporter | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-conf | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
scylla-python3 | 5.0~rc8-0.20220612.f28542a71-1 | <https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0> stable/main amd64 Packages
root@SOMESERVER:/etc/apt/sources.list.d# apt-get install scylla=5.0.rc8-0.20220612.f28542a71
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package scylla is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Version '5.0.rc8-0.20220612.f28542a71' for 'scylla' was not found
root@SOMESERVER:/etc/apt/sources.list.d# apt-get install scylla=5.0.rc8-0.20220612.f28542a71-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package scylla is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Version '5.0.rc8-0.20220612.f28542a71-1' for 'scylla' was not found
@Felipe_Cardeneti_Mendes: Working just fine here
root@c6e9ff8c19fa:/# apt install scylla{,-server,-jmx,-tools,-tools-core,-kernel-conf,-node-exporter,-conf,-python3}=5.0~rc8-0.20220612.f28542a71-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ca-certificates-java dbus fontconfig-config fonts-dejavu-core java-common libapparmor1 libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcups2 libdbus-1-3
libedit2 libevent-core-2.1-7 libevent-pthreads-2.1-7 libfontconfig1 libfreetype6 libgdbm-compat4 libgdbm6 libjpeg-turbo8 libjpeg8 liblcms2-2 libmd0 libnspr4 libnss3 libopts25
libpcsclite1 libperl5.34 libpng16-16 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxrender1
libxtst6 netbase ntp openjdk-8-jre-headless perl perl-modules-5.34 python2 python2-minimal python2.7 python2.7-minimal sntp tzdata ucf x11-common
Suggested packages:
default-dbus-session-bus | dbus-session-bus default-jre cups-common gdbm-l10n liblcms2-utils pcscd ntp-doc libnss-mdns fonts-dejavu-extra fonts-nanum fonts-ipafont-gothic
fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei fonts-indic perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libtap-harness-archive-perl
python2-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
ca-certificates-java dbus fontconfig-config fonts-dejavu-core java-common libapparmor1 libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcups2 libdbus-1-3
libedit2 libevent-core-2.1-7 libevent-pthreads-2.1-7 libfontconfig1 libfreetype6 libgdbm-compat4 libgdbm6 libjpeg-turbo8 libjpeg8 liblcms2-2 libmd0 libnspr4 libnss3 libopts25
libpcsclite1 libperl5.34 libpng16-16 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxrender1
libxtst6 netbase ntp openjdk-8-jre-headless perl perl-modules-5.34 python2 python2-minimal python2.7 python2.7-minimal scylla scylla-conf scylla-jmx scylla-kernel-conf
scylla-node-exporter scylla-python3 scylla-server scylla-tools scylla-tools-core sntp tzdata ucf x11-common
0 upgraded, 63 newly installed, 0 to remove and 4 not upgraded.
Need to get 138 MB of archives.
After this operation, 472 MB of additional disk space will be used.
Do you want to continue? [Y/n]
though you should help yourself and don’t use a rc
@Kristjan_Janežič: hey, thank you for the reply. I need to use rc because i need to test upgrade from that version . Could you share your apt sources? or the keyring command you used?
I have also tried with these instructions, with the same result.
@Felipe_Cardeneti_Mendes: > deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/scylladb.gpg] https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.4 stable main
> deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/scylladb.gpg] https://downloads.scylladb.com/downloads/scylla/deb/debian-ubuntu/scylladb-5.0 stable main
history snippet:
> 10 gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys d0a112e067426ab2
> 11 apt update
> 12 apt-cache madison scylla
> 13 apt install scylla=5.0~rc8-0.20220612.f28542a71-1
> 14 apt install scylla{,-server,-jmx,-tools,-tools-core,-kernel-conf,-node-exporter,-conf,-python3}=5.0~rc8-0.20220612.f28542a71-1