LinuxQuestions.org
Visit Jeremy's Blog.
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 04-29-2022, 04:28 AM   #1
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Rep: Reputation: 153Reputation: 153
No matching GPG-KEY for repository 'extra'


I have a local mirror.

This morning I've done

Quote:
slackpkg update
slackpkg install-new
slackpkg instaLL multilibs
slackpkg upgrade-all
Without issue. This has worked without issue for several years.

For the first time ever I've tried to install something from extra. Namely tightvnc and fltk and get the following errors


Quote:
==============================================================================
WARNING! One or more errors occurred while slackpkg was running
------------------------------------------------------------------------------
No matching GPG-KEY for repository 'extra' checking fltk-1.3.8-x86_64-1.txz
Try to run 'slackpkg update gpg' or disable gpg check
fltk-1.3.8-x86_64-1.txz: gpg
No matching GPG-KEY for repository 'extra' checking tigervnc-1.12.0-x86_64-3.txz
Try to run 'slackpkg update gpg' or disable gpg check
tigervnc-1.12.0-x86_64-3.txz: gpg
No matching GPG-KEY for repository 'extra' checking fltk-1.3.8-x86_64-1.txz
Try to run 'slackpkg update gpg' or disable gpg check
fltk-1.3.8-x86_64-1.txz: gpg
No matching GPG-KEY for repository 'extra' checking tigervnc-1.12.0-x86_64-3.txz
Try to run 'slackpkg update gpg' or disable gpg check
tigervnc-1.12.0-x86_64-3.txz: gpg

==============================================================================

!!! F A T A L !!!
Some operation has failed and need attention!!

Install FAILED: extra:fltk-1.3.8-x86_64-1.txz : please retry.
Install FAILED: extra:tigervnc-1.12.0-x86_64-3.txz : please retry.

==============================================================================

Any ideas what I've done wrong.

Alex
 
Old 04-29-2022, 05:05 AM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 594

Rep: Reputation: Disabled
I guess you are using slackpkg+ and have added a separate repository definition "extra".
But "extra" is part of the Slackware distro and therefore you should not add it to slackpkgplus.conf .
There is a line in slackpkg.conf which determines the order in which a Slackware package is searched in the official tree:
Code:
# PRIORITY sets the download priority. slackpkg will try to found the
# package first in the first value, then the second one, through all
# values in list.
#
# Default value: patches %PKGMAIN extra pasture testing
PRIORITY=( patches %PKGMAIN extra pasture testing )
Therefore "slackpkg install tigervnc" should just work if you remove that faulty configuration from slackpkgplus.conf.
 
Old 04-29-2022, 05:38 AM   #3
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Original Poster
Rep: Reputation: 153Reputation: 153
Hi Windu

Thanks for the reply

Quote:
Originally Posted by Windu View Post
I guess you are using slackpkg+ and have added a separate repository definition "extra".
But "extra" is part of the Slackware distro and therefore you should not add it to slackpkgplus.conf .
There is a line in slackpkg.conf which determines the order in which a Slackware package is searched in the official tree:
Code:
# PRIORITY sets the download priority. slackpkg will try to found the
# package first in the first value, then the second one, through all
# values in list.
#
# Default value: patches %PKGMAIN extra pasture testing
PRIORITY=( patches %PKGMAIN extra pasture testing )
Therefore "slackpkg install tigervnc" should just work if you remove that faulty configuration from slackpkgplus.conf.
That doesn't appear to be the problem.

What I've now found is that the problem might only be on one machine. I've run the same command
Code:
slackpkg install fltk tigervnc

on two other machines and it works as expected.

The conf files all return the same cksums.
 
Old 04-29-2022, 05:42 AM   #4
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 594

Rep: Reputation: Disabled
Quote:
Originally Posted by aikempshall View Post
Hi Windu

Thanks for the reply
That doesn't appear to be the problem.
You did not answer and probably did not check my first assumption, which is that you defined a repository called "extra" in slackpkg+.
The fact that you can run "slackpkg install multilib" means you have installed the slackpkg+ extension.
The error "No matching GPG-KEY for repository 'extra' checking fltk-1.3.8-x86_64-1.txz" is the indication of a repository definition "extra" in slackpkgplus.conf,
 
Old 04-29-2022, 05:53 AM   #5
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Original Poster
Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by Windu View Post
You did not answer and probably did not check my first assumption, which is that you defined a repository called "extra" in slackpkg+.
The fact that you can run "slackpkg install multilib" means you have installed the slackpkg+ extension.
The error "No matching GPG-KEY for repository 'extra' checking fltk-1.3.8-x86_64-1.txz" is the indication of a repository definition "extra" in slackpkgplus.conf,
This is what I've found on the failing machine

Quote:
grep extra /etc/slackpkg/*.conf
/etc/slackpkg/slackpkg.conf:# Default value: patches %PKGMAIN extra pasture testing
/etc/slackpkg/slackpkg.conf:PRIORITY=( patches %PKGMAIN extra pasture testing )
/etc/slackpkg/slackpkgplus.conf:#salixextra: https://download.salixos.org/{i486,x86_64}/extra-15.0/
This is what I've found on one of the machines where the command works -

Quote:
grep extra /etc/slackpkg/*.conf
/etc/slackpkg/slackpkg.conf:# Default value: patches %PKGMAIN extra pasture testing
/etc/slackpkg/slackpkg.conf:PRIORITY=( patches %PKGMAIN extra pasture testing )
/etc/slackpkg/slackpkgplus.conf:#salixextra: https://download.salixos.org/{i486,x86_64}/extra-15.0/
both exactly the same
 
Old 04-29-2022, 06:09 AM   #6
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Original Poster
Rep: Reputation: 153Reputation: 153
The problem seems to be that on the problem machine

/var/lib/slackpkg/gpg/GPG-KEY-extra.gpg was missing

Tried
  1. Code:
    slackpkg update GPG
    still didn't work
  2. removed all appropriate keys from the gpg keyring then ran slackpkg update GPG[/CODE] still didn't work
  3. copied /var/lib/slackpkg/gpg/GPG-KEY-extra.gpg from a working machine to the problem machine - It now works.

No idea how /var/lib/slackpkg/gpg/GPG-KEY-extra.gpg got removed in the first place.

Last edited by aikempshall; 04-29-2022 at 06:10 AM. Reason: minor change to text
 
Old 04-29-2022, 07:20 AM   #7
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 594

Rep: Reputation: Disabled
Quote:
Originally Posted by aikempshall View Post
Code:
slackpkg update GPG
still didn't work
The command may be case-sensitive. The "GPG" should be "gpg" according the manual page.
Quote:
No idea how /var/lib/slackpkg/gpg/GPG-KEY-extra.gpg got removed in the first place.
That is the million-dollar question.
 
  


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
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
Error importing the GPG key for the freshrpms repository in FC5 squall1986 Fedora 1 11-17-2006 12:20 AM
isn't it weird that the DAG repository GPG key thing won't? t3gah Fedora 3 04-19-2005 01:29 AM

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

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