LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-27-2002, 11:24 AM   #1
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Thumbs down F...ed up big time


I was just sshing into my linux box at home and I did the stupidiest thing, I installed libsafe with sudo using /sbin/installpkg, obviously I wanted to upgrade one, but instead of upgrading I did install, during the install phase it removes libsafe, after which point no cp, rm, mv work, nothing gets copied (they relie on the this shared library), and I cannot login anymore. Damn, I just hope I'd be able to do anything at home, except booting into single user mode (it is password protected, so I guess no dice there either) and Linus, RMS forebid re-install; I made a big time mistake, now let me think how to correct it since file-utils are dumped without the library, and library needs to be copied which requires file-utils - vicious circles.
Am I exaggerating or am I in a real problem here?
Any comments?

P.S. A little update, since I am still logged on home I'd be able to use a text editor to edit inittab not to prompt for the root's password. But I am a little confused how it might help me, well as the last resort I'd go for rescue mode. A little over my head. Well, we'll see what happens.
P.S#2 Is there rescue mode on slackware8.1? I doubt it. Is there?

Last edited by neo77777; 11-27-2002 at 11:50 AM.
 
Old 11-27-2002, 03:33 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well yeah, rescue just mounts you hd at a mount point, which is where it is during the install. SO you just boot up, act like you are gonna install, then exit. Now it's mounted somewhere, if not, mount it and go.

Oh, and the cyclic dependencies thing really sucks, but I think it'll be a little easier than it sounds. It's not like you need bash to install bash, and if you installpkg it or something similar I think it'll just "work".

Worth a try anyway...

Cool
 
Old 11-30-2002, 06:09 PM   #3
Cyclops
Member
 
Registered: Jul 2002
Location: Earth
Distribution: Slack 9.1
Posts: 70

Rep: Reputation: 15
Bummer...

Hope you get it fixed without too much trouble. I started cloning my partitions a few months ago so that when I goof up bigtime, it's reallly easy to restore the previous image. It's saved my butt countless times already, and it only takes about 4 to 6 minutes to complete the operation.

Good luck with it...
 
Old 11-30-2002, 06:41 PM   #4
LNXman
Member
 
Registered: Jul 2002
Location: California (USA)
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
The whole install C.D. can be considered a rescue disk as long as you pick the right kernel.

WRT to you mishap, you can use the rescue disk to boot, then mount your O.S.'s partition(s) from the H.D., then use the explodepkg to install the package manually. The process is pretty simple: (1)cd to the mount point where you mounted your WHOLE O.S. (according to your O.S.'s fstab), explode the package (make sure you run the "doinst.sh" script that comes along with the package you just exploded), and that should be it . . . reboot!

NOTE: The doinst.sh script is found under a directory called install, but when run it, you have to do it from the mount point where you manually mounted your O.S. from the H.D. and not from inside the install directory. So, for example, if you mounted your whole O.S. under /mnt (<- this should include your O.S.'s /, and others && should be your current location), you would run the script sh install/doinst.sh

GL
 
Old 12-01-2002, 01:11 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Original Poster
Rep: Reputation: 55
Yoohooo, problem's solved!!!
Thanks to mindi and mondo, I had a backup of bare bones made a couple of weeks ago, and I just remembered it yesterday, now I am running sweet 2.4.20 on my system, yay!!!
 
Old 12-01-2002, 02:48 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
SWEET!! Gotta love it when things like that happen; it's like putting on a coat from last winter and pulling a 20 or 50 outta the pocket

Right on Boris,

Cool
 
Old 12-01-2002, 03:23 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Original Poster
Rep: Reputation: 55
Yep exactly, I was so despate I even forgot I had a backup (even though it was a bit outdated, I got on my feet after a couple of minutes).
Thanks guys.
 
  


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
X86-64 problems, BIG TIME. mickeyboa Fedora 4 11-27-2005 03:17 PM
i screwed up big time (aka help!) poiuytrewq Linux - Software 4 11-10-2004 02:38 PM
Memory Loss--Big Time cabinetcrafter Mandriva 0 04-21-2004 07:07 PM
I need help big time mscareall Linux - General 3 03-25-2002 08:30 PM
big BIG javascript & loading time luigi Programming 3 09-10-2001 04:53 AM


All times are GMT -5. The time now is 05:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration