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 12-26-2004, 05:10 AM   #1
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Rep: Reputation: 15
glib fiasco


ok ok I knew I shouldnt have done it, but hey, linux is about learning right? anyways if you havent guessed it by now, I tried to remove my glib packages, I was going to upgrade them. I've never done it before for just important libraries. When I normaly upgrade packages, I remove the old one and put in the new one. You see I wanted to use gimp2.2, but it needed a higher verson of gtk+, after that I needed a newer version of X11, and then that needed new glib packages, haha quite a mess huh?

So how should I go about fixing it? I have the slackware 10.0 cds on my windows harddrive and a 512mb usbdrive. Slackware is and all its packages are fine except for the glib ones(glibc, glib2, glibc-solibs, glibc-zoneinfo) How can I just put those packages back with out having to reinstall?

OH and Merry Chrismas and a happy New Year, I got some cool presents that should keep me happy while I await a reply.

thank you.
David
(please excuse spelling)
 
Old 12-26-2004, 05:28 AM   #2
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Original Poster
Rep: Reputation: 15
...... i just want to die, why is it that when I do these crazy things, I never read the readme files? oh well. I thought I just update that part. hehe I didnt know about upgradepkg for some strange reason. So any ideas as to help me?
 
Old 12-26-2004, 07:25 AM   #3
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
HI.
do you have (can burn from windoze) slackware disk2? if so - boot from it, mount your slackware partition lets say to /mnt/slack then mount the cd1 via loopback device(or copy the needed packages from it somewhere in the first place) and
Code:
# installpkg -root /mnt/slack/ /path/to/package.tgz
 
Old 12-26-2004, 03:34 PM   #4
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Original Poster
Rep: Reputation: 15
Thanks for the command! I dont have a cd burnner hehe but maybe now I'll get one. Anyways after fruitless trys to get my usb flashdrive to boot, I used my good old windows98 boot disk to use loadlin. From there I was able to do what I needed to do. But It seems that somethings were also affected buy upgrading glibc and glib2. I'm going to upgrade the sysvinit package, is there any other base packages that I should upgrade?
 
Old 12-26-2004, 04:12 PM   #5
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Original Poster
Rep: Reputation: 15
update!

ok so I downloaded the whole /a stuff from slackware-current but i'm stilll having problems. I get errors about /sbin/agetty and not being able to execute it. and I upgraded that package too. also when I change inittab to not make so many terminals, i'm able to see an error that I couldnt see before. It seems its not able to run rc.S I checked my /etc/rc.d and found some rc.*.new files, changed them to the right names and backed up the old ones. Still no go. Any other ideas?
 
Old 12-26-2004, 06:02 PM   #6
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Original Poster
Rep: Reputation: 15
Final Update

I'm listing all my steps just in case someone else is in my situation.

After booting up slackware from windows using loadlin (if you have the cd the by all means use that) I was then able to use ROOT=/dev/hda3 upgradepkg *.tgz just so I could upgrade everything to make sure it was uptodate. If you plan on upgrading your glib packages, you will need to upgrade everything in the /a and /l folders from slackware-current. After that use ldconfig -root /path/to/root/drive that was something I forgot to do and took a while before I figured it out, hehe seems ldconfig can fix most about anything. After that just check some config files to make sure everything was in place. I'm not sure what this might do but after updating, in my rc.d folder I had some rc.*.new files, so i replaced the old ones with them. Might not make a difference but diff showed there was a difference between them. *NOTE* since the kernel packages were in the /a folder, they got installed too. This seemed to remove all my modules from the kernel I was using. a simple make modules and modules_install fixed that, but the same thing happened when the alsa packages were upgraded. Just did the same thing. after that everything was running great in text mode so I switched over to X. Since I had to upgrade X too, there was one slight problem. it seems that the xorg.conf file is case sensitive and wouldnt load the keyboard driver since it was "Keyboard" fixing the K to k let X run. Also if you are like me and like to have kdm insted of gdm, you have to edit rc.4. I guess thats it. haha all that just to get gimp-2.2 running. Well I learned some new tricks so I'm happy.

I declare this thread closed.
 
  


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
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
Help with make oldconfig/menuconfig fiasco beebelo Ubuntu 3 11-09-2005 11:15 AM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM
Problems relating to glib 1.2.10 and glib 1.2.9 p3ngu!n Mandriva 10 05-23-2004 09:03 PM

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

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