[SOLVED] Problem attempting to upgrade 15.0 to current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Exactly that. The slackpkg distro upgrade is only guaranteed to work from one stable version to the next. For slackware-current, do not rely on these automation tools, just follow the UPGRADE.TXT.
slackpkg update
slackpkg upgrade-all
slackpkg upgrade-all (again after slackpkg itself is upgraded)
slackpkg install-new
slackpkg clean-system
______________
So-long-as 'DOWNLOAD_ALL=on' is in slackpkg.conf _and_ upgrade-all is done twice _before_ install-new
everything goes exactly as intended _without_ manually upgrading aaa_gilbc-solibs before proceeding.
The first package to be upgraded was slackpkg itself therefore requiring a re-run of upgrade-all
which re-downloads the package lists.
All remaining packages were then downloaded.
The next package to be upgraded was pkgtools and then each of those in 'do these first'
including the most important one of aaa_glibc-solibs.
Code:
Package: zsh-5.9-x86_64-1.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/ap/zsh-5.9-x86_64-1.txz...
--2023-10-27 14:41:20-- http://192.168.1.11/slackware/slackware64-current/slackware64/ap/zsh-5.9-x86_64-1.txz
Connecting to 192.168.1.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3156392 (3.0M)
Saving to: '//var/cache/packages/./slackware64/ap/zsh-5.9-x86_64-1.txz'
//var/cache/packages/./slackwar 100%[=====================================================>] 3.01M --.-KB/s in 0.03s
2023-10-27 14:41:20 (108 MB/s) - '//var/cache/packages/./slackware64/ap/zsh-5.9-x86_64-1.txz' saved [3156392/3156392]
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/ap/zsh-5.9-x86_64-1.txz.asc...
--2023-10-27 14:41:20-- http://192.168.1.11/slackware/slackware64-current/slackware64/ap/zsh-5.9-x86_64-1.txz.asc
Connecting to 192.168.1.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [application/pgp-signature]
Saving to: '//var/cache/packages/./slackware64/ap/zsh-5.9-x86_64-1.txz.asc'
//var/cache/packages/./slackwar 100%[=====================================================>] 163 --.-KB/s in 0s
2023-10-27 14:41:20 (9.08 MB/s) - '//var/cache/packages/./slackware64/ap/zsh-5.9-x86_64-1.txz.asc' saved [163/163]
Package: zstd-1.5.5-x86_64-3.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/zstd-1.5.5-x86_64-3.txz...
--2023-10-27 14:41:20-- http://192.168.1.11/slackware/slackware64-current/slackware64/l/zstd-1.5.5-x86_64-3.txz
Connecting to 192.168.1.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 547304 (534K)
Saving to: '//var/cache/packages/./slackware64/l/zstd-1.5.5-x86_64-3.txz'
//var/cache/packages/./slackwar 100%[=====================================================>] 534.48K --.-KB/s in 0.005s
2023-10-27 14:41:20 (112 MB/s) - '//var/cache/packages/./slackware64/l/zstd-1.5.5-x86_64-3.txz' saved [547304/547304]
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/zstd-1.5.5-x86_64-3.txz.asc...
--2023-10-27 14:41:20-- http://192.168.1.11/slackware/slackware64-current/slackware64/l/zstd-1.5.5-x86_64-3.txz.asc
Connecting to 192.168.1.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [application/pgp-signature]
Saving to: '//var/cache/packages/./slackware64/l/zstd-1.5.5-x86_64-3.txz.asc'
//var/cache/packages/./slackwar 100%[=====================================================>] 163 --.-KB/s in 0s
2023-10-27 14:41:20 (24.4 MB/s) - '//var/cache/packages/./slackware64/l/zstd-1.5.5-x86_64-3.txz.asc' saved [163/163]
Package pkgtools-15.1-noarch-7.txz is already in cache - not downloading
Upgrading pkgtools-15.1-noarch-7...
+==============================================================================
| Upgrading pkgtools-15.0-noarch-42 package using ./pkgtools-15.1-noarch-7.txz
+==============================================================================
Pre-installing package pkgtools-15.1-noarch-7...
Removing package: pkgtools-15.0-noarch-42-upgraded-2023-10-27,14:41:20
Verifying package pkgtools-15.1-noarch-7.txz.
Installing package pkgtools-15.1-noarch-7.txz:
PACKAGE DESCRIPTION:
# pkgtools (The Slackware package maintenance system)
#
# This package contains utilities for handling Slackware packages.
# Included are the command line utilities 'installpkg', 'removepkg',
# 'makepkg', 'explodepkg', and 'upgradepkg' that install, remove,
# build, examine, and upgrade software packages. Also included are
# 'pkgtool', a menu based program for installing packages, removing
# packages, or viewing the packages that are installed on the system,
# 'pkgdiff', a utility for comparing two packages, documentation (man
# pages), and a few other system admin scripts.
#
Executing install script for pkgtools-15.1-noarch-7.txz.
Package pkgtools-15.1-noarch-7.txz installed.
Package pkgtools-15.0-noarch-42 upgraded with new package ./pkgtools-15.1-noarch-7.txz.
Package aaa_glibc-solibs-2.38-x86_64-3.txz is already in cache - not downloading
Upgrading aaa_glibc-solibs-2.38-x86_64-3...
+==============================================================================
| Upgrading aaa_glibc-solibs-2.33-x86_64-5 package using ./aaa_glibc-solibs-2.38-x86_64-3.txz
+==============================================================================
Pre-installing package aaa_glibc-solibs-2.38-x86_64-3...
Removing package: aaa_glibc-solibs-2.33-x86_64-5-upgraded-2023-10-27,14:41:24
Verifying package aaa_glibc-solibs-2.38-x86_64-3.txz.
Installing package aaa_glibc-solibs-2.38-x86_64-3.txz:
PACKAGE DESCRIPTION:
# aaa_glibc-solibs (shared GNU C libraries)
#
# This package contains the shared libraries, binaries, and support
# files required to run most Linux applications linked with glibc.
#
Executing install script for aaa_glibc-solibs-2.38-x86_64-3.txz.
Package aaa_glibc-solibs-2.38-x86_64-3.txz installed.
Package aaa_glibc-solibs-2.33-x86_64-5 upgraded with new package ./aaa_glibc-solibs-2.38-x86_64-3.txz.
Package: aaa_glibc-solibs-2.38-x86_64-3.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz...
--2023-10-27 14:41:29-- http://192.168.1.11/slackware/slackware64-current/slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz
Connecting to 192.168.1.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2958128 (2.8M)
Saving to: '//var/cache/packages/./slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz'
//var/cache/packages/./slackwar 100%[=====================================================>] 2.82M --.-KB/s in 0.03s
2023-10-27 14:41:29 (111 MB/s) - '//var/cache/packages/./slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz' saved [2958128/2958128]
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz.asc...
--2023-10-27 14:41:29-- http://192.168.1.11/slackware/slackware64-current/slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz.asc
Connecting to 192.168.1.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [application/pgp-signature]
Saving to: '//var/cache/packages/./slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz.asc'
//var/cache/packages/./slackwar 100%[=====================================================>] 163 --.-KB/s in 0s
2023-10-27 14:41:29 (26.1 MB/s) - '//var/cache/packages/./slackware64/a/aaa_glibc-solibs-2.38-x86_64-3.txz.asc' saved [163/163]
Upgrading aaa_glibc-solibs-2.38-x86_64-3...
+==============================================================================
| Skipping package aaa_glibc-solibs-2.38-x86_64-3 (already installed)
+==============================================================================
Package aaa_libraries-15.1-x86_64-21.txz is already in cache - not downloading
Upgrading aaa_libraries-15.1-x86_64-21...
+==============================================================================
| Upgrading aaa_libraries-15.0-x86_64-19 package using ./aaa_libraries-15.1-x86_64-21.txz
+==============================================================================
Pre-installing package aaa_libraries-15.1-x86_64-21...
Removing package: aaa_libraries-15.0-x86_64-19-upgraded-2023-10-27,14:41:30
--> Deleting /lib64/libz.so.1.2.11
--> Deleting /lib64/libzstd.so.1.5.2
--> Deleting /usr/lib64/libcares.so.2.5.1
--> Deleting /usr/lib64/libcurl.so.4.7.0
--> Deleting /usr/lib64/libexpat.so.1.8.4
--> Deleting /usr/lib64/libffi.so.6.0.4
--> Deleting /usr/lib64/libtiff.so.5.7.0
--> Deleting /usr/lib64/libtiffxx.so.5.7.0
--> Deleting /usr/lib64/libvpx.so.6.4.0
Verifying package aaa_libraries-15.1-x86_64-21.txz.
Installing package aaa_libraries-15.1-x86_64-21.txz:
PACKAGE DESCRIPTION:
# aaa_libraries (shared libraries needed by many programs)
#
# This is a collection of shared libraries needed to run Linux programs.
# These libraries are gathered from other Slackware packages and are
# intended to give a minimal initial set of libraries.
#
Executing install script for aaa_libraries-15.1-x86_64-21.txz.
Package aaa_libraries-15.1-x86_64-21.txz installed.
Package aaa_libraries-15.0-x86_64-19 upgraded with new package ./aaa_libraries-15.1-x86_64-21.txz.
Package readline-8.2.001-x86_64-1.txz is already in cache - not downloading
Upgrading readline-8.2.001-x86_64-1...
+==============================================================================
| Upgrading readline-8.1.002-x86_64-1 package using ./readline-8.2.001-x86_64-1.txz
+==============================================================================
Pre-installing package readline-8.2.001-x86_64-1...
Removing package: readline-8.1.002-x86_64-1-upgraded-2023-10-27,14:41:47
--> Deleting /usr/doc/readline-8.1/CHANGELOG
--> Deleting /usr/doc/readline-8.1/CHANGES
--> Deleting /usr/doc/readline-8.1/COPYING
--> Deleting /usr/doc/readline-8.1/INSTALL
--> Deleting /usr/doc/readline-8.1/MANIFEST
--> Deleting /usr/doc/readline-8.1/README
--> Deleting /usr/doc/readline-8.1/README.rlfe
--> Deleting /usr/doc/readline-8.1/USAGE
--> Deleting /usr/lib64/libhistory.so.8.1
--> Deleting /usr/lib64/libreadline.so.8.1
--> Deleting empty directory /usr/doc/readline-8.1/
Verifying package readline-8.2.001-x86_64-1.txz.
Installing package readline-8.2.001-x86_64-1.txz:
PACKAGE DESCRIPTION:
# readline (line input library with editing features)
#
# The GNU Readline library provides a set of functions for use by
# applications that allow users to edit command lines as they are typed
# in. Both Emacs and vi editing modes are available. The Readline
# library includes additional functions to maintain a list of previously
# entered command lines, to recall and perhaps edit those lines, and
# perform csh-like history expansion on previous commands.
#
Executing install script for readline-8.2.001-x86_64-1.txz.
Package readline-8.2.001-x86_64-1.txz installed.
Package readline-8.1.002-x86_64-1 upgraded with new package ./readline-8.2.001-x86_64-1.txz.
Package sed-4.9-x86_64-1.txz is already in cache - not downloading
Upgrading sed-4.9-x86_64-1...
+==============================================================================
| Upgrading sed-4.8-x86_64-3 package using ./sed-4.9-x86_64-1.txz
+==============================================================================
Pre-installing package sed-4.9-x86_64-1...
Removing package: sed-4.8-x86_64-3-upgraded-2023-10-27,14:41:50
--> Deleting /usr/doc/sed-4.8/AUTHORS
--> Deleting /usr/doc/sed-4.8/BUGS
--> Deleting /usr/doc/sed-4.8/COPYING
--> Deleting /usr/doc/sed-4.8/INSTALL
--> Deleting /usr/doc/sed-4.8/NEWS
--> Deleting /usr/doc/sed-4.8/README
--> Deleting /usr/doc/sed-4.8/THANKS
--> Deleting empty directory /usr/doc/sed-4.8/
Verifying package sed-4.9-x86_64-1.txz.
Installing package sed-4.9-x86_64-1.txz:
PACKAGE DESCRIPTION:
# sed (stream editor)
#
# This is the GNU version of sed, a stream editor. A stream editor is
# used to perform basic text transformations on an input stream (a file
# or input from a pipeline). It is sed's ability to filter text in a
# pipeline which distinguishes it from other types of editors.
#
# sed is a required package (it is needed by many system scripts).
#
Executing install script for sed-4.9-x86_64-1.txz.
Package sed-4.9-x86_64-1.txz installed.
Package sed-4.8-x86_64-3 upgraded with new package ./sed-4.9-x86_64-1.txz.
Package Cython-0.29.36-x86_64-1.txz is already in cache - not downloading
Package GConf-3.2.6-x86_64-8.txz is already in cache - not downloading
As we see, the 'do these first' section of slackpkg
is indeed upgrading aaa_glibc-solibs without needing to do it manually.
There are often patterns like this in ChangeLog.txt:
Code:
Mon Dec 7 21:49:58 UTC 2020
a/elogind-243.7-x86_64-1.txz: Added.
a/procps-ng-3.3.16-x86_64-3.txz: Rebuilt.
Recompiled using --with-elogind.
If you install-new first, libelogind.so.0 is installed, the old ps continues to work, then you upgrade-all, procps gets upgraded, the new ps which needs libelogind.so.0 will work.
But if you upgrade-all first, the new ps won't run without libelogind.so.0 which is not there yet until you install-new.
If you don't run anything else during the upgrade and preferably do it in single-user mode (run level 1), you don't get into trouble if it's about something like ps. But what if it happens to be one of the many commands that slackpkg calls? Like wget. With DOWNLOAD_ALL=on you would download all the packages to be upgraded, they would be upgraded, but then install-new would not be able to load new packages because wget would not work without its new dependency.
There are often patterns like this in ChangeLog.txt:
Code:
Mon Dec 7 21:49:58 UTC 2020
a/elogind-243.7-x86_64-1.txz: Added.
a/procps-ng-3.3.16-x86_64-3.txz: Rebuilt.
Recompiled using --with-elogind.
If you install-new first, libelogind.so.0 is installed, the old ps continues to work, then you upgrade-all, procps gets upgraded, the new ps which needs libelogind.so.0 will work.
But if you upgrade-all first, the new ps won't run without libelogind.so.0 which is not there yet until you install-new.
If you don't run anything else during the upgrade and preferably do it in single-user mode (run level 1), you don't get into trouble if it's about something like ps. But what if it happens to be one of the many commands that slackpkg calls? Like wget. With DOWNLOAD_ALL=on you would download all the packages to be upgraded, they would be upgraded, but then install-new would not be able to load new packages because wget would not work without its new dependency.
All very good points.
Which is why explicit instructions for upgrading the entire system from 15.0 to current or 15.1
need to include that it should be done without anything else running or preferably in runlevel 1
As to the last point about wget... it did indeed run perfectly fine for install-new after upgrade-all
because all required items for the new wget were in-place via upgrade-all before install-new
Everything _did_ go 100% perfectly perfectly an my last remaining 15.0 system is now a current system.
BTW,
Your example does not come into play for 15.0 to current or 15.1 when it comes out.
It certainly would come into play for 14.2 to 15.0 or current or 15.1
It was just an example. What if wget is rebuilt against a new library dependency between 15.0 and 15.1? Or some other of the numerous commands slackpkg script runs.
It was just an example. What if wget is rebuilt against a new library dependency between 15.0 and 15.1? Or some other of the numerous commands slackpkg script runs.
Petri has mentioned you need to do install-new before upgrade-all but you keep repeating the incorrect order, I've fixed it above and added what I mentioned in the other thread.
edit: added download line
Last edited by fourtysixandtwo; 10-27-2023 at 07:18 PM.
Petri has mentioned you need to do install-new before upgrade-all but you keep repeating the incorrect order, I've fixed it above and added what I mentioned in the other thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.