SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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".
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.
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
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!!!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.