LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-24-2007, 06:38 AM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
corrupt bin package upgrade


During swaret upgrade the bin package got corrupted and i cant restore it from the cd because i cannot log in either as a user or root


Someone could suggest a solution for my problem because reinstall Slackware for sich a sniky error
 
Old 03-24-2007, 07:04 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
Start from Slackware CD. Create mount points for your partitions in /mnt and mount them. Your CD should be mounted at /cdrom already. Then use "installpkg -root /mnt /cdrom/slackware/a/bin-11.0-i486-3.tgz" to restore the original Slack 11.0 bin package.
 
Old 03-24-2007, 07:59 AM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
Hi

I mounted my cdrom under /usr and my root partition under /mnt

i tried the command you suggested as usual i installed the package but still couldnt login
and same error prompts

any other suggestion ?
 
Old 03-24-2007, 09:20 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Perhaps you need to re-install coreutils also.

Regards
 
Old 03-24-2007, 09:50 AM   #5
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
Hi Bathony

I did re-install the coreutils but im still getting the same error

Code:
/bin/sh:/lib/tls/libc.so.6:version'GLIBC_2.4'not found (required by /bin/sh)
what i do after loading the cd 1 is:

mount /dev/hda1 /mnt root partition
mount /dev/hdb /usr cdrom

installpkg -root /mnt /usr/slackware/l/*.tgz


additionally i reinstalled glibc 2.4 the one coming with slackware 11 since the error message points me there.

regards
 
Old 03-24-2007, 10:00 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
version 'GLIBC_2.4' not found required by /bin/sh
Then you should downgrade bash in order to be able to login again. Then install first the required libraries (glib and glibc) and then the programs that are compiled against these libraries (binutils, bash, etc)
I think that you need to create a new mountpoint to mount your root partition and not use /usr and/or /mnt that already exist.

Last edited by bathory; 03-24-2007 at 10:04 AM.
 
Old 03-24-2007, 04:36 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
As the Slackware install CD tells you, do not directly mount any file systems under any of the existing directories from the boot CD (I.E. /mnt), create new directories under /mnt to mount your devices.
 
Old 03-26-2007, 10:59 AM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
This is what happens when you use unsupported third party automatic dependency resolution tools without understanding their limitations. You have failed to upgrade the glibc-solibs package before upgrading essential system binaries, and since the new binaries that you've installed need the new C library, you have a non-functional system. In the future, be sure to read the CHANGES_AND_HINTS.TXT and UPGRADE.TXT files and do a bit of pre-upgrade research of the forums - you could have saved yourself all this trouble.

In the meantime, there are at least three other recent threads with information on how to recover from this error.

RW
 
  


Reply



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
I need help in bin and rpm package voodoo_tux Linux - Software 1 09-02-2006 07:39 PM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
how to get around a corrupt package bosewicht Arch 2 05-29-2004 06:37 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
Corrupt/extra letters + recent severe slowdown in RH8.0 CLI after upgrade from 7.2 sobRegReqd Linux - Distributions 0 12-16-2002 11:58 PM

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

All times are GMT -5. The time now is 03:41 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