自从我安装并删除了 Krusader 后,使用 sudo apt-get 后在终端中收到此消息(无法找到“可执行文件”。)。我正在使用带有 Unity 的 Ubuntu 12.10。
$ sudo apt-get remove gstm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED: gstm
0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.
After this operation, 265 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 168039 files and directories currently installed.)
Removing gstm ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
$ Could not find '' executable.
$路径:
echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
答案1
经过一番研究,我在 kdelibs-bin 包中找到了该字符串。尝试将其删除:
sudo apt-get remove kdelibs-bin
请注意,如果您安装了其他 KDE 包,则此解决方案不适合您,因为 kdelibs-bin 可能是这些包的依赖项。
此后,终止所有 kdeinit4 实例(即给出错误的程序):
killall kdeinit4