[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.
Yes, man slackpkg gives bad advice. UPGRADE.TXT tells:
Code:
1. Upgrade your glibc shared libraries. This is important, or things
might go haywire during the next part of the upgrade:
upgradepkg --install-new /root/slackware/a/aaa_glibc-solibs-*.txz
[QUOTE=Petri Kaukasoina;6460943]Yes, man slackpkg gives bad advice. UPGRADE.TXT tells:
Code:
1. Upgrade your glibc shared libraries. This is important, or things
might go haywire during the next part of the upgrade:
upgradepkg --install-new /root/slackware/a/aaa_glibc-solibs-*.txz
As soon as libunistring gets upgraded I then get several hundred of these errors
most of which have scrolled off-screen.
Code:
Package: xwininfo-1.1.6-x86_64-1.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/x/xwininfo-1.1.6-x86_64-1.txz...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/x/xwininfo-1.1.6-x86_64-1.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
Package: xwud-1.0.6-x86_64-1.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/x/xwud-1.0.6-x86_64-1.txz...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/x/xwud-1.0.6-x86_64-1.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
Package: xxHash-0.8.2-x86_64-1.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/xxHash-0.8.2-x86_64-1.txz...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/xxHash-0.8.2-x86_64-1.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
Package: xz-5.4.4-x86_64-1.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/a/xz-5.4.4-x86_64-1.txz...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/a/xz-5.4.4-x86_64-1.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
Package: yptools-4.2.3-x86_64-6.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/n/yptools-4.2.3-x86_64-6.txz...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/n/yptools-4.2.3-x86_64-6.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
Package: zlib-1.3-x86_64-1.txz
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/zlib-1.3-x86_64-1.txz...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/zlib-1.3-x86_64-1.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
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...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/ap/zsh-5.9-x86_64-1.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
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...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Downloading http://192.168.1.11/slackware/slackware64-current/./slackware64/l/zstd-1.5.5-x86_64-3.txz.asc...
wget: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
ERROR - Package not installed! Not found error!
I'll try again but this time I'll try waiting till all other packages have been upgraded before upgrading libunistring.
It's a good thing that I keep a 100% backup of the system to restore otherwise I'd need to re-install from scratch.
For some reason your slackpkg downloads one package at a time, then installs it, and downloads the next one, and so on.
You upgraded libunistring before wget. The old wget stopped working because it is built against the older libunistring you didn't have any longer. Without wget slackpkg didn't download any longer.
If you upgrade wget before libunistring, wget will stop working because it is built against the newer libunistring you don't have yet. Without wget slackpkg won't download any longer.
Because of this chicken-and-egg problem /etc/slackpkg/slackpkg.conf has this on:
Code:
# If this variable is set to "on", all files will be downloaded before the
# requested operation (install or upgrade) is performed. If set to "off",
# then the files will be downloaded and the operation (install/upgrade)
# performed one by one. Default=on
DOWNLOAD_ALL=on
Have you changed it?
Last edited by Petri Kaukasoina; 10-26-2023 at 02:32 PM.
For some reason your slackpkg downloads one package at a time, then installs it, and downloads the next one, and so on.
You upgraded libunistring before wget. The old wget stopped working because it is built against the older libunistring you didn't have any longer. Without wget slackpkg didn't download any longer.
If you upgrade wget before libunistring, wget will stop working because it is built against the newer libunistring you don't have yet. Without wget slackpkg won't download any longer.
Because of this chicken-and-egg problem /etc/slackpkg/slackpkg.conf has this on:
Code:
# If this variable is set to "on", all files will be downloaded before the
# requested operation (install or upgrade) is performed. If set to "off",
# then the files will be downloaded and the operation (install/upgrade)
# performed one by one. Default=on
DOWNLOAD_ALL=on
Have you changed it?
Yes, I changed it to DOWNLOAD_ALL=off so that I can watch each package being upgraded.
Excellent instructions as always by Petri K.
I'm lazy. I would just back up my important things: docs, pictures, etc. and then download a slackware64-current ISO from tadgy and do a clean install of -current. Then restore your data from back-ups.
Since I had this problem following current a while back, I always keep a copy of my targeted Slackware tree(s) with rsync (thanks AlienBob !) and upgrade with basic
Code:
upgradepkg --terse *.t?z
I check the changelog for additions and deletions.
Hmmmm.... it seems that _this_ is not working correctly.
Code:
+--------------------------+
Mon Feb 8 05:13:26 UTC 2021
ap/slackpkg-15.0-noarch-1.txz: Upgraded.
These are some of the important changes (see the ChangeLog for more):
Note that this slackpkg release contains a backwards-incompatible change to
the blacklisting syntax (e.g. glibc ---> glibc-*). This changes the prior
behavior of the blacklist function; previously, adding "glibc" to the
blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al to be
ignored by slackpkg. The new behavior is that *only* the glibc package is
ignored. If you want to blacklist all packages whose names begin with glibc,
you would need to add "glibc.*" to the blacklist now. Also note that any
special characters, e.g. "+", will need to be escaped in the blacklist file.
To blacklist entire package sets, a trailing slash is now required: e.g. kde/
Another backwards-incompatibility warning: check-updates will now return 1 if
there are updates available - this will make it easier to use this feature
with cron (thanks to Peter Hyman).
Added support for Slackware-AArch64 (thanks to Stuart Winter).
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine. <----
[If that worked correctly, we _shouldn't_ need to first upgrade aaa_glibc-solibs manually before proceeding with an upgrade.]
Thanks to Robby Workman for the new slackpkg release!
_________________
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine. <----
[If that worked correctly, we _shouldn't_ need to first upgrade aaa_glibc-solibs manually before proceeding with an upgrade.]
Yes, it's taken care in slackpkg upgrade-all. Packages pkgtools, aaa_glibc-solibs, glibc-solibs, aaa_libraries, aaa_elflibs, readline, sed are in the "do these first" list. But before that you ran slackpkg install-new, and it only installs new 'Added' packages, it does not upgrade, so the "do these first" list was not considered. wget stopped working already when slackpkg install-new installed openssl11.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.