LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-17-2005, 08:43 AM   #1
convulted
LQ Newbie
 
Registered: Nov 2005
Distribution: SuSE 5.2
Posts: 1

Rep: Reputation: 0
Question Upgrading my system (kernel, make, etc...)


Hey all I'm kinda new to Linux so if I say anything wrong don't flame me
I'm running SuSE 5.2 on a Pentium 1 PC (which is why I used such an old distro) and want to update the kernel (2.0.34 is a bit old!).
Anyway, I went about updating my software to the minimum required to build kernel 2.6.14, but I ended up running in circles. I can't install glibc 2.3.6, nor can I install make 3.78.1 (./configure fails to run), nor e2fsprogs 1.29 (same here) nor util-linux 2.11q, nor binutils 2.12.90.0.1, nor module init tools 0.9.9... well you get the point I guess.
I did have some luck when it comes to other software. I managed to install Apache 2.0.55, PHP 4.4.1 and mySQL 4.1.15 (newer versions of PHP and mySQL didn't work either, so I stuck with these, which are more than enough for what I need).
Any pointers on whether I'm doing anything wrong, or is it just that my system is inherently unable to support anything newer?

Thanks in advance,
Dre
 
Old 11-17-2005, 09:11 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
No idea on sorting out the dependencies on such an old distro (hell, I started with SuSE 6.2 and that was 7 years ago...), but I'll take my hat off to you for getting such recent versions of Apache, PHP + MySQL running in the first place Other than trying to go through the dependencies one by one, don't know anyway to automatically install required packages/libraries as there probably won't be *any* update servers for automatic resolutions. I think the SuSE policy is last 5 releases, but even getting back to 7.x would be a struggle. Best of luck though!
 
Old 12-11-2005, 01:17 AM   #3
JoeMcC00L
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 6

Rep: Reputation: 0
I'm fairly new into the linux arena as well, although I learned most of my stuff from cygwin :-P. I'm not too familiar with the SuSE package manager, or even if 5.2 has one. Judging from what fouldsy said (who obviously has been doin this a lot longer than me), there is no such animal.

The good news is that unlike Windows, there are some distributions of linux where the newer distributions run just as well if not better than their previous versions, even on older machines. Also considering that you have such an old machine, I would go with a distribution that is smaller, using only the drivers you need. If you have the patience, I would go with gentoo.

Why?
Most of its installation is done with the package manager emerge, which distributes programs by source, which means that it handles compiling dependencies automatically. I believe the stage 3 tarball (explained in the gentoo handbook) includes a pre-built binary of what's necessary to install the package manager, and once you have the package manager you should be able to retreive those programs that were listed in your post.

What turns most people off of gentoo is recompiling the kernel, which judging from your post it looks like you've dabbled into that a little already.

ONE WORD OF CAUTION -- if you do choose gentoo make sure you have access to the gentoo linux handbook (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml), either on a laptop or a hard copy. It walks you through the installation, step by step. Trust me, there are no instructions once you boot from that livecd.

If you choose to stick with Suse, I'll have to go with fouldsy about manually going though the dependencies. Either way, I wish you the best of luck!

--Joe
 
Old 12-11-2005, 01:22 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
upgrading like you say by hand is very advanced topic involving making some statically linked versions of important things like bash so your system will keep working while you do it
i say like others -- start over and use a minimal installation of a new distribution beause Linux gets a little larger as time goes on but also gets way faster.
once you change glibc you have to upgrade/recompile everything else anyway.
 
Old 12-12-2005, 09:24 AM   #5
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,401

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
You can surf to http://www.linuxfromscratch.org to see the low-down skinny on exactly how this is done.

... and it will probably persuade you that this is not the best way for you to do it. (Although I have done it, and it does work, though practically speaking it's largely of educational value.)

The best way to make a major upgrade to your system is to ... use a prepared distribution.

When you boot from the upgrade CD-ROM, at that point your system is running from the CD-ROM, not your hard-disk, and the CD-ROM contains a complete set of the core software .. kernel, commands, glibc library, and so on .. which it can simply copy to that hard drive, updating "all at once" all of the material that needs to be "updated at all at once."

Doing this upgrading process on a running system is difficult, and adds many more steps, takes somewhere on the order of six to fourteen hours of wall-time, and puts you in a somewhat precarious or even unrecoverable position should the process be unsuccessful. It's like "fixing the car with the engine running." Not something you'd prefer to do on a routine basis...
 
  


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
Upgrading the kernel of an FC2 system pcweirdo Linux - Distributions 5 03-02-2005 01:33 AM
system freezes after upgrading kernel samac Slackware 17 02-24-2005 04:28 AM
"make clean" caused system freeze, kernel panic on reboot jwhill2000 Linux - General 3 02-08-2005 07:59 PM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
Need some advice on upgrading kernel via make-kpkg davidas Debian 4 04-07-2004 07:02 PM


All times are GMT -5. The time now is 01:59 AM.

Main Menu
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