You should enable edge repo, https://openlitespeed.org/kb/upgrade-ols-to-edge-tier/.
How did you install 1.6.5 before? you should not mix the installation method, for example, if you install OLS 1.6.5 through the binary install, you should not change to repo install. If you install OLS...