Avrdude error while updating the firmware

Hi everyone!

I have the grovepi+ and the grovepi install was fine but when i tried to update the firmware with ./firmware_update.sh i have libraries error :

avrdude: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
avrdude: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
avrdude: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
avrdude: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

I see this is because the libcurses.so.5 is now on 6 version, but i don’t know how to solve the error.

Maybe someone can help me? thanks