[SOLVED] You need the GPG key of Slackware Linux Project
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.
I've just attempted to upgrade my Slackware-Current. It said I needed a new slackpkg and I needed to copy slackpkg.conf.new to slackpkg.conf and rerun. I did so, but it then said I needed a new gpg key. So, I ran 'slackpkg update gpg'. Now I get "You need the GPG key of Slackware Linux Project ...", and am advised to run'slackpkg update gpg' again, but the upgrade still fails with the same error. This issues has been posted elsewhere, https://www.linuxquestions.org/quest...pg-4175603573/ and https://www.linuxquestions.org/quest...48#post6052148, but neither thread end up with a satisfactory solution.
The first thread suggested removing the redirect to /dev/null in the line:
Depends on when you last ran slackpkg update.
Guessing now, but it looks like before February 15.
Not a problem!
When you changed slackpkg.conf AND blacklist + mirrors
Did you also edit these files?
mirrors (in my case) was set to use Slackware 14.2 and not current, so I had to fix that.
blacklist (in my case) did not have anything blacklisted, so I also had to fix that.
Once done, I re-ran slackpkg update, slackpkg install-new, slackpkg upgrade-all
and it went through without any major problems (I did at first get a message regarding my installed kernels, I have several installed. So I had to edit the blacklist file again).
That should work. IF not, please do tell how you did your update step by step.
Did you upgrade slackpkg first? If so that is most probably the origin of your trouble.
With the massive rebuild, you have to upgrade packages in a certain order. Loosely based on the slackware UPGRADE.TXT instructions, I proceeded as follows:
Code:
$ slackpkg update
$ slackpkg upgrade aaa_glibc-solibs aaa_libraries glibc # first thing first, upgrade glibc packages, I also upgrade aaa_libraries here but it might not be needed at this step
$ slackpkg upgrade pkgtools tar xz findutils readline sed # dependencies for slackpkg
$ slackpkg upgrade slackpkg
$ slackpkg update # I never got prompted to update gpg keys
$ slackpkg install-new
$ slackpkg upgrade-all
$ slackpkg clean-system
This is assuming that aaa_glibc-solibs package is already installed. Refer to current changelog otherwise:
Quote:
+--------------------------+
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
a/aaa_glibc-solibs-2.32-x86_64-2.txz: Added.
This package has been renamed from glibc-solibs, which helps avoid trouble
if someone upgrades using "upgradepkg --install-new */*.txz" by upgrading
this package before aaa_libraries. Otherwise, if aaa_libraries is upgraded
first any libraries in it that are linked against a newer version of glibc
than the one installed on the system would refuse to load.
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Upgraded: libcap.so.2.48, libelf-0.183.so, libglib-2.0.so.0.6600.6,
libgmodule-2.0.so.0.6600.6, libgobject-2.0.so.0.6600.6,
libgthread-2.0.so.0.6600.6.
Added: libtirpc.so.3.0.0.
Depends on when you last ran slackpkg update.
Guessing now, but it looks like before February 15.
Not a problem!
When you changed slackpkg.conf AND blacklist + mirrors
Did you also edit these files?
mirrors (in my case) was set to use Slackware 14.2 and not current, so I had to fix that.
blacklist (in my case) did not have anything blacklisted, so I also had to fix that.
After doing the update and upgrade-all, I was prompted to update my gpg and re-run slackpkg upgrade. The only thing I did, per prompting, was to copy the slackpkg.conf.new to slackpkg.conf. I did not modify either mirrors or blacklist. After getting your suggestions, I did try changing my mirror, but mine was originally set to a slackware-current mirror in the first place. What did you change in blacklist?
Quote:
Once done, I re-ran slackpkg update, slackpkg install-new, slackpkg upgrade-all
and it went through without any major problems (I did at first get a message regarding my installed kernels, I have several installed. So I had to edit the blacklist file again).
That should work. IF not, please do tell how you did your update step by step.
Steps are simple: Running slackpkg upgrade gives:
Code:
You need the GPG key of Slackware Linux Project <security@slackware.com>.
To download and install that key, run:
# slackpkg update gpg
You can disable GPG checking too, but it is not a good idea.
To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG
variable to off - you can see an example in the original slackpkg.conf.new
file distributed with slackpkg.
I then run 'slackpkg update gpg' and get:
Code:
Downloading https://mirrors.slackware.com/slackware/slackware64-current/GPG-KEY...
--2021-02-22 13:07:05-- https://mirrors.slackware.com/slackware/slackware64-current/GPG-KEY
Resolving mirrors.slackware.com (mirrors.slackware.com)... 207.223.116.213
Connecting to mirrors.slackware.com (mirrors.slackware.com)|207.223.116.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1572 (1.5K)
Saving to: ‘/tmp/slackpkg.FPzubU/gpgkey’
/tmp/slackpkg.FPzubU/gpgkey 100%[========= ... ===========>] 1.54K --.-KB/s in 0s
2021-02-22 13:07:05 (239 MB/s) - ‘/tmp/slackpkg.FPzubU/gpgkey’ saved [1572/1572]
gpg: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
That's it. Stuck there.
Quote:
Originally Posted by gegechris99
Did you upgrade slackpkg first? If so that is most probably the origin of your trouble.
No I did not. Only after running update and then upgrade-all did I get the notice that slackpkg was itself upgraded and I needed to rerun slackpkg. When I did, I got the notice to update gpg. After doing that is when I ran into the problem.
Note that I am not upgrading from 14.2. This was a clean install of Current and I've done a couple of upgrades since installing.
Also, I tried changing the value of the CHECKGPG in slackpkg.conf to off, but I get the error:
Code:
awk: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
and nothing gets updated. I find this all a bit irritating as I followed the on-screen instructions exactly and this is the result.
Is there a way to force the installation of libc.so.6 version GLIBC_2.33? Other ideas?
CHECKGPG=off in /etc/slackpkg/slackpkg.conf
and then :
slackpkg upgrade aaa_glibc-solibs
Then :
CHECKGPG=on in /etc/slackpkg/slackpkg.conf
and redo the usual sequence.
After doing the update and upgrade-all, I was prompted to update my gpg and re-run slackpkg upgrade. The only thing I did, per prompting, was to copy the slackpkg.conf.new to slackpkg.conf. I did not modify either mirrors or blacklist. After getting your suggestions, I did try changing my mirror, but mine was originally set to a slackware-current mirror in the first place. What did you change in blacklist?
I moved (mv) the slackpkg.conf to slackpkg.conf.old and moved slackpkg.conf.new to slackpkg.conf
Once done I did the same thing with the blacklist.new and mirrors.new files.
When I ran slackpkg update, I noticed that it wanted to download the 14.2 related packages, not the current related packages.
This is how I found out that mirrors was set using 14.2 instead of current.
So I hit cancel and edited mirrors files. Re-ran slackpkg update etc, that solved it for me.
Quote:
Steps are simple: Running slackpkg upgrade gives:
Code:
You need the GPG key of Slackware Linux Project <security@slackware.com>.
To download and install that key, run:
# slackpkg update gpg
You can disable GPG checking too, but it is not a good idea.
To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG
variable to off - you can see an example in the original slackpkg.conf.new
file distributed with slackpkg.
I then run 'slackpkg update gpg' and get:
Code:
Downloading https://mirrors.slackware.com/slackware/slackware64-current/GPG-KEY...
--2021-02-22 13:07:05-- https://mirrors.slackware.com/slackware/slackware64-current/GPG-KEY
Resolving mirrors.slackware.com (mirrors.slackware.com)... 207.223.116.213
Connecting to mirrors.slackware.com (mirrors.slackware.com)|207.223.116.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1572 (1.5K)
Saving to: ‘/tmp/slackpkg.FPzubU/gpgkey’
/tmp/slackpkg.FPzubU/gpgkey 100%[========= ... ===========>] 1.54K --.-KB/s in 0s
2021-02-22 13:07:05 (239 MB/s) - ‘/tmp/slackpkg.FPzubU/gpgkey’ saved [1572/1572]
gpg: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
As for the rest, it's my guessing. mirrors and blacklist files are the same you used before updating slackpkg?
Make sure these are replaced with the *.new as well.
# slackpkg search aaa_glibc-solibs
awk: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
Looking for aaa_glibc-solibs in package list. Please wait... DONE
No package name matches the pattern.
Nor are these packages found in /var/log/packages. In fact, I get "GLIBC_2.33' not found" and "No package name matches the pattern" for any package I search for, even if it is obviously listed in /var/log/packages.
CHECKGPG=off in /etc/slackpkg/slackpkg.conf
and then :
slackpkg upgrade aaa_glibc-solibs
Then :
CHECKGPG=on in /etc/slackpkg/slackpkg.conf
and redo the usual sequence.
That gives me:
Code:
# slackpkg upgrade aaa_glibc-solibs
Checking local integrity... awk: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
DONE
awk: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
Looking for aaa_glibc-solibs in package list. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
Likewise doing 'install' or 'reinstall' instead of 'upgrade'.
I do have the ld-2.32.so and libc-2.32.so on another -Current system. Could I just copy these to this system's /lib64 and fix up the symlinks, or would that just mess things up further?
# slackpkg search aaa_glibc-solibs
awk: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
Looking for aaa_glibc-solibs in package list. Please wait... DONE
No package name matches the pattern.
Nor are these packages found in /var/log/packages. In fact, I get "GLIBC_2.33' not found" and "No package name matches the pattern" for any package I search for, even if it is obviously listed in /var/log/packages.
Your system is broken. You need to install packages aaa_glibc-solibs and aaa_libraries. You can follow the procedure described in this post. Obviously download the latest version of those two packages and not the version mentioned in the post.
Well, I managed to get it to where I couldn't do anything. Solution: reinstall Slackware-Current. I kept /home and /root to retain some of my settings. Back in action!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.