I was trying to create my own program in the /usr/local/bin.
During the process I messed something up and now anytime I press enter or type anything in the command line, I get this stupid message....!
The program 'sed' is currently not installed. You can install it by typing
How can I get rid of "sed" or whatever it is.
What I have discovered thus far about 'sed', it is SED Stream Editor which manipulates text. I used to use it within my .bashrc for git parsing and coloring of text. I now disabled the git parsing function within my .bashrc.
How can I get 'sed' installed again?
I ran apt-get install sed
... It tells me sed is already the newest version. SED is now causing me more issues. My git commands are breaking and even my apt-get remove and updates sometimes breaks as well.
This is another example of what SED is causing me since SED is not found
/etc/grub.d/00_header: 1: /etc/grub.d/00_header: sed: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-ex....
Which sed
When I run which sed
... It comes out completely blank, it doesn't output something like this /usr/bin/sed
.
Here is my current PATH=.., which I pulled from /ect/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
bashrc
file?sed
is from thesed
package. Reinstall it:sudo apt-get install sed
. Though I don't know what insanity led tosed
being removed.