LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-22-2021, 10:32 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Rep: Reputation: 179Reputation: 179
You need the GPG key of Slackware Linux Project


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:
Code:
#                       gpg --yes --batch --delete-key "$SLACKKEY" &>/dev/null
                        gpg --yes --batch --delete-key "$SLACKKEY"
to see what exactly is the error, which I did and I get the error:
Code:
gpg: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libreadline.so.8)
That lib is present on this system, though apparently not version GLIBC_2.33.

Any ideas on how to fix this? I have another Slackware-Current system I want to update, but dare not until I can figure this out.
 
Old 02-22-2021, 10:47 AM   #2
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
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.
 
Old 02-22-2021, 10:47 AM   #3
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
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.
 
Old 02-22-2021, 12:14 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Original Poster
Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by MDKDIO View Post
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?

Last edited by mfoley; 02-22-2021 at 12:25 PM.
 
Old 02-22-2021, 01:19 PM   #5
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Do you have those packages installed?

Quote:
aaa_glibc-solibs-2.33-x86_64-1.txz
aaa_libraries-15.0-x86_64-3.txz
 
Old 02-22-2021, 02:08 PM   #6
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,867

Rep: Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528
What is the output of this command?
Code:
(cd /lib64; ls -l ld-*.so* libc.so.6 libc-*.so*)
 
Old 02-22-2021, 02:55 PM   #7
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 405

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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.
 
1 members found this post helpful.
Old 02-23-2021, 06:40 AM   #8
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by mfoley View Post
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)
It looks like you're doing it like me, chose the https://mirrors.slackware.com/slackw...are64-current/
for mirror (so it picks the closest mirror. Being my guessing as it doesn't always work that way).

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.
 
Old 02-25-2021, 04:20 PM   #9
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
I've always wondered why the GPG key is not put right smack in the middle of the first/main page of the web site.
 
1 members found this post helpful.
Old 02-27-2021, 01:22 PM   #10
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Original Poster
Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by gegechris99 View Post
Code:
aaa_glibc-solibs-2.33-x86_64-1.txz
aaa_libraries-15.0-x86_64-3.txz
Do you have those packages installed?
No. I get:
Code:
# 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.
Quote:
Originally Posted by Petri Kaukasoina View Post
What is the output of this command?
Code:
(cd /lib64; ls -l ld-*.so* libc.so.6 libc-*.so*)
Code:
# (cd /lib64; ls -l ld-*.so* libc.so.6 libc-*.so*)
-rwxr-xr-x 1 root root  191376 2019-09-10 13:11 ld-2.30.so*
lrwxrwxrwx 1 root root      10 2020-06-16 11:27 ld-linux-x86-64.so.2 -> ld-2.30.so*
-rwxr-xr-x 1 root root 2207064 2019-09-10 13:11 libc-2.30.so*
-rwxr-xr-x 1 root root 2177624 2021-02-22 11:04 libc-2.32.so*
lrwxrwxrwx 1 root root      12 2020-06-16 11:27 libc.so.6 -> libc-2.30.so*
Quote:
Originally Posted by BrunoLafleur View Post
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?
 
Old 02-27-2021, 02:14 PM   #11
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Quote:
Originally Posted by mfoley View Post
No. I get:
Code:
# 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.
 
1 members found this post helpful.
Old 03-05-2021, 03:52 PM   #12
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Original Poster
Rep: Reputation: 179Reputation: 179
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!
 
  


Reply

Tags
slackware -current, upgrade failure



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
gpg / gpg-agent -- Can't connect to /root/.gnupg/S.gpg-agent jrtayloriv Linux - Security 9 06-03-2019 10:06 AM
Import private key generated from gpg 2.2.10 into gpg 2.0.31 john2x Slackware 0 10-29-2018 03:44 PM
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 09:37 AM
can see gpg key in apt-key, still can't update Dan63043 Ubuntu 2 09-25-2006 11:35 AM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM

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

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