LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 04-14-2007, 05:32 PM   #1
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Rep: Reputation: 31
Swaret update/upgrade causes errors


Tried to use Swaret to upgrade packages the other day and it got 1/4 of the way thru and started to show failure for all of the packages installed.

When I tried to run
Code:
 swaret --update
I not get the following:

Code:
root@ladytron:~# swaret --update
/bin/sh: /lib/libc.so.6: version `GLIBC_2.4' not found (required by /bin/sh)
Looks like Swaret hosed glibc?!!?
 
Old 04-14-2007, 05:38 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
yes, it did. bad luck indeed for you.
 
Old 04-14-2007, 05:41 PM   #3
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by erklaerbaer
yes, it did. bad luck indeed for you.
yeeessssss...

So what would be the best way to fix glibc, a reinstall?
 
Old 04-14-2007, 06:26 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,379

Rep: Reputation: Disabled
Quote:
Originally Posted by JockVSJock
So what would be the best way to fix glibc, a reinstall?
Read http://rlworkman.net/howtos/glibc-recovery

Eric
 
Old 04-22-2007, 09:41 AM   #5
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Alien Bob
So I followed the directions here and I'm getting this error message:

Code:
/bin/bash: /lib/libc.so.6: version 'GLIBC-2.4' not found (required by /bin/bash
From the instructions from the URL above, I though that i would be able to reinstall glibc with no problems, but still not the case.

Any ideas on how to troubleshoot?

thanks
 
Old 04-22-2007, 02:35 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,379

Rep: Reputation: Disabled
Quote:
So I followed the directions here and I'm getting this error message:

Code:

/bin/bash: /lib/libc.so.6: version 'GLIBC-2.4' not found (required by /bin/bash
So, what program gives you this error? Swaret? Because the slackware package manager will never show this error. If that is true, the problem lies with swaret, not Slackware.

Eric
 
Old 04-22-2007, 02:53 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
By any chance are you using swaret to upgrade to -current?
 
Old 04-22-2007, 04:31 PM   #8
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by JockVSJock
Tried to use Swaret to upgrade packages the other day and it got 1/4 of the way thru and started to show failure for all of the packages installed.

...snipped...
Looks like Swaret hosed glibc?!!?
Hey JackVSJock,

As an alternative to Swaret have you considered Slackupdate?

Get it here: http://darklinux.net/slackupdate

I had some trouble with Swaret so I went back to Slackupdate
and I really like it. About glibc - couldn't you just replace the package from installation cd and then look to see if there is a newer version?

hth,

The GNUinator
 
Old 04-22-2007, 06:19 PM   #9
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Alien Bob
So, what program gives you this error? Swaret? Because the slackware package manager will never show this error. If that is true, the problem lies with swaret, not Slackware.

Eric

This error came when I booted off of the Slackware 10.2 cd and tried to install glibc from the disk following the directions from the URL above.
 
Old 04-22-2007, 06:21 PM   #10
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Hangdog42
By any chance are you using swaret to upgrade to -current?

Hmmmm....can't remember off of my head how the swaret.conf file is set up cause I can't even log into the system right now.

Thank god for Linux live disks, cause I used those to rescue my data
off of the machine (remember to back up data!!!).

Anyways, again, this is the error that I'm getting when I'm trying
to boot off of Slackware 10.2 install disk and install glibc.


thanks
 
Old 04-22-2007, 07:04 PM   #11
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Considering the significant changes to Slackware going on in -current in preparation for the next release, it may be helpful to create a locked sticky with a title like "If you are thinking of upgrading to -current using Swaret - DON'T!!". Add some clueful links and hope some people read it more intently than they seem to read the change logs.

Just a thought.

Also - some of the same people seem have been involved in threads over the past year-and-a-half regarding swaret breaking something. At what point will you folks finally decide that there's a reason this tool get such bad press.

Not to mention the fact that swaret probably did exactly what you told it to. This time around that just happens to be a very bad thing if you want a functional system.
 
Old 04-22-2007, 07:16 PM   #12
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Franklin
Considering the significant changes to Slackware going on in -current in preparation for the next release, it may be helpful to create a locked sticky with a title like "If you are thinking of upgrading to -current using Swaret - DON'T!!". Add some clueful links and hope some people read it more intently than they seem to read the change logs.
Agreed...Its no fun having my Slackware box down...



Quote:
Originally Posted by Franklin
Also - some of the same people seem have been involved in threads over the past year-and-a-half regarding swaret breaking something. At what point will you folks finally decide that there's a reason this tool get such bad press.

Not to mention the fact that swaret probably did exactly what you told it to. This time around that just happens to be a very bad thing if you want a functional system.
Well, most people probably try to use Swaret and the other automated package managers because of the interest of time...Although this is the final straw for me and I'll have to start using installpkg/upgradepkg, but I've had problems with those as well too...
 
Old 04-22-2007, 07:47 PM   #13
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Quote:
Originally Posted by JockVSJock
Well, most people probably try to use Swaret and the other automated package managers because of the interest of time...Although this is the final straw for me and I'll have to start using installpkg/upgradepkg, but I've had problems with those as well too...
I understand. When I moved to slackware from Suse 3 years ago, I used swaret for a short period of time and I never broke anything with it. Many people use it without a problem - or at least don't admit it if they do. To me, swaret seems to run counter to the slackware way of doing things and I think if people just bit the bullet and tried to learn the slackware tools they would be better off in the long run. At the very least, they may gain some knowledge that would let them safely use swaret if they want to because they will be able to better recognize circumstances where it may be an unwise upgrade tool.

I only admin a home network, but I find keeping local versions of the stable and -current trees up-to-date using rsync to be very simple and not time consuming at all. There are several scripts out there that will do this for you. If you have the disc space I highly recommend it. I can perform NFS installs and upgrades very easily as a result.

People will also cling to swaret for dependency resolution, yet slackware does not have nearly the dependency problems that RPM or Deb based Distros have. It's a solution in search of a problem in my opinion, and reminds me of how new users of linux keep looking for a defrag tool because windows had a problem with fragmented files so then linux must as well.

Anyway, enough soap-box ranting from me. Good luck getting your box sorted.
 
Old 04-22-2007, 08:07 PM   #14
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by The GNUinator
Hey JackVSJock,

As an alternative to Swaret have you considered Slackupdate?

Get it here: http://darklinux.net/slackupdate

The GNUinator
Hiya GUNinator -- It's unfortunate that some of our favourite Slackware upgrade tools are acting unpleasant lately, and I went and had a quick look at the site you mention up there.
While it seems unlikely to me, does this 'slackupdate' tool have any problems working with Slack 11.0 ?? It too is somewhat out of date by the looks of the website..
Thanks for any comments.
(Yes folks, I am looking into 'rsync' too; Swaret has not yet destroyed my system, so I still like it; and Slackpkg just plain doesn't work. If pkgtool only had a remote-location selection, huh? )
 
Old 04-22-2007, 10:27 PM   #15
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Thumbs up

I've followed these directions:

Code:
ROOT=/mnt

export ROOT
  
upgradepkg --reinstall --install-new /cdrom/slackware/a/glibc-solibs-*.tgz
  
upgradepkg --reinstall --install-new /cdrom/slackware/a/glibc-zoneinfo-*.tgz
  
upgradepkg --reinstall --install-new /cdrom/slackware/l/glibc-*.tgz
Can't I just do a simple installpkg from disk 1 of the install disks for Slackware 10.2?
 
  


Reply

Tags
swaret


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
ubuntu update/upgrade errors boxerboy Ubuntu 2 08-27-2005 10:39 AM
Swaret upgrade from 9.1 to 10 dependency errors zez Linux - Software 0 06-28-2004 12:41 AM
swaret won't update? spade Slackware 1 05-29-2004 12:27 AM
swaret update, upgrade, install - now font error itsjustme Slackware 10 05-12-2004 11:28 PM
swaret errors irfanhab Slackware 3 04-18-2004 11:04 AM


All times are GMT -5. The time now is 01:35 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration