Hi! I wanted to share a step by step guide which helped me to work around this issue, so others can solve this problem quickly:
Download two files (there is a link to the downloadable files in the following two links):
• Ubuntu – Package Download Selection -- libtinfo5_6.4-2ubuntu0.1_amd64.deb
• Ubuntu – Package Download Selection -- libncurses5_6.4-2ubuntu0.1_amd64.deb
Open the terminal:
sudo nano /etc/apt/sources.list
add at the last line (quit the letter s, only http):
deb https://security.ubuntu.com/ubuntu/ lunar-security main universe
write the command : ctrl + o (save the changes)
write the command: ctrl + x (exit)
cp to your downloaded files
sudo apt-get install ./<libtinfo5* filename you just downloaded>
sudo apt-get install ./<libncurses5* filename you just downloaded>
Finally you can install local WP.
This solution is a combination of following two posts:
- I can not install LocalWP into Ubuntu 23.10 because comes back with "Error : Dependency is not satisfiable libncurses5" - #4 by Miro
- I can not install LocalWP into Ubuntu 23.10 because comes back with "Error : Dependency is not satisfiable libncurses5" - #5 by Cyborg42
The solution of the second post did not work for me. Therefore, I decided to write a new step by step guide. Since this is the only thread which is still open for this issue, I thought I can share it here.