LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-22-2007, 02:14 PM   #1
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
Safe enought to update with slapt-get to current?


Is it safe enough for to upgrade my slack-11 to slack-current using slapt-get --dist-upgrade ?
Kernel 2.6.20.7
 
Old 06-22-2007, 02:18 PM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Upgrade.txt

Need to make sure you do a few things and don't think they recommend using the upgrade for everything, need installpkg for some.
There is a how-to in current for doing the upgrade would recommend printing it out and using it as a guide. It will tell you all you need to do, specially since the upgrade is dependant on what you have already have installed.
 
Old 06-22-2007, 02:21 PM   #3
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Hi, i don't know for sure, but i think it will break your system.
Take a look at the official way of upgrading:
UPGRADE.TXT
and don't miss: CURRENT.WARNING
Or you can always get -current isos and save all that
 
Old 06-22-2007, 03:41 PM   #4
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
also, don't forget the CHANGES_AND_HINTS.txt

Personally, I'd recommend doing the upgrade manually (i.e. download the current tree and follow the instructions) Alien Bob has a great script for downloading all of the files on his wiki ( http://alien.slackbook.org/dokuwiki/doku.php )
After doing a manual upgrade, since -current is in Release Candidates now, using a third party package manager to stay current should only be a slight risk... if it's used correctly
 
Old 06-22-2007, 09:14 PM   #5
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Rep: Reputation: 15
Quote:
... if it's used correctly
Not to hijack the thread, but I just upgraded to -current with ISOs built from Alien Bob's script, and now I'm not sure what to do. I have a couple of questions:

1). slapt-get (my tool of choice) excludes some packages (such as a/aaa_elflibs ) that have been updated according to the change log. Should I configure slapt-get to include all packages? Or should I only update the ones slapt-get wants to?

2). I generally don't track -current. I'm excited for slack 12, so I wanted to get it ASAP. when the full release comes out, I'll switch to that and stop tracking -current. I was planning on just doing a fresh install, but is there a more elegant way to make this move?
 
Old 06-23-2007, 04:13 AM   #6
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by mannyslack
Hi, i don't know for sure, but i think it will break your system.
Take a look at the official way of upgrading:
UPGRADE.TXT
and don't miss: CURRENT.WARNING
Or you can always get -current isos and save all that
Well I did read it, and it sounds like a painfully long process so I was wondering if it would be faster to just use slapt-get or any other similar tool to do the stuff.
Oh well, I guess I won't sleep for one night and do the upgrading

Oh and, I think I'm going to download the Install DVD .iso, in case I break anything I just put in the DVD and do a reinstall

Oh the upgrade.txt mentions to install 2.6.18 kernel, I have 2.6.20.7 kernel, I can jump over this point right?
 
Old 06-23-2007, 10:53 AM   #7
bughead1
Member
 
Registered: Jul 2002
Posts: 78

Rep: Reputation: 15
Missing something here?

It would seem to me that any question contain the words "safe enough" implies there is something you don't want to lose.

It could be data, a well tweaked configuration, or whatever.

"Current" ain't ready for prime time. That is why P. Volkerding hasn't blessed it by calling it Slackware 12 yet.

By definition, it isn't "safe" no matter how you try to upgrade to it. Slackware 11 is for "safe."

If there isn't anything you have to worry about protecting, then let 'er rip. Try it out. See if it breaks.

Otherwise, if you run Slackware because you like the Slackware approach to Linux, it would seem to make sense to wait until Mr. Volkerding says that Slackware 12 is ready, and then follow his advice for upgrading. ;-)
 
Old 06-23-2007, 12:13 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I would argue that -current is already as (if not more) stable than 11, and much much more capable. I have been tracking -current for the last ~4 years or so, and this is probably the only time that I can honestly say that -current has clearly excelled beyond the stable release (to the point that upgrading is actually an imperative).

But at any rate, that is neither here nor there. If you are using slapt-get, or any other automated package manager, the same rules apply. Always read the documentation to make sure you are doing things in the proper order, and not missing any changes or omissions. slapt-get simply calls the default pkgtools programs, so there is no difference between using slapt-get to download and upgrade the packages and doing it manually. You are doing the exact same thing, one is just more labor intensive than the other. I have always used slapt-get to follow -current, and have never had an issue.

The problem has never been with the software itself (speaking of automated package tools) but with the user ignoring the documentation thinking that the package manager can figure it all out automatically. That is simply not the case, and it never will be in Slackware. How you actually download and upgrade the packages themselves is completely inconsequential, the only thing that matters is that you do it correctly.
 
Old 06-23-2007, 06:09 PM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
slapt-get is probably capable to do the job, but it won't save you a lot of time, because, as far as I understand, there were quite a few package splits and mergers. No matter what tool you use, it's up to you to migrate your packages to the new structure. And there are usually several other things that require user interaction. But don't worry, they don't take a lot of time.

Therefore I personally wouldn't want to take the risk, and instead follow the instructions in UPGRADE.TXT word by word and letter by letter. That's the only safe way to upgrade.

In case you want to try slapt-get, anyway, I would appreciate if you could share your experiences with us.

Good luck!

gargamel
 
Old 06-23-2007, 08:07 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Just been reading UPGRADE.TXT. Whooaaaah! Think I'll wait for the Final Release & burn the CD's.
 
Old 06-24-2007, 04:10 PM   #11
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
Quote:
Originally Posted by brianL
Just been reading UPGRADE.TXT. Whooaaaah! Think I'll wait for the Final Release & burn the CD's.
That's your choice (and I can't blame you for it). I wouldn't recommend turning an automatic update process loose on your system for any major updates. There are lots of split packages from 11.

By some foul-up (on my part) I had fallen far behind -current -- probably about 6 months behind. I took the plunge to update to -current Friday night, using the UPGRADE.txt as a runsheet. It actually went off pretty smoothly -- updating the kernel is really the trickiest part of the process.

The only problem I had was updating my httpd.conf file from Apache 1.3 to Apache2, which requires a little more thought. With the exception of one small part of my Apache setup (user authentication) everything worked fine within a few hours.
 
  


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
Warning to Slapt-get/Swaret users running Slackware-Current shepper Slackware 8 07-28-2006 03:45 AM
Does anyone use slapt-get? - Slack current Jonescity Slackware 4 06-24-2005 09:11 AM
Slapt-get upgrade to current killed my system zwyrbla Slackware 15 01-27-2005 09:35 PM
slapt-get can't update moonloader Slackware 3 02-21-2004 06:56 AM
just want to be sure my Iptables script is safe enought Half_Elf Linux - Security 3 08-02-2003 03:34 PM

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

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