LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2008, 06:14 PM   #1
simonpcfrost
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Red face Renamed /lib (following advice in a BB) and now nothing works


This is making me crazy (not to mention, look terrible). Following in structions in a BB thread, trying to fix an original problem with system-config-xxxx commands not working, I renamed /lib to /lib~. Now nothing works. Even the mv command to rename the folder back as it should be is broken.

How can I dig myself out of this hole without reinstalling?

-sf
 
Old 02-26-2008, 06:34 PM   #2
vertigo88x
Member
 
Registered: Dec 2006
Location: Perth Amboy, NJ, USA
Distribution: Fedora 9
Posts: 87

Rep: Reputation: 15
that shouldn't happen, what error do you get when you run 'mv'?
 
Old 02-26-2008, 06:39 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,855

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
Quote:
Originally Posted by simonpcfrost View Post
This is making me crazy (not to mention, look terrible). Following in structions in a BB thread, trying to fix an original problem with system-config-xxxx commands not working, I renamed /lib to /lib~. Now nothing works. Even the mv command to rename the folder back as it should be is broken.

How can I dig myself out of this hole without reinstalling?

-sf
Boot a rescue CD and rename /lib~ back to /lib.

------------------
Steve Stites
 
Old 02-26-2008, 06:40 PM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
boot up a livecd and fix it, next time don't rename any of the top level directories
 
Old 02-27-2008, 11:33 AM   #5
simonpcfrost
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy Renamed /lib (following advice in a BB) and now nothing works

Thanks for all the help, guys. I was having a stupid time trying to get the RAID drivers to work on a boot CD, so I gave up. Fortunately there was a recent content backup, so I was forced to rebuild and restore.

Lesson learned!
 
Old 02-27-2008, 11:44 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
Indeed, a live CD is the best solution.

BTW, where is this post you speak of, I want to see it. The advice you followed is quite dangerous, you should NEVER rename any top-level directory, EVER. There can be no justification for doing this, basically it is madness to do this, unless you (not specifically 'you') want to break stuff on purpose.
 
  


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
[SOLVED] No _sqlite3.so in /usr/lib/python2.5/lib-dynload rshepard Slackware 3 11-12-2007 02:59 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM
Problems renamed after copy!! trlhoyos Red Hat 0 09-17-2004 02:54 PM
Is /etc/X11/XF86Config renamed satimis Fedora 2 08-16-2004 11:04 PM
Everything works fine but video..Pls Advice Crash Venom Linux - Newbie 7 07-17-2002 03:49 AM


All times are GMT -5. The time now is 04:49 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