Alias exists from removed app
Hello --
I am trying to get rid of the alias. I did: apt-get remove ffmpeg dpkg -r ffmpeg dpkg --purge ffmpep But I still get: # ffmpeg -bash: /usr/local/bin/ffmpeg: No such file or directory I tried to find it with grep but I was not successful. Is there a way to remove this? Thank you |
Start a new shell and see if you get the same thing there. If you do, verify if "ffmpeg" is an alias (do this in the newly-started shell):
Code:
type ffmpeg |
It's gone.
I did not know that... so is caches it for that session? One more question... So I installed ffmpeg from source at first then removed it and used apt-get. Would that cached alias/path corrupt an isntall that used ffmpeg? Because I kept getting errors. I am going to reboot and try again. Thank you for the help. |
AFAIK it shouldn't cause a problem with the package manager. I've never heard of anything like that, and I don't think it is the case. I think you must have encountered some other problem.
|
Ok thank you.
I have tried so many variations that I may have done some damage at this point... going to reinstall and try that. |
Perhaps you ran ffmpeg on the terminal you removed ffmpeg. That terminal still remembers ffmpeg. If you open a new terminal, it will be gone. You can try this: (i) create /usr/local/bin/aaa which contains
Quote:
|
It was cached..?
I opened a new ssh session and it was gone. Anyway thank you for the tips. I had corrupted my system with too many experiments and had to reinstall. I guess if it's painful you remember not to do that again.. ;) |
All times are GMT -5. The time now is 02:52 PM. |