2015-08-05 20:02:05
来 源
中存储网
Ubuntu
问题描述: 在terminal中输入clear后,提示: The program clear is currently not installed. You can install it by typing: sudo apt-get install ncurses-bin 按提示输入sudo apt-get install ncurses-bin后,系统却提示: ncurses-bin is already the n

问题描述:

在terminal中输入clear后,提示:

The program 'clear' is currently not installed.  You can install it

by typing:

sudo apt-get install ncurses-bin

按提示输入sudo apt-get install ncurses-bin后,系统却提示:

ncurses-bin is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

我查找了/usr/bin,里面的确没有clear,而libncurses5, libncurses5-dev,

libncursesw5都是安装了的。

解决方法:

sudo apt-get --reinstall install ncurses-bin

后记:

其实当时我想到了用reinstall,可惜在man apt-get的时候没耐心,草草看了一遍,居然没有找到--reinstall这个选项。在解决问题时,这种烦躁的心态要不得,否则即使能想到解决方式也会擦肩而过。

声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。