I am attempting to uninstall a package within a script, but the package provides an ncurses-based reconfiguration menu