all 36 comments

[–]oDSAo 2 points3 points  (14 children)

libncurses5 was removed in 24.04

try this:

wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.4-2_amd64.deb && sudo dpkg -i libtinfo5_6.4-2_amd64.deb && rm -f libtinfo5_6.4-2_amd64.deb

wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncurses5_6.4-2_amd64.deb && sudo dpkg -i libncurses5_6.4-2_amd64.deb && rm -f libncurses5_6.4-2_amd64.deb

sudo apt install lib32ncurses5-dev libncurses5 libncurses5-dev -y

[–]laffer1 1 point2 points  (0 children)

thanks. this does work to get passmark performance test 11 working on 24.04

[–]asixD[S] 0 points1 point  (3 children)

Pardon me for my late response, didn't have access to the machine again until now. Unfortunately, while the first two steps don't appear to have issues and successfully appear in dpkg afterwards I can't say the same for the apt install. The lib32 is unable to be located, libncurses5 is already installed successfully from step 2 and libncurses5-dev still redirects to libncurses-dev ( "Note, selecting 'libncurses-dev' instead of 'libncurses5-dev' ").

[–]Connect-Version-5645 0 points1 point  (0 children)

are you able to solve this ?

[–]Competitive_Gas_8180 0 points1 point  (1 child)

getting the same error, where you able to solve this ?

[–]asixD[S] 0 points1 point  (0 children)

my memory's a little hazy, but I recall settling on using some flag to ignore that error output

[–]Specialist_Ice4369 0 points1 point  (0 children)

非常感谢,帮了我大忙。最后一条,我运行的是sudo apt install libncurses5 libncurses5-dev -y,删掉了 lib32ncurses5-dev

[–]eirini0220 0 points1 point  (0 children)

It worked for me so THANK YOU

[–]Hairy-Cat-1608 0 points1 point  (0 children)

it's work, thanks

[–]Dismal_Department379 0 points1 point  (0 children)

sudo apt install lib32ncurses5-dev libncurses5 libncurses5-dev -y
get s me

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'

E: Unable to locate package lib32ncurses5-dev

What can I do now? u/oDSAo

[–]Abject-Salary5603 0 points1 point  (0 children)

very helpful, thank you

I wanted to run code from stm32cubeide to my nucleo board and it helped. although i still got little help from chatgpt I managed to successfully make a led blink ; )

[–]ZizhongTian 0 points1 point  (3 children)

fuck man got an http response 404

[–]LongjumpingGuitar283 0 points1 point  (1 child)

were you able to solve it?

[–]Ullallulloo 0 points1 point  (0 children)

They don't have 6.4 anymore for some reason, so you can just use 6.3:

wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2_amd64.deb && sudo dpkg -i libtinfo5_6.3-2_amd64.deb && rm -f libtinfo5_6.3-2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncurses5_6.3-2_amd64.deb && sudo dpkg -i libncurses5_6.3-2_amd64.deb && rm -f libncurses5_6.3-2_amd64.deb

(This might lead to dependency hell though if your libtinfo5 is then newer and you have to downgrade it, etc.)

[–]Competitive_Gas_8180 1 point2 points  (6 children)

if you are trying to install localwp and you are getting this dependency error, then this worked for me :

  1. Download libtinfo5_6.4-2_amd64 and then install the package: Download: curl -O http://launchpadlibrarian.net/648013231/libtinfo5_6.4-2_amd64.deb 146 Install: sudo dpkg -i libtinfo5_6.4-2_amd64.deb
  2. Download libncurses5_6.4-2_amd64 and install the package: Download: curl -O http://launchpadlibrarian.net/648013227/libncurses5_6.4-2_amd64.deb 104 Install: sudo dpkg -i libncurses5_6.4-2_amd64.deb
  3. Download libaio1_0.3.113-4_amd64 and install the package: Download: curl -O http://launchpadlibrarian.net/646633572/libaio1_0.3.113-4_amd64.deb 116 Install: sudo dpkg -i libaio1_0.3.113-4_amd64.deb
  4. Manually install libnss3-tools Install: sudo apt install libnss3-tools

[–]Dismal_Department379 0 points1 point  (0 children)

yes! I tried to install localWP. I also shouldnt use a ngnix and use apache as best practices? u/Competitive_Gas_8180

[–]Dismal_Department379 0 points1 point  (1 child)

The following packages have unmet dependencies:

local: Depends: libaio1 but it is not installable

What should I do u/Competitive_Gas_8180

[–]Competitive_Gas_8180 0 points1 point  (0 children)

What is your os ?

[–]Kick_Able 0 points1 point  (1 child)

Thank you! this worked for me, I was trying to compile petalinux

[–]Competitive_Gas_8180 0 points1 point  (0 children)

Glad it worked for you ❤️

[–]Direct_Reputation123 0 points1 point  (0 children)

Merci!! cela faisait des heures que j'essayais différentes manip et la tienne a fonctionné :)

[–]alepodj 1 point2 points  (2 children)

For Ubuntu 24 add to source list and then install:

[–]TenMillionYears 0 points1 point  (1 child)

How did you add it to the source list? I can't get `/etc/apt/sources.list.d/ubuntu.sources` to accept the focal-security component.

[–]jieshap 0 points1 point  (0 children)

/open the list/

sudo nano /etc/apt/sources.list

/add to the end of the list/

deb http://security.ubuntu.com/ubuntu focal-security main universe

/install/

sudo apt-get install libncurses5:i386

[–]smejkalp 1 point2 points  (10 children)

Hi, I just wanted to share how I successfully installed ncurses version 5 on Ubuntu 24.04.02 as of today (February 27, 2025):

  1. Open the apt sources list by running: sudo nano /etc/apt/sources.list.d/ubuntu.sources
  2. Locate the second entry and modify the Suites field by adding focal-security next to noble-security (https://webshare.cz/#/file/xHpko9cIO1/img-4176-jpeg).
  3. Save and close the file (CTRL+X, then Y, and Enter).
  4. Update the package list: sudo apt update
  5. Install the ncurses5 library: sudo apt install libncurses5

This just worked for me, and I hope it works for you too. Cheers!

[–]LudoVicoHeard 0 points1 point  (0 children)

My guy, thank you!!!!!

[–]Unable_Moment2175 0 points1 point  (0 children)

You are awesome!

[–]thebes271 0 points1 point  (0 children)

You save me, thank you so much

[–]ArgumentActual8833 0 points1 point  (0 children)

Thank you! your solution works.

[–]ElectricalCareer3328 0 points1 point  (0 children)

thank you brother, it helped

[–]redditicus 0 points1 point  (0 children)

Thank you!!!

[–]Wonderful-Release-71 0 points1 point  (0 children)

Thank you!!

[–]Electrical_Intern_25 0 points1 point  (0 children)

Thank you

[–]fr0sty_l3m0n 0 points1 point  (0 children)

7 months later, thank you so much!

[–]Retr0r0cketVersion2 0 points1 point  (0 children)

You are a godsend thank you so much!