Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-02-2006, 09:02 AM
|
#1
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep: 
|
Swaret upgrade from 10.0 to current broke glibc - unable to login
I thought I would try out how a Swaret upgrade would proceed on a stock 10.0 to Current. Unfortunately it seems to have messed up the glibc thing.
Is there any way to recover this? I get the login prompt, but it's broken and I cannot get a shell since glibc seems to point to the wrong version.
Is there a way to solve this? I have access to the Slackware partition from within Debian...
Note: I am aware that Swaret is not the ideal package tool, but still I didn't expect that it would break the system this much and thought I could do all the reconfiguring manually after a reboot.
|
|
|
04-02-2006, 09:36 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Two ideas:
1) Boot Slackware 10, chroot into your Slackware partition, removepkg new glibc and installpkg old glibc. If you cannot do this due to errors, you can run setup and select only glibc from base system (a) to install. If it still doesn't work, install all the base system.
2) Get the new package of glibc into debian partition, explode/extract it, look at doinst.sh script and remove created entries manually. Then boot and install old package of glibc.
|
|
|
04-02-2006, 09:58 AM
|
#3
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep: 
|
You mean boot with the Slackware 10.0 Cd? I'll give that a try although I've never really used chroot before (except when installing gentoo from debian).
|
|
|
04-02-2006, 10:18 AM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Yes, sorry for confusing.
|
|
|
04-02-2006, 02:37 PM
|
#5
|
Member
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42
Rep:
|
If you did a "swaret --upgrade" and selected all packages, your problem is easy to solve. Just boot with the slackware cd and login as root.
mount your slack-partition for example to /slack.
change to /slack/var/swaret.
update all packages by typing: ROOT=/slack upgradepkg --reinstall *.tgz
this solved it for me, good luck.
|
|
|
04-02-2006, 09:45 PM
|
#6
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep: 
|
Thanks for the suggestion. Actually, chroot didn't work also. I'll try your suggestion.
Again, thanks a lot. I'll try this.
|
|
|
04-03-2006, 12:30 AM
|
#7
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep: 
|
I managed to now boot into Slackware after running the upgradepkg --reinstall *.tgz with all the packages.
Apart from a few dependencies (which I resolved using swaret) there is nothing wrong. Except that ALSA is not working.
Anyway, since I'm going for a 2.6 kernel, I guess it'll be resolved once I do the kernel upgrade.
|
|
|
All times are GMT -5. The time now is 05:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|