LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-15-2012, 08:04 PM   #1
sungchoiok
Member
 
Registered: Oct 2010
Posts: 30

Rep: Reputation: 1
uh... accidentally uninstalled "sed"


I uninstalled sed. Please don't ask me how.


Well, and when I tried to install it again, I found out that sed requires sed to install. (in the ./configure)

I have Slackware and Slackware packages don't work because installpkg command uses sed also.


What should I do........ ugh.

thanks for any answers.
 
Old 02-15-2012, 08:20 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
How did you uninstall sed ??

Simple fix:
extract the sed package in a directory and copy sed binary to /bin, then reinstall sed

Or longer:
Boot into slackware dvd, mount your hd in /mnt/tmp and installpkg --root /mnt/tmp sed-xxx
 
1 members found this post helpful.
Old 02-15-2012, 08:42 PM   #3
sungchoiok
Member
 
Registered: Oct 2010
Posts: 30

Original Poster
Rep: Reputation: 1
oh wow... thanks for the reply.

Sad thing is, I technically could've thought of the solution by myself. I guess I was panicking.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
accidentally moved entire linux root "/ " file system to another directory bks2010 Linux - Newbie 8 09-19-2010 06:07 AM
sed - use sed to replace multiple instances from "x" to "y" in a line mrodmac Linux - General 4 02-02-2010 12:37 PM
uninstalled gnome... and now INIT: id "x" respawning too fast jonaskellens Fedora 2 09-15-2008 02:22 AM
uninstalled "dpkg" used --force-remove-essential how to reinstall deepclutch Debian 6 12-29-2006 01:09 PM
Replacing "function(x)" with "x" using sed/awk/smth Griffon26 Linux - General 3 11-22-2006 11:47 AM


All times are GMT -5. The time now is 12:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration