所以我正在运行Debian测试,我安装了command-not-found包,因为我非常喜欢Ubuntu中的这个功能。所以我安装了它,当我重新启动我的终端时,它说我需要更新可用包的缓存。所以我就这么做了。我尝试了以下命令:
sudo update-command-not-found
sudo /usr/sbin/command-not-found
su and update-command-not-found
su and /usr/sbin/update-command-not-found但它只是离开而什么也不做。没有输出。只是什么都没有。我试了一下,它说我需要再次更新缓存。
发布于 2017-02-07 16:49:22
先尝试一个sudo apt update或类似的,即使它应该是最新的。
帮了我的忙。
https://unix.stackexchange.com/questions/307365
复制相似问题