問題描述:
在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這個選項。在解決問題時,這種煩躁的心態要不得,否則即使能想到解決方式也會擦肩而過。