LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2007, 11:47 AM   #1
jchambers
Member
 
Registered: Aug 2007
Location: California
Distribution: Debian
Posts: 127

Rep: Reputation: 15
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
 
Old 11-10-2007, 11:54 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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
What does that command output?
 
Old 11-10-2007, 12:02 PM   #3
jchambers
Member
 
Registered: Aug 2007
Location: California
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
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.
 
Old 11-10-2007, 12:14 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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.
 
Old 11-10-2007, 12:30 PM   #5
jchambers
Member
 
Registered: Aug 2007
Location: California
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
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.
 
Old 11-11-2007, 06:32 AM   #6
beanerjo
Member
 
Registered: Aug 2004
Location: New Zealand
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
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:
#!/bin/sh
ls
(ii) chmod +x /usr/local/bin/aaa, (iii) run aaa, (iv) rm /usr/local/bin/aaa, (v) run aaa again. See if you get the same error message. There should be a simple command to clear this "cache" but I don't know what it is.
 
Old 11-11-2007, 08:21 PM   #7
jchambers
Member
 
Registered: Aug 2007
Location: California
Distribution: Debian
Posts: 127

Original Poster
Rep: Reputation: 15
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..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
IP alias? Machine name alias? JohnLocke Linux - Newbie 4 01-16-2008 12:21 PM
File that doesn't want itself to be removed (if it even exists?) b0uncer Other *NIX 3 10-24-2007 02:42 PM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration