Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I get this message (Could not find '' executable.) in terminal after using sudo apt-get since I installed and removed Krusader. I'm using Ubuntu 12.10 with Unity.

$ 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.

$PATH:

echo $PATH 
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin‌​:/bin:/usr/games:/usr/local/games
share|improve this question
1  
Please, could you paste the exact command you are typing and the exact output you are given? Also, could you paste the output of echo $PATH? Thanks! –  Andrea Corbellini Dec 26 '12 at 10:26
    
echo $PATH /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin‌​:/bin:/usr/games:/usr/local/games –  d3relict Dec 26 '12 at 10:33
    
the "funny" part is, that the "Could not find" line gets there after the progress, the cursor stops to blink for a second, and after that the line is printed to the terminal. this occured a lot of times while autoremoving kde packages after the uninstallation of krusader and kde-runtime. –  d3relict Dec 26 '12 at 10:37
    
@d3relict The information you've provided in comments should go in your question itself, as it's very hard to read in comments. (Some of it has been edited into your question...but it appears that some of it has not.) –  Eliah Kagan Dec 26 '12 at 11:13
    
sorry, I did not realize I can edit my question. thanks! –  d3relict Dec 26 '12 at 11:39

1 Answer 1

up vote 1 down vote accepted

Doing some research, I found that string in the kdelibs-bin package. Try removing it:

sudo apt-get remove kdelibs-bin

Note that, if you have other KDE packages installed, this solution is not for you, because kdelibs-bin might be a dependency of these packages.

After that, kill all kdeinit4 instances (that is the program that gives you the error):

killall kdeinit4
share|improve this answer
    
I tried, but this package is not installed. However, the problem seems to have sorted out itself, after closing that terminal (and logging out) I receive no more of the above mentioned error. It was curious that before logging out, I received "Could not find '' executable." even after a simple "ls" command, not just after apt-get. –  d3relict Dec 26 '12 at 11:45
    
Here's an explanation: kdelibs-bin ships a program, kdeinit4, which runs in background. When removing kdelibs-bin, kdeinit4 was not stopped. It was stopped on log out. –  Andrea Corbellini Dec 26 '12 at 16:26
    
This is very useful information, thanks! –  d3relict Dec 26 '12 at 20:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.