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-12-2007, 07:39 AM   #1
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Rep: Reputation: 15
slapt-get upgrade problem


Hey All,

I was having some stability problems on my Slack11 box, and decided to upgrade some packages. This time round, i switched to slapt-get rather then using swaret like i usually do. Some bad stuff has happened though:

"/lib/tls/libc.so.6: version 'GLIBC_2.4' not found"

So im guessing its upgraded the glibc packages, and now everything that was compiled for the previous version has nerfed it. Slack still starts up, but commands like rm, find and the like dont work anymore (giving the above errors). X also wont start.

So given my folly, whats the best way to get back to a working system? Can i just uninstall all the glibc packages and re-install from my Slack DVD, or is there a bettera way to do it? or do i even need to do a complete re-install?
 
Old 04-12-2007, 08:05 AM   #2
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
Hi

Here you are friend a guide to solve it
 
Old 04-12-2007, 09:45 AM   #3
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
That would have happened regardless of whether you used swaret or slapt-get.

As props666999 suggested, my HOWTO should enable you to recover. Bear in mind that you don't upgrade "some" packages from the -current repos; running Slackware -current is an "all or nothing" proposition. If you're not prepared for some temporary instability due to running a *development* version of Slackware, then you need to use my HOWTO to restore everything back to the 11.0 packages.

If you decide that you want to run -current instead, be sure to read http://slackware.osuosl.org/slackwar...nt/UPGRADE.TXT if you want everything to work properly this time.

Last edited by rworkman; 04-12-2007 at 09:51 AM. Reason: clarification
 
Old 04-13-2007, 03:42 AM   #4
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
ok, got myself back up and working...

I had read up on the slapt-get wiki, and there was a line in there "if you just want stability and security patches, the default slapt-get config should work fine for you" (or something like that). So figured it should be ok.

The slapt-getrc had been setup to exlcude the kernal, glibc and other default things, so didnt think i would get into to much trouble. But as the wiki says, pointing to -current was bad news all the same

I've since refined it to use SOURCE=ftp://mirror.aarnet.edu.au/pub/slackware/slackware-11.0/ (i have a slack 11 install). So should running this with --upgrade cause any dramas that i may have missed in the wiki?
 
Old 04-13-2007, 05:15 AM   #5
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
Quote:
Originally Posted by newio
ok, got myself back up and working...

I had read up on the slapt-get wiki, and there was a line in there "if you just want stability and security patches, the default slapt-get config should work fine for you" (or something like that). So figured it should be ok.

The slapt-getrc had been setup to exlcude the kernal, glibc and other default things, so didnt think i would get into to much trouble. But as the wiki says, pointing to -current was bad news all the same

I've since refined it to use SOURCE=ftp://mirror.aarnet.edu.au/pub/slackware/slackware-11.0/ (i have a slack 11 install). So should running this with --upgrade cause any dramas that i may have missed in the wiki?
It should be ok, as --upgrade should only download the updates that the stable version (11.0) gets from time to time.
I prefer slackpkg for this...
 
Old 04-13-2007, 08:06 AM   #6
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
Quote:
Originally Posted by newio
I've since refined it to use SOURCE=ftp://mirror.aarnet.edu.au/pub/slackware/slackware-11.0/ (i have a slack 11 install). So should running this with --upgrade cause any dramas that i may have missed in the wiki?
This will *usually* be fine, but it can cause problems on occasion. On occasion, there are glibc updates in the stable release /patches directory, and those are blacklisted by default in slapt-get, so you wouldn't get those upgrades. Also, on rare occasions, new packages are added to the stable release in /patches - for example, 11.0/patches/ has a new mozilla-nss package which gaim must have to work properly for MSN and some other protocols. Slapt-get won't install new (added) packages unless you explicitly tell it to do so (which is fine), so you'll need to read the ChangeLog either way.

Ultimately, the lesson here is simple - no matter how you upgrade, read the ChangeLog.
 
  


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
Why 'slapt-get --upgrade' installs new packages Marel Slackware 5 12-03-2005 01:41 AM
Hoooray! Upgrade from 10 to 10.1 with slapt-get works! vharishankar Slackware 9 06-08-2005 01:03 AM
slapt-get error 404 on 1 pkg stops upgrade farpoint Slackware 2 05-11-2005 02:28 PM
Slapt-get upgrade to current killed my system zwyrbla Slackware 15 01-27-2005 09:35 PM
slapt-get upgrade problems timsch75 Linux - Software 0 04-05-2004 07:56 PM

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

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