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 06-16-2019, 06:30 PM   #1
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Rep: Reputation: 258Reputation: 258Reputation: 258
Upgraded to Slackware64-current.


I upgraded to current yesterday

My apologies in advance if the answer is obvious but I have a question about one instruction.

I used Alien Bob's rsync_current.sh script to create a local mirror and upgraded my system using Pat's instructions in UPGRADE.TXT with a few modifications such as which packages to remove, etc.

From /slackware/slackware64-current/UPGRADE.TXT:

Quote:
...

1. Upgrade your glibc shared libraries. This is important, or things
might go haywire during the next part of the upgrade:

upgradepkg /root/slackware/a/glibc-solibs-*.txz


2. Upgrade your package utilities and related tools:

upgradepkg /root/slackware/a/pkgtools-*.txz
upgradepkg /root/slackware/a/tar-*.txz
upgradepkg /root/slackware/a/xz-*.txz
upgradepkg /root/slackware/a/findutils-*.txz



3. Upgrade everything else (and install new packages):

upgradepkg --install-new /root/slackware/*/*.t?z

...
I understand why we upgrade glibc first, but...

is the reason we update the package tools and related tools before the rest of the system, rather than with the rest of the system, because we want to use the new package tools as soon as possible? Because of security updates, etc? Is there a different reason, or more reasons?

Any clarification would be greatly appreciated.

Thank you.
 
Old 06-16-2019, 06:57 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Quote:
Originally Posted by Mechanikx View Post

is the reason we update the package tools and related tools before the rest of the system, rather than with the rest of the system, because we want to use the new package tools as soon as possible?
Yes
 
1 members found this post helpful.
Old 06-16-2019, 08:21 PM   #3
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,572

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Or you can grab Alien Bob's liveslak. That's what I did, but I was working with a brand-new drive.
 
1 members found this post helpful.
Old 06-16-2019, 08:26 PM   #4
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
There's also an ISO for Slackware64-current.

http://bear.alienbase.nl/mirrors/sla...4-current-iso/
 
2 members found this post helpful.
Old 06-16-2019, 11:41 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Hello,

Quote:
Originally Posted by Mechanikx View Post
is the reason we update the package tools and related tools before the rest of the system, rather than with the rest of the system, because we want to use the new package tools as soon as possible? Because of security updates, etc? Is there a different reason, or more reasons?
I am not running Slackware-current but my assumption is that the package management system has had major changes that have to be applied first so that they be fully effective before installing other packages. This includes the migration of the package database and directories from /var/log to /var/lib/pkgtools. If I am wrong, please someone correct me.
 
1 members found this post helpful.
Old 06-17-2019, 12:38 AM   #6
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Didier Spaier View Post
This includes the migration of the package database and directories from /var/log to /var/lib/pkgtools.
And the usage of the newest tar version instead of the 1.13 release that was used by the older pkgtools package:
Quote:
echo "WARNING: pkgtools are unstable with tar > 1.13."
echo " You should provide a "tar-1.13" in your \$PATH."
This was changed early in the pkgtools-15.0 series of updates.
 
1 members found this post helpful.
Old 06-17-2019, 01:49 PM   #7
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 258Reputation: 258Reputation: 258
@garpu @hitest

For my first upgrade I wanted to try the manual method. I enjoyed it so I'm going to stick with it. But thank you for your recommendations. It's much appreciated
 
Old 06-17-2019, 01:56 PM   #8
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by Didier Spaier View Post
Hello,

I am not running Slackware-current but my assumption is that the package management system has had major changes that have to be applied first so that they be fully effective before installing other packages. This includes the migration of the package database and directories from /var/log to /var/lib/pkgtools. If I am wrong, please someone correct me.
That makes sense. Thank you
 
Old 06-17-2019, 01:58 PM   #9
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by ehartman View Post
And the usage of the newest tar version instead of the 1.13 release that was used by the older pkgtools package:
This was changed early in the pkgtools-15.0 series of updates.
Great. Thank you
 
Old 06-21-2019, 10:24 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I know I'm late to this, but there can be many reasons to upgrade the package tools before the rest of the system. Didier and ehartman have covered some of the recent reasons, but another major one happened quite a few years back when Pat added support for multiple compression options for packages and started compressing his packages using xz.

If you had simply upgraded the whole distro at once, you would not have had support for the new .txz packages that Pat had in the repo.
 
1 members found this post helpful.
Old 06-21-2019, 04:42 PM   #11
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by bassmadrigal View Post
If you had simply upgraded the whole distro at once, you would not have had support for the new .txz packages that Pat had in the repo.
In fact the gzip package in 13.0 (64bit) was one of the few packages left in .tgz form too, so that you could unpack the distributed pkgtools:
Quote:
a/pkgtools-13.0-noarch-3.tgz: Rebuilt.
The xz package itself was still the 12.x one so with the new pkgtools you could then unpack all of the new .txz archives
 
1 members found this post helpful.
  


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
Brightness function keys not working on Slackware64 & Slackware64 current Andersen Slackware 7 01-15-2018 04:27 AM
Firefox in Slackware64-current now xap/mozilla-firefox-55.0.3-x86_64-1.txz: Upgraded. onebuck Slackware 8 08-26-2017 07:27 PM
[SOLVED] Updating through slackpkg didnt upgraded the kernel in slackware64-current sinar.kk Slackware 10 02-26-2016 06:08 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM

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

All times are GMT -5. The time now is 02:54 AM.

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