LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-04-2006, 09:10 AM   #1
moob8
Member
 
Registered: Sep 2006
Distribution: slackware
Posts: 132

Rep: Reputation: 15
upgrade 10 to 11 - which method?


I have slackware 10.0 (not 10.2) currently using the 2.4 kernel that came with it. I am thinking of upgrading to slackware 11 (and also intending to use a 2.6 kernel and udev). Because I have dialup I will most likely order the CDs from someplace.

Which is better: delete everything and reinstall from scratch or instead use upgradpkg to install/upgrade everything on the CDs into the existing linux?
 
Old 10-04-2006, 09:11 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
I think going by the amount of changes from 10 to 11 there will be means you're better off reinstalling from scratch.

There have been plenty of changes in the distro, including the shift from XFree86 (which was in 10) to Xorg and also udev.

There are also changes in the core distribution packages which might affect your system if you try and manually change everything if something goes wrong.

Last edited by vharishankar; 10-04-2006 at 09:13 AM.
 
Old 10-04-2006, 09:17 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,612

Rep: Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903
I would make backups of /home and /etc and then re-format the PC. Starting over from scratch will not cost you significantly more time... because after an upgrade you'll have to start looking for ".new" configuration files, abandoned libraries, missing packages, and probably end up with an unstable system anyway.

If you do not have it already, create a separate partition for your /home which will make future upgrades/reinstalls a lot easier. If you already have a separate partition for /home then you can do a re-install of Slackware, telling the setup program not to re-format that partition! Write down in advance what your partition layout is and then boot the PC with the Slackware CDROM (use "fdisk -l" output), so that you know what partition contains /home when the question is asked by setup.

Eric
 
Old 10-04-2006, 09:45 AM   #4
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.2 with AlienBob's KDE5
Posts: 270

Rep: Reputation: 38
Start anew. As Eric suggested, I've got a separate /home, /boot, and /mp3s partitions so I don't have to reformat those bits for a new OS. I know it's possible to upgrade, but I think the nuke and reinstall method is a bit more foolproof.
 
Old 10-04-2006, 09:48 AM   #5
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Quote:
Originally Posted by moob8
...Which is better: delete everything and reinstall from scratch or instead use upgradpkg to install/upgrade everything on the CDs into the existing linux?
Likely I would format and reinstall from scratch ... wait ... I already did that! It's the safest route
 
Old 10-04-2006, 11:31 AM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
My first version of Slackware was 10.0. after which I upgraded to 10.1 and then 10.2... always following Pat's instructions in UPGRADE.TXT, never had a problem. Until now I've found that to be very useful and informative - but I have never upgraded from one major version to another.

Is upgrading from 10.2 to 11.0, without re-installing from scratch, really going to be troublesome? Has anybody really tried it?
 
Old 10-04-2006, 02:03 PM   #7
tzbishop
LQ Newbie
 
Registered: Oct 2006
Location: São Paulo - Brazil
Distribution: SuSE 10.1, Slackware 11
Posts: 28

Rep: Reputation: 15
I have 10.2 installed and I am downloading 11. I am making some backups of /home and I will install 11 from scratch.

There has been a lot of changes in Slackware 11 and if you take a look at the forums, people that upgraded from 10.x to 11 are having a lot of problems.
 
Old 10-04-2006, 02:05 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Quote:
Originally Posted by tzbishop
There has been a lot of changes in Slackware 11 and if you take a look at the forums, people that upgraded from 10.x to 11 are having a lot of problems.
Well, I (and I know more people) went always with -current and don't have problems. I've used UPGRADE.txt instructions before without problems too. You just have to read carefully...
 
Old 10-04-2006, 02:42 PM   #9
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by uselpa
Is upgrading from 10.2 to 11.0, without re-installing from scratch, really going to be troublesome? Has anybody really tried it?
I wonder why a bit experienced Slacker would bother to reinstall from scratch
I've updated boxes from 10.2 to 11.0 without a hitch as I've did many times before. Upgrading glibc-solibs, pkgtools and sed first then other packages does the job. To solve new dependencies some new packages have to be installed (they are marked REQUIRED in tagfiles btw.).
I mostly do many changes in configuration files in /etc tree so I need to check diffs with .new versions anyway.
 
Old 10-04-2006, 10:16 PM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
I updated from 10.2 to 11 using slackpkg without an issue. There are some manual tweaks to do after you run slackpkg upgrade-all though.
 
Old 10-04-2006, 10:23 PM   #11
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
My suggestion - if you don't have an extra partition, use QParted or something like it to create one, install Slack 11 from the CD/DVD on that new partition (maybe even sharing your independent /home partition) and keep what you have totally in tact. That way you can play around until you're ready to make the switch. The whole configuration of Slack is getting old, especially when I am experiencing the fun of PC-BSD at the same time.
I think everyone should check that out and learn some BSD for a change. I don't have a single complaint about it yet but in just two hours I have accumulated several small annoyances about Slack 11. But I'm sure in time I will love 11 just as much.
 
Old 10-05-2006, 05:41 PM   #12
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,618

Rep: Reputation: Disabled
I have upgraded two different model laptops and a desktop from 10.2 to 11.0 with UPGRADE.TXT. Things went very smoothly. Having carefully backed up /etc, I cavalierly mv'ed all the conf.new's to .confs. Again no problem. Then customized the configurations as needed, which I would have had to do anyway.

Only thing that irritated me was that running upgradepkg/*/*tgz causes the deletion of all the modules for your current kernel. It's not really a problem, since kernel-generic (I use 2.6.17) boots fine, but it does make you gulp. So I now move the kernel pkgs out of the tree and upgrade those seperately using "installpkg" instead.

But really, go ahead and try it first. You can always go the fresh install method later if you find that UPGRADE.TXT caused you problems. I was actually wondering what the advantage of reinstall and reformatting was. Is there a speed advantage to reformatting (I use reiserfs)?

Brian
 
Old 10-05-2006, 09:58 PM   #13
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I have machines that started life as 9.0
They have a lot of orphan packages on them - mainly from the dropping of Gnome.
I have not found an easy way o identifying these.
On major upgrades, like 11.0, I find that I need to run swaret --dep to find the odd extra library that i have missed adding.
 
Old 10-05-2006, 10:06 PM   #14
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
A way of finding orphan packages is grepping "Removed. ", "Moved to /" and "Moved from /" from the ChangeLog.txt on every upgrade. They're listed on UPGRADE.TXT too. Also, in 11 there's a file called CHANGES_AND_HINTS.TXT which shows a difference of packages.

Last edited by gbonvehi; 10-05-2006 at 10:07 PM.
 
Old 10-06-2006, 05:20 AM   #15
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by davidsrsb
I have machines that started life as 9.0
They have a lot of orphan packages on them - mainly from the dropping of Gnome.
I have not found an easy way o identifying these.
On major upgrades, like 11.0, I find that I need to run swaret --dep to find the odd extra library that i have missed adding.
Orphaned packages may be also identified by slackpkg tool (to be found in extra/). Read about clean-system command in the documentation.
 
  


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
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 06:09 PM
Best method to upgrade HDD of RH Linux 6.0 (lilo boot) Noorul Linux - Software 3 08-26-2004 01:18 PM
best method to upgrade RH Linux 6.0 harddisk with lilo boot Noorul LQ Suggestions & Feedback 1 08-25-2004 06:32 AM
Proper method to upgrade debian system? xanas3712 Debian 11 05-14-2004 06:19 AM

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

All times are GMT -5. The time now is 09:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration