LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2015, 04:31 PM   #1
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Rep: Reputation: 11
Do I have to do a full upgrade before switching to current?


From a fresh install is it ok to upgrade straight to current without upgrading 14.1 first?
 
Old 12-03-2015, 04:37 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Yes, it'll be like an update anyway.

Just make sure you run things in this order:

Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
Clean system will remove any packages no longer supported, which is usually very few in numbers.
 
1 members found this post helpful.
Old 12-03-2015, 04:45 PM   #3
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
Thanks. I figured so but my internet is crap and the upgrade takes a while so I didn't want to make a mistake and have to redo it.
 
Old 12-03-2015, 05:15 PM   #4
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Do I have to do a full upgrade before switching to current?

It might be easier and safer to download the packages trough rsync and perform the upgrade using offline tools...
Running the rsync command a second time will assure you that all is well downloaded.
 
3 members found this post helpful.
Old 12-03-2015, 05:30 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by ahc_fan View Post
Thanks. I figured so but my internet is crap and the upgrade takes a while so I didn't want to make a mistake and have to redo it.
As Tonus says, you would be better served to download the current packages first, then update from the local copies. That way if the download is interrupted you will not end up with a broken system.

To make it easy use Alien's Slackware Mirror Scirpt. Keeping the local repo in sync with the official repos in future is then quick and painless.
 
2 members found this post helpful.
Old 12-03-2015, 06:18 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by ReaperX7 View Post
Clean system will remove any packages no longer supported, which is usually very few in numbers.
I manually find the removed packages by parsing the ChangeLog:

Code:
grep -a 'Removed.$' ChangeLog.txt | \
sed -e 's#^.*/##g' -e 's#:.*Removed.$##g' | \
tr '\n' ' ' > ../now_use_removepkg
A little clumsy but it has worked well so far...

Edit: Oops, looks like 'clean-system' also removes 3rd party packages which I don't do and is not addressed by my little snippet...

Last edited by andrew.46; 12-03-2015 at 06:26 PM.
 
Old 12-03-2015, 06:44 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If you use SBo, check the /etc/slackpkg/blacklist file and uncomment the SBo argument.
 
Old 12-03-2015, 07:19 PM   #8
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
It looks like a beautifully made script
 
Old 12-03-2015, 09:26 PM   #9
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
You could also take a "hybrid" approach by manually downloading and installing/upgrading the -current packages and then use "slackpkg clean-system" to remove the obsolete packages.
 
  


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
What pitfalls can I expect switching from 12.1 to current? BobNutfield Slackware 3 06-04-2009 01:04 AM
Problem with evdev and full screen opengl game after upgrade to current dive Slackware 2 02-02-2008 07:43 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
Interested in switching full-time to Slackware Matt.Ramos Linux - Newbie 21 07-16-2005 10:18 AM
gxine problem when switching to full screen XPediTioN Slackware 6 06-25-2004 01:25 AM

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