In https://ckg.readthedocs.io/en/latest/intro/getting-started-with-neo4j.html
For me, on Ubuntu 22:
apt-get install neo4j=1:4.2.3 pulls one of the newer "cypher-shell" packages, which in turn pulls openjdk-17
Solved by specifying exact cypher-shell version matching the neo4j
sudo apt-get install neo4j=1:4.2.3 cypher-shell=1:4.2.3
In https://ckg.readthedocs.io/en/latest/intro/getting-started-with-neo4j.html
For me, on Ubuntu 22:
apt-get install neo4j=1:4.2.3 pulls one of the newer "cypher-shell" packages, which in turn pulls openjdk-17
Solved by specifying exact cypher-shell version matching the neo4j
sudo apt-get install neo4j=1:4.2.3 cypher-shell=1:4.2.3