LinuxQuestions.org
Visit the LQ Articles and Editorials 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 03-06-2006, 03:44 PM   #1
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Rep: Reputation: 30
major issues with glibc


Hi all,

Due to issues with amarok I removed glibc to install an older version. Half-way through, the removal failed, and subsequently any attempts to launch new processes failed too.

Thus booting is impossible (it hangs halfway), and the system is simply unable to launch anything (ls doesn't work, /bin/bash doesn't work etc...). I am posting this from Slax (thank god for that), and I ran e2fsck, didn't change anything.

How can I rectify the glibc problems? Is there a way to install the slackware packages under slax using pkgtool? For future reference, is updating/reverting versions of glibc a very tricky process?
 
Old 03-06-2006, 03:59 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
YOU NEVER REMOVE glibc.

You upgrade or downgrade it but never remove it.

Glibc is the most important library in you system.
Everything besides the kernel uses it. Bash too
You may fix this by booting from the CD and then mounting your root filesystem and installing it.

Downgrading is also not recommended. If you have packages compiled against the newer version of glibc they might not work with the older one.

I found a really old thread with the same problem with yours:
http://www.linuxquestions.org/questi...ighlight=glibc

I wasn't even using slackware when the thread was written

Last edited by perfect_circle; 03-06-2006 at 04:03 PM.
 
Old 03-06-2006, 04:49 PM   #3
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
So maybe if you could guide me through this a little -
boot up in slax
mount hda2 (root)
then: I assume pkgtool will, by default, want to install things on the slax root drive, so do I do a chroot?
how does that work?

Many thanks!
 
Old 03-06-2006, 06:36 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,514

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
i had a problem with Amarok also, but i don't think it was caused by glibc. I'd rather wait for the next Amarok version (1.4 i believe, which is now on Beta 2 status)
 
Old 03-06-2006, 08:32 PM   #5
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
What are your problems with amaroK? For me, after I updated something (it was part of an update for lots of packages), amaroK started crashing sporadically after about every 1 or 2 songs.
 
Old 03-06-2006, 08:47 PM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
boot from the first slackware cd (you don't need slax)
then mount the root filesystem somewhere:
Code:
mkdir /slackware
mount /dev/hda2 /slackware
do a chroot:
Code:
chroot /slackware
and find the package with the latest glibc
and do
Code:
installpkg glibc-*.tgz
 
Old 03-06-2006, 08:47 PM   #7
drumz
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 188

Rep: Reputation: 33
From the man pages:

Code:
installpkg -root /otherroot whatever.tgz
First you might want to run

Code:
ROOT=/otherroot removepkg glibc
to make sure it installs clean.
 
Old 03-06-2006, 10:41 PM   #8
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
Thanks guys, your tips did the trick. I wish that it was made more clear that removing these packages is a bad idea - like at least give a little warning.

I also learned that slackware's packaging system is indeed quite versatile, as are its install cds. I am impressed, and evermore glad that I'm running Slackware

Thanks again! And yeah, I guess I'll just wait out on Amarok.
 
Old 03-07-2006, 11:36 AM   #9
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
Originally Posted by Atmchicago
Thanks guys, your tips did the trick. I wish that it was made more clear that removing these packages is a bad idea - like at least give a little warning.
This is the price you have to pay for simplicity

I did the same thing (removed glibc) 3 years ago in RH 8.
When I tried to remove glibc I was warned that it was needed by many packages but I forced the removal.

The problems I had were a lot bigger than yours because it also corrupted the rpm database and I had to rebuild it.

Anyway I prefer the fact that the slackware package management system does not check for dependencies. RPM dependencies is hell.
 
Old 03-07-2006, 06:33 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,514

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
Originally Posted by Atmchicago
What are your problems with amaroK? For me, after I updated something (it was part of an update for lots of packages), amaroK started crashing sporadically after about every 1 or 2 songs.
yup, same problem as i had in my Slackware. Mine is worse. It always crash everytime it changes to next song or when i tried to skip to next song.
 
  


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
Major APF issues =( Label2021 Linux - Software 1 11-13-2005 09:43 PM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM
Major sound issues...I killed it! docGonzo2000 Slackware 6 05-20-2003 05:16 AM
Major Flash Issues Annex Linux - Software 3 05-01-2002 10:05 PM
HELP!!!! Major issues jsut came up! Stephanie Linux - General 6 09-02-2001 03:15 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
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