@gangiman have you tried updating apt-get and upgrading the packages that provide libreadline and libncurses? i would start there first.
@gangiman have you tried updating apt-get and upgrading the packages that provide libreadline and libncurses? i would start there first.