LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-19-2021, 09:46 AM   #16
John Lumby
Member
 
Registered: Oct 2008
Posts: 74

Original Poster
Rep: Reputation: 50

Quote:
Originally Posted by Charadon View Post
Well, one con I can think of, and it's only theoritical, is that you'll have to rebuild your Slackbuild packages every once and while because the libraries they link to will either be:

A. Gone
B. So new that they can't use them.
.
I am not sure if I understand your point. At first I thought you were saying that would be a con against switching to 15.0, but now I see maybe you are saying that that is a con of using -current at all, i.e. you are making the point that this is a burden that every user of -current has to face up to and can stop having to worry about by switching back to the official release?

Let's consider a specific case : libreoffice. I installed it from slackbuilds about 18 months ago (while on -current). I have upgraded -current many times since then and I can see that theoretically on each upgrade libreoffice might stop working and need to be rebuilt. BUT --- (correct me if wrong) slackbuilds does not recognize existence of -current - it asks me which official release I am on. checking just now, the libreoffice on slackbuilds is still the same one, and the relevant official release is still 14.2. Yet my slackware environment is now (presumably) much closer to 15.0 than it is to 14.2. As it happens, I have never rebuilt libreoffice and it still works. If it ain't broke ...

I suppose what you have got me wondering is, on that slackbuilds page for selecting the package, what is the significance of the selection I make in the dropdown letting me specify the official slackware release? It it has much significance at all, then I would not expect my existing libreoffice to work at all. And if it did break, I would probably be inclined to go fetch a whole new libreoffice package from
libreoffice.org, as the one from slackbuilds is 6.2.8.2 and the current one from libreoffice.org is 7.2.4.

Apologies for this comment getting rather confused - I'm unable to un-confuse it.
 
1 members found this post helpful.
Old 12-19-2021, 01:53 PM   #17
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
On -current, there may (will at times) be library .soname changes that cause software to need recompiling, or upgrading/patching if it won't compile.

There's often some help with that from alienbob though

https://alien.slackbook.org/blog/

For example you could get scripts to build things, binary packages for Libreoffice (currently 7.2.3 for -current), compat packages for boost and icu4c when they get broken etc.

On the updates to stable edition of Slackware, soname changes are unlikely and mass rebuilds of packages aren't going to happen.
 
2 members found this post helpful.
Old 12-19-2021, 07:37 PM   #18
derekn13
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 53

Rep: Reputation: 29
How complicated is it to upgrade from a stable version to the current version?

I've been running current on my laptop since I bought it (for the usual reasons - needed the newer kernel for hardware support, wanted the newer gcc and cmake, etc). I've done lots of Slackware version upgrades (14.0 -> 14.1 -> 14.2) in the past on other machines, with zero problems, but this is the first time I've run current.

I'm thinking that I might switch from current to 15.0 when it comes out. But let's say I decide in year or two that I want to go back to current (for whatever reason). Will that be similar to a stable-to-stable update (like 14.2 -> 15.0), or will it be more difficult?
 
Old 12-20-2021, 10:37 AM   #19
John Lumby
Member
 
Registered: Oct 2008
Posts: 74

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by derekn13 View Post
How complicated is it to upgrade from a stable version to the current version?
I highly recommend this

https://www.linuxquestions.org/quest...1/#post6147728

It's what I followed when I moved from 14.2 to -current

Caveat: It *might* be slightly different from 15.0 to -current, but I don't see anything other than obviously the actual reference to 14.2
 
1 members found this post helpful.
Old 12-20-2021, 11:01 AM   #20
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Quote:
Originally Posted by John Lumby View Post
I highly recommend this

https://www.linuxquestions.org/quest...1/#post6147728

It's what I followed when I moved from 14.2 to -current

Caveat: It *might* be slightly different from 15.0 to -current, but I don't see anything other than obviously the actual reference to 14.2
Maybe I'm wrong, but since Slackware 15.0 will just be a freeze of the actual -current (and not an upgrade)
For me, it's just a matter of the url in the slackpkg mirror

Code:
https://mirrors.slackware.com/slackware/slackware64-current/
vs.
Code:
https://mirrors.slackware.com/slackware/slackware64-15.0/
note:
"from 15.0 to -current" doesn't mean anything to me
I took the liberty of thinking that you meant the opposite ;-)

Last edited by marav; 12-20-2021 at 11:05 AM.
 
1 members found this post helpful.
Old 12-20-2021, 03:36 PM   #21
derekn13
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 53

Rep: Reputation: 29
John Lumby: Thanks, that looks like exactly what I would need.

marav: Nope, I actually meant 15.0 to current. It was a hypothetical question about the future. At some point, after 15.0 is out, if I wanted to switch from 15.0 back to current, what is the process? I think John's link answers that question. Of course, my question is purely hypothetical until 15.0 has been out for a while :-)
 
Old 12-20-2021, 06:55 PM   #22
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by marav View Post
Maybe I'm wrong, but since Slackware 15.0 will just be a freeze of the actual -current (and not an upgrade)
For me, it's just a matter of the url in the slackpkg mirror

Code:
https://mirrors.slackware.com/slackware/slackware64-current/
vs.
Code:
https://mirrors.slackware.com/slackware/slackware64-15.0/
That's exactly correct. When Slackware 15.0 is released there will be a period of time where Slackware 15.0 and Slackware64-current are identical. So within that window you can change your mirror from Slackware64-current to Slackware 15.0.
 
1 members found this post helpful.
Old 12-21-2021, 08:41 AM   #23
John Lumby
Member
 
Registered: Oct 2008
Posts: 74

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by hitest View Post
When Slackware 15.0 is released there will be a period of time where Slackware 15.0 and Slackware64-current are identical.
Will there be some way (other than running diffs etc) of knowing
a) when that window is about to end
b) whether the window has in fact ended
 
Old 12-21-2021, 08:48 AM   #24
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Quote:
Originally Posted by John Lumby View Post
Will there be some way (other than running diffs etc) of knowing
a) when that window is about to end
b) whether the window has in fact ended
Don't put the cart before the horse
 
Old 12-21-2021, 09:52 AM   #25
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by John Lumby View Post
Will there be some way (other than running diffs etc) of knowing
a) when that window is about to end
b) whether the window has in fact ended
Mr. Volkerding has in the past taken a brief break from his development duties after a stable release. There's no way to know how long that period of time will be. It might be days or a few weeks or he may continue with development. To find out if development has started you can read the Slackware-current changelogs. You can also run slackpkg.

Code:
# slackpkg check-updates
 
1 members found this post helpful.
Old 12-21-2021, 10:45 AM   #26
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by John Lumby View Post
Will there be some way (other than running diffs etc) of knowing
a) when that window is about to end
b) whether the window has in fact ended
Simple. I've been doing this since 2010. That is the year I switched to current, been there ever since.

If you update current with the release, that is the set time you are at the release version. That window ends with the next current update.

If you do not want to stay with current, then don't update anymore until you switch to the release mirror.

Example with 14.2 release for Slackware64-current:
Code:
Thu Jun 30 20:26:57 UTC 2016
Slackware 14.2 x86_64 stable is released!

The long development cycle (the Linux community has lately been living in
"interesting times", as they say) is finally behind us, and we're proud to
announce the release of Slackware 14.2.  The new release brings many updates
and modern tools, has switched from udev to eudev (no systemd), and adds
well over a hundred new packages to the system.  Thanks to the team, the
upstream developers, the dedicated Slackware community, and everyone else
who pitched in to help make this release a reality.

The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided
32-bit/64-bit x86/x86_64 DVD.  Please consider supporting the Slackware
project by picking up a copy from store.slackware.com.  We're taking
pre-orders now, and offer a discount if you sign up for a subscription.

Have fun!  :-)
At this point the current was the same as the release version. If I had wanted to switch over to 14.2, this is the point I would have changed my mirror to 14.2 vice current.

Code:
Sun Jul  3 19:29:33 UTC 2016
a/file-5.28-x86_64-1.txz:  Upgraded.
a/util-linux-2.28-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-47.0.1-x86_64-1.txz:  Upgraded.
At this point it was no longer release, but now current for the next release, in this case the first current update leading to the long awaited 15.0 release.

Last edited by chrisretusn; 12-22-2021 at 02:57 AM.
 
2 members found this post helpful.
Old 12-21-2021, 02:47 PM   #27
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
My $0.02 ( for what it's worth )

If you manage updates manually like I do and you swap from Current to 15.0 then you'll find your updates under the /path/to/patches/ Directory rather than under /path/to/slackware64/ ( or /path/to/slackware/ )

The /path/to/patches/ directory contains two directories: packages/ and source/

The packages/ directory is 'flat' -- each updated package will be here as a .txt, txz and txz.asc file.

The only exception in 14.2 is that Kernels are stored in a versioned directory. Example: the latest Kernel Files are in patches/packages/linux-4.4.276/

The source/ Directory includes a subdirectory for each updated package where the SlackBuild, install.sh, Source Code and Patches are stored.

Pretty simple for me because I keep a local mirror via rsync and I simply upgradepkg --installnew each new .txz from /path/to/packages/ for all but the kernel.

I install each Kernel so I have a fallback in case of screw-up on my part

-- kjh
 
2 members found this post helpful.
Old 12-22-2021, 02:50 PM   #28
Charadon
Member
 
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 47

Rep: Reputation: 16
Quote:
Originally Posted by John Lumby View Post
I am not sure if I understand your point. At first I thought you were saying that would be a con against switching to 15.0, but now I see maybe you are saying that that is a con of using -current at all, i.e. you are making the point that this is a burden that every user of -current has to face up to and can stop having to worry about by switching back to the official release?
Yeah, recompiling software isn't something you have to worry about on static release distributions all that much until the next release. I remember my time on arch linux was spent having to recompile AUR packages and local software that I compiled every couple of months thanks to the rolling model. So in summary, that's a con for staying on current.
 
1 members found this post helpful.
Old 12-23-2021, 04:22 PM   #29
John Lumby
Member
 
Registered: Oct 2008
Posts: 74

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by hitest View Post
You can also run slackpkg.

# slackpkg check-updates
When I run slackpkg check-updates, it checks against my local mirror, (because that's what my /etc/slackpkg/mirrors points to), which is not what I want in this case (as I don't run my mirror-slackware-current.sh every day). I realize I could temporarily modify my /etc/slackpkg/mirrors to point to a remote bang-up-to-date mirror, but is there a slackpkg command-line OPTION I can specify to tell it which mirror to ask? the man page for slackpkg seems to suggest it might be possible but I don't see how.

I guess it is really easier to go check on the slackware ftp site.
 
Old 12-23-2021, 05:07 PM   #30
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Quote:
Originally Posted by John Lumby View Post
When I run slackpkg check-updates, it checks against my local mirror, (because that's what my /etc/slackpkg/mirrors points to), which is not what I want in this case (as I don't run my mirror-slackware-current.sh every day). I realize I could temporarily modify my /etc/slackpkg/mirrors to point to a remote bang-up-to-date mirror, but is there a slackpkg command-line OPTION I can specify to tell it which mirror to ask? the man page for slackpkg seems to suggest it might be possible but I don't see how.

I guess it is really easier to go check on the slackware ftp site.
Code:
# slackpkg -mirror=https://mirrors.slackware.com/slackware/slackware64-current/ check-updates
this will temporarily override your configured mirror

Last edited by marav; 12-23-2021 at 05:18 PM. Reason: better mirror, depending on your geoloc
 
3 members found this post helpful.
  


Reply

Tags
-current, 14.2 64bit, 15.0



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
In the brink of switching OS or pros and cons of operanting systems. stf92 General 25 02-19-2018 03:30 PM
pros and cons -- small "linux box server" versus dedicated "NAS box" SaintDanBert Linux - Server 1 11-30-2013 03:29 PM
pros and cons of ext4 versus ext2? stf92 Slackware 11 12-30-2012 07:46 PM
Pros and Cons of switching to Linux agentchange Linux - Newbie 11 05-31-2006 04:10 AM
What are the Pros versus Cons with File Integrity Detection Systems 2backitup Linux - Security 7 03-02-2006 06:47 PM

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

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