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.
OK, I just awarded myself the DAOTY award (dumb ass of the year). I decided to give the new PAM packages a try and reading the /testing/packages/PAM I installed all of the packages and then I read down to where binutils, glibc stuff were removed. Well, you guessed it - there has to be one in every crowd - I removed them. Feel free to rain a shower of rotten cabbages down upon my sorry soul. Of course the results are predictable.
I have booted Knoppix-8.6 and chrooted to the machine. I have a current copy of all files from Slackware64-current on my disk but the question is how to install the missing packages that I had previously deleted. There is no installpkg available obviously. Should I boot an installer DVD and then just install the required five packages? Any other way??? My brain is fried at the moment due to a frantic afternoon of trying to get my sorry carcass out of this. Ideas please.
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Rep:
I think you can fix it booting fom DVD install.
Mount the partition in /mnt and run installpkg --root /mnt <package>,
this will change the root partition from / to /mnt.
You must mount the dvd as well (/dev/sr0 ?) and install the missing packages.
Happy to report all is well again and I'm back on my Slackware box with PAM and Eric's Plasma 5 modified for PAM. I booted Eric's latest -current installer, installed the missing bits and everything was go after that. Thank you upnort.
Yup, everyone makes mistakes like this at least once. Hopefully you learned from it and only make it once (but there's been a few dumb mistakes I've more than once).
You're not alone, I've been using Slackware for 20 years now, but if they gave awards for borking your Slackware system, I would of made the Hall of Fame the first year.
I have 5 Slackware systems (plus my 1st-gen RPi runs OSMC for my HTPC setup). Once or twice a year, I manage to bork one of them... and it's usually my primary network server, which takes down the entire network.
Nowadays, my first thought isn't, "Oh no! What do I do now?". It's, "Ah, here we go again..."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.