Looks like the latest version on RHEL is 5.26.4, but the deployment center says 2025.02 has been out since February?
How to I upgrade via the package managers on RHEL to 2025.02?
Looks like the latest version on RHEL is 5.26.4, but the deployment center says 2025.02 has been out since February?
How to I upgrade via the package managers on RHEL to 2025.02?
You probably still have yum configured to use the version 5 release track.
You can check this by running cat /etc/yum.repos.d/neo4j.repo
.
If baseurl is set to https://yum.neo4j.com/stable/5 then it needs changing to https://yum.neo4j.com/stable/latest to be able to supply the new calendar versioned Neo4js.
The relevant documentation page is here:
with a /etc/yum.repos.d/neo4j.repo defined as
rpm --import https://debian.neo4j.com/neotechnology.gpg.key
cat << EOF > /etc/yum.repos.d/neo4j.repo
[neo4j]
name=Neo4j RPM Repository
baseurl=https://yum.neo4j.com/stable/latest
enabled=1
gpgcheck=1
EOF
and this is described at Red Hat, CentOS, Fedora, and Amazon Linux (.rpm) - Operations Manual
I am not able to reproduce as evidenc
# yum install neo4j-2025.02.0
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package neo4j.noarch 0:2025.02.0-1 will be installed
--> Processing Dependency: cypher-shell >= 2025.02.0 for package: neo4j-2025.02.0-1.noarch
--> Running transaction check
---> Package cypher-shell.noarch 0:5.18.1-1 will be updated
--> Processing Dependency: cypher-shell < 6.0 for package: neo4j-enterprise-5.16.0-1.noarch
---> Package cypher-shell.noarch 0:2025.02.0-1 will be an update
--> Running transaction check
---> Package neo4j-enterprise.noarch 0:5.16.0-1 will be updated
---> Package neo4j-enterprise.noarch 0:2025.02.0-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================
Installing:
neo4j noarch 2025.02.0-1 neo4j 150 M
Updating for dependencies:
cypher-shell noarch 2025.02.0-1 neo4j 39 M
neo4j-enterprise noarch 2025.02.0-1 neo4j 413 M
Transaction Summary
=================================================================================================================================
Install 1 Package
Upgrade ( 2 Dependent packages)
Total download size: 602 M
Is this ok [y/d/N]:
and for 5.26.4 and also changing to /etc/yum.repos.d/neo4j.repo and per the specs defined at Red Hat, CentOS, Fedora, and Amazon Linux (.rpm) - Operations Manual and such that the baseurl is defined as baseurl=https://yum.neo4j.com/stable/5
yum install neo4j-5.26.4
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
neo4j | 3.0 kB 00:00:00
neo4j/primary_db | 44 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package neo4j.noarch 0:5.26.3-1 will be installed
^C[root@localhost ~]# yum install neo4j-5.26.4
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package neo4j.noarch 0:5.26.4-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================
Installing:
neo4j noarch 5.26.4-1 neo4j 150 M
Transaction Summary
=================================================================================================================================
Install 1 Package
Total download size: 150 M
Installed size: 161 M
Is this ok [y/d/N]:
and so.. as @jenny.owen suggest this is probably a failure on your end due to a misconfigured /etc/yum.repos.d/neo4j.repo
Thanks for the help! It was indeed an issue with the repo. I used Azure's ARM template that only goes up to version 5 so the version 5 repo was installed.
I followed the steps you suggested (had to uninstall java 17 too!) but everything works as expected. Thank you for your help!