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 03-07-2024, 01:48 PM   #1
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Rep: Reputation: 169Reputation: 169
Running slackpkg update. gpg package not found!


I tried to install yesterday's -current updates and got part way through before many packages failed due to gpg errors. I re-ran slackpkg and got this message:

Code:
Running slackpkg update.

gpg package not found!  Please disable GPG in /etc/slackpkg/slackpkg.conf or install
the gnupg package.
I installed gnupg:
Quote:
Package gnupg-1.4.23-x86_64-6.txz installed.
But this does not seem to have fixed the problem.

I see from the changelog:

Quote:
Wed Mar 6 21:30:27 UTC 2024
...
n/gnupg-1.4.23-x86_64-6.txz: Rebuilt.
Renamed binaries and manpages to end in 1, and renamed internally to gnupg1.
Thanks to Lockywolf.
n/gnupg2-2.4.4-x86_64-2.txz: Rebuilt.
Make a gpg -> gpg2 symlink if it doesn't exist. Thanks to Lockywolf.
I assume gpg should be in /usr/bin but it isn't there so I can't make a gpg -> gpg2 symlink manually:
Code:
root@amber:/usr/bin# ls /usr/bin/gpg
/bin/ls: cannot access '/usr/bin/gpg': No such file or directory
I do have /usr/bin/gpg1 and /usr/bin/gpg2
How should I proceed?
 
Old 03-07-2024, 01:51 PM   #2
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Rep: Reputation: 156Reputation: 156
Got the same error, install pkg doesn't seem to create the symlink.
 
1 members found this post helpful.
Old 03-07-2024, 02:23 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,508

Rep: Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468Reputation: 8468
The gnupg(1) package will never create the symlink. Only the gnupg2 package will, and only if /usr/bin/gpg doesn't exist.

Upgrading these in the expected order (gnupg, gnupg2) should properly create the link. But if you upgrade in the reverse order, you won't have the link until the next gnupg2 upgrade.

Luckily that'll be today.
 
10 members found this post helpful.
Old 03-07-2024, 02:31 PM   #4
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by volkerdi View Post
The gnupg(1) package will never create the symlink. Only the gnupg2 package will, and only if /usr/bin/gpg doesn't exist.

Upgrading these in the expected order (gnupg, gnupg2) should properly create the link. But if you upgrade in the reverse order, you won't have the link until the next gnupg2 upgrade.

Luckily that'll be today.
Thank you Patrick
 
Old 03-07-2024, 02:39 PM   #5
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Original Poster
Rep: Reputation: 169Reputation: 169
@dr.s

If it helps you, I got the symlink by commenting out CHECKPKG=on in /etc/slackpkg/slackpkg.conf and re-running Wednesday's updates.
Quote:
lrwxrwxrwx 1 root root 4 Mar 7 20:15 gpg -> gpg2
They completed successfully and the link was there.
 
1 members found this post helpful.
Old 03-08-2024, 12:34 PM   #6
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 565

Rep: Reputation: Disabled
Thumbs up

Same error yesterday.
Appears fixed today.

# slackpkg search gnupg

Looking for gnupg in package list. Please wait... DONE

The list below shows all packages with name matching "gnupg".

[upgr] slackware64 : gnupg2-2.4.4-x86_64-2 --> gnupg2-2.4.5-x86_64-1
[inst] slackware64 : gnupg-1.4.23-x86_64-6


# slackpkg upgrade-all

=========================================================
slackpkg was upgrades or slackpkg+ was temporary disabled
We need to force 'slackpkg update' to re-enable slackpkg+
Then you can re-run 'upgrade-all' command
=========================================================


==============================================================================
INFO! Debug informations
------------------------------------------------------------------------------
slackpkg forced to rebuild pkglist database
Please may try 'slackpkg upgrade-all ' now
==============================================================================

# slackpkg upgrade-all

Checking local integrity... DONE
Looking for packages to upgrade. Please wait... DONE

Preparing list [107/107]



No further errors towards gpg
 
Old 03-09-2024, 08:02 PM   #7
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 535

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
This bit me.. recreated symlink for gpg from gpg2 and all was well after
 
  


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
[SOLVED] Slackware64 15.0 can't update slackpkg or update gpg key for slackpkg ccoffee Slackware 3 01-08-2023 04:48 PM
[SOLVED] I have run slackpkg update gpg instead of slackpkg update amikoyan Slackware 13 08-15-2021 02:12 AM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 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

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

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