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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-14-2007, 04:32 PM
|
#1
|
|
Member
Registered: Jan 2004
Posts: 590
Rep:
|
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 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?!!?
|
|
|
|
04-14-2007, 04:38 PM
|
#2
|
|
Member
Registered: Mar 2006
Posts: 381
Rep:
|
yes, it did. bad luck indeed for you.
|
|
|
|
04-14-2007, 04:41 PM
|
#3
|
|
Member
Registered: Jan 2004
Posts: 590
Original Poster
Rep:
|
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?
|
|
|
|
04-14-2007, 05:26 PM
|
#4
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,685
Rep: 
|
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
|
|
|
|
04-22-2007, 08:41 AM
|
#5
|
|
Member
Registered: Jan 2004
Posts: 590
Original Poster
Rep:
|
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
|
|
|
|
04-22-2007, 01:35 PM
|
#6
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,685
Rep: 
|
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
|
|
|
|
04-22-2007, 01:53 PM
|
#7
|
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,756
|
By any chance are you using swaret to upgrade to -current?
|
|
|
|
04-22-2007, 03:31 PM
|
#8
|
|
Member
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 10.2, 12.0, 12.2 OpenBSD 4.4
Posts: 57
Rep:
|
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
|
|
|
|
04-22-2007, 05:19 PM
|
#9
|
|
Member
Registered: Jan 2004
Posts: 590
Original Poster
Rep:
|
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.
|
|
|
|
04-22-2007, 05:21 PM
|
#10
|
|
Member
Registered: Jan 2004
Posts: 590
Original Poster
Rep:
|
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
|
|
|
|
04-22-2007, 06:04 PM
|
#11
|
|
Senior Member
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253
Rep:
|
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.
|
|
|
|
04-22-2007, 06:16 PM
|
#12
|
|
Member
Registered: Jan 2004
Posts: 590
Original Poster
Rep:
|
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...
|
|
|
|
04-22-2007, 06:47 PM
|
#13
|
|
Senior Member
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253
Rep:
|
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.
|
|
|
|
04-22-2007, 07:07 PM
|
#14
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Quote:
|
Originally Posted by 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?  )
|
|
|
|
04-22-2007, 09:27 PM
|
#15
|
|
Member
Registered: Jan 2004
Posts: 590
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:53 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
|
|