LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-02-2006, 09:02 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.
 
Old 04-02-2006, 09:36 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-02-2006, 09:58 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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).
 
Old 04-02-2006, 10:18 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Yes, sorry for confusing.
 
Old 04-02-2006, 02:37 PM   #5
intens
Member
 
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
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.
 
Old 04-02-2006, 09:45 PM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Thanks for the suggestion. Actually, chroot didn't work also. I'll try your suggestion.

Again, thanks a lot. I'll try this.
 
Old 04-03-2006, 12:30 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.
 
  


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
Swaret: --current upgrade broke some programs deadlikeoscar Slackware 30 05-16-2006 09:35 AM
upgrade to current without using swaret?!! oldi Slackware 3 05-03-2004 05:50 PM
Upgrade of Slack Gnome to current via swaret justaguynsrq Slackware 8 04-07-2004 06:38 AM
swaret upgrade from 8.0 to current. carboncopy Slackware 14 04-05-2004 11:05 AM
Slack 9.0- upgrade to 9.1 or just Swaret to Current? Frank_Drebin Slackware 1 03-11-2004 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:05 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
Open Source Consulting | Domain Registration