LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-27-2023, 07:23 PM   #31
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 319

Rep: Reputation: 210Reputation: 210Reputation: 210

Quote:
Originally Posted by glennmcc View Post
Nope....

If install-new is done before upgrade-all...
_that_ is when upgrade aaa_glibc-solibs MUST come first and then install-new comes _second_.

And in cases where wget comes into play for upgrade-all, DOWNLOAD_ALL=on is required.
I've added the "slackpkg download slackware64" line to my post above which solves the main problem (wget failing). I still don't recommend doing the second upgrade-all...as since it's such a long step, I'd rather do it once and walk away and have it fully complete, rather than fail halfway and do it again.

Last edited by fourtysixandtwo; 10-27-2023 at 07:24 PM.
 
Old 10-27-2023, 07:42 PM   #32
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-current
Posts: 514

Original Poster
Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
Originally Posted by Jan K. View Post
Well, then I'll thank you for said stubbornness!

Good thread.
Well, if nothing else, many thanks to Petri,
this thread has resulted in a set of steps that work to correctly upgrade from 15.0 to current.
 
Old 10-27-2023, 08:35 PM   #33
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-current
Posts: 514

Original Poster
Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
Originally Posted by fourtysixandtwo View Post
I've added the "slackpkg download slackware64" line to my post above which solves the main problem (wget failing). I still don't recommend doing the second upgrade-all...as since it's such a long step, I'd rather do it once and walk away and have it fully complete, rather than fail halfway and do it again.

That 2nd running of 'slackpkg upgrade-all' is required.

As you'll see, after slackpkg itself gets upgraded,
it displays the massage that the upgrade process must be started over.

Code:
	Package slackpkg-15.0.10-noarch-2.txz is already in cache - not downloading
	Upgrading slackpkg-15.0.10-noarch-2...

+==============================================================================
| Upgrading slackpkg-15.0.10-noarch-1 package using ./slackpkg-15.0.10-noarch-2.txz
+==============================================================================
Pre-installing package slackpkg-15.0.10-noarch-2...
Removing package: slackpkg-15.0.10-noarch-1-upgraded-2023-10-27,21:41:28
Verifying package slackpkg-15.0.10-noarch-2.txz.
Installing package slackpkg-15.0.10-noarch-2.txz:
PACKAGE DESCRIPTION:
# slackpkg (Slackware package upgrade manager)
#
# Slackpkg is an upgrade manager for Slackware packages. It can
# download, upgrade, install, and remove selected packages using an
# official Slackware package repository. With it, you can also
# search in the Slackware Package database and find which package
# has the selected file.
#
# Slackpkg DOES NOT replace the Slackware pkgtools; actually,
# Slackpkg uses pkgtools for the install/upgrade/remove functions.
#
Executing install script for slackpkg-15.0.10-noarch-2.txz.
Package slackpkg-15.0.10-noarch-2.txz installed.
Package slackpkg-15.0.10-noarch-1 upgraded with new package ./slackpkg-15.0.10-noarch-2.txz.
slackpkg was upgraded - you will need start the upgrade process again...


BTW... your 'slackpkg download slackware64' will take a TON of time because that will download EVERY package
in tree that's not blacklisted whether or not it needs to be upgraded.

Last edited by glennmcc; 10-27-2023 at 08:48 PM.
 
Old 10-27-2023, 08:53 PM   #34
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 319

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by glennmcc View Post
That 2nd running of 'slackpkg upgrade-all' is required.

As you'll see, after slackpkg itself gets upgraded,
it displays the massage that the upgrade process must be started over.

Code:
	Package slackpkg-15.0.10-noarch-2.txz is already in cache - not downloading
	Upgrading slackpkg-15.0.10-noarch-2...

+==============================================================================
| Upgrading slackpkg-15.0.10-noarch-1 package using ./slackpkg-15.0.10-noarch-2.txz
+==============================================================================
Pre-installing package slackpkg-15.0.10-noarch-2...
Removing package: slackpkg-15.0.10-noarch-1-upgraded-2023-10-27,21:41:28
Verifying package slackpkg-15.0.10-noarch-2.txz.
Installing package slackpkg-15.0.10-noarch-2.txz:
PACKAGE DESCRIPTION:
# slackpkg (Slackware package upgrade manager)
#
# Slackpkg is an upgrade manager for Slackware packages. It can
# download, upgrade, install, and remove selected packages using an
# official Slackware package repository. With it, you can also
# search in the Slackware Package database and find which package
# has the selected file.
#
# Slackpkg DOES NOT replace the Slackware pkgtools; actually,
# Slackpkg uses pkgtools for the install/upgrade/remove functions.
#
Executing install script for slackpkg-15.0.10-noarch-2.txz.
Package slackpkg-15.0.10-noarch-2.txz installed.
Package slackpkg-15.0.10-noarch-1 upgraded with new package ./slackpkg-15.0.10-noarch-2.txz.
slackpkg was upgraded - you will need start the upgrade process again...


BTW... your 'slackpkg download slackware64' will take a TON of time because that will download EVERY package
in tree that's not blacklisted whether or not it needs to be upgraded.
Which it has to be done anyways, so just do it first (it can also be moved down to just before install-new. You also missed my statement about upgrading pkgtools and slackpkg by themselves first which is better than upgrading it mid process (and no 2nd upgrade-all that way).
 
Old 10-27-2023, 09:00 PM   #35
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-current
Posts: 514

Original Poster
Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
Originally Posted by fourtysixandtwo View Post
Which it has to be done anyways, so just do it first (it can also be moved down to just before install-new. You also missed my statement about upgrading pkgtools and slackpkg by themselves first which is better than upgrading it mid process (and no 2nd upgrade-all that way).


upgrade-all downloads and installs _only_ those packages which need to be upgraded.

'slackpkg download slackware64' downloads _ALL_ packages... over 3GIGs worth.

That includes all packages that _DO NOT_ need to be upgraded
_PLUS_ all packages that are not even installed at-all.

In this particular case... 1524 files totaling 1.7GIGs were downloaded that did not need to be.

http://glennmcc.dynu.com/upgrade-all...lackware64.png

As to slackpkg & pkgtools....

That does not happen mid-process..... slackpkg & pkgtools _ARE_ the very first 2 that get upgraded _BEFORE_ any others.

Last edited by glennmcc; 10-29-2023 at 02:53 AM.
 
  


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
[Slackware64 15.1-current] KDE: attempting select application style menu entry crashes dchmelik Slackware 2 07-16-2022 11:54 PM
current+KDE 4.7.4 attempting to install kernel 3.1.5 aocab Slackware 9 02-02-2012 05:16 PM
Error Message When attempting upgrade to 8.04 lts ericbrown56 Linux - Newbie 5 01-13-2009 06:52 AM
Attempting to recover from Xandros SP2 upgrade jtoad Debian 3 07-20-2005 05:15 AM
Apt Hangs when attempting upgrade shane25119 Debian 5 06-16-2004 06:42 PM

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

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