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 06-01-2017, 10:31 AM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Rep: Reputation: Disabled
slackpkg update fails gpg check; How do I fix it?


Every time I try to do anything with slackpkg, it tells me to run 'slackpkg update gpg'. When I do that it gives me the same message. Over and over again. My mozilla-thunderbird was gone after I rebooted today, and I want to get it back. But every time I try, it tells me to update gpg. Here's the output from the slackpkg update command:

Code:
root@caitlyn:~# slackpkg update

			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/GPG-KEY...
--2017-06-01 10:31:07--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/GPG-KEY
           => ‘/tmp/slackpkg.uYNYyy/gpgkey’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2 ... done.
==> SIZE GPG-KEY ... 1572
==> PASV ... done.    ==> RETR GPG-KEY ... done.
Length: 1572 (1.5K) (unauthoritative)

GPG-KEY                  100%[==================================>]   1.54K  --.-KB/s    in 0s      

2017-06-01 10:31:08 (319 MB/s) - ‘/tmp/slackpkg.uYNYyy/gpgkey’ saved [1572]

Updating the package lists...
	Downloading...
			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/ChangeLog.txt...
--2017-06-01 10:31:08--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/ChangeLog.txt
           => ‘/tmp/slackpkg.uYNYyy/ChangeLog.txt’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2 ... done.
==> SIZE ChangeLog.txt ... 399842
==> PASV ... done.    ==> RETR ChangeLog.txt ... done.
Length: 399842 (390K) (unauthoritative)

ChangeLog.txt            100%[==================================>] 390.47K   616KB/s    in 0.6s    

2017-06-01 10:31:09 (616 KB/s) - ‘/tmp/slackpkg.uYNYyy/ChangeLog.txt’ saved [399842]


		No changes in ChangeLog.txt between your last update and now.
		Do you really want to download all other files (y/N)? y

		List of all files
			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/patches/MANIFEST.bz2...
--2017-06-01 10:31:14--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/patches/MANIFEST.bz2
           => ‘/tmp/slackpkg.uYNYyy/patches-MANIFEST.bz2’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2/patches ... done.
==> SIZE MANIFEST.bz2 ... 5229260
==> PASV ... done.    ==> RETR MANIFEST.bz2 ... done.
Length: 5229260 (5.0M) (unauthoritative)

MANIFEST.bz2             100%[==================================>]   4.99M  1.44MB/s    in 3.5s    

2017-06-01 10:31:18 (1.44 MB/s) - ‘/tmp/slackpkg.uYNYyy/patches-MANIFEST.bz2’ saved [5229260]

			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/slackware64/MANIFEST.bz2...
--2017-06-01 10:31:18--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/slackware64/MANIFEST.bz2
           => ‘/tmp/slackpkg.uYNYyy/slackware64-MANIFEST.bz2’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2/slackware64 ... done.
==> SIZE MANIFEST.bz2 ... 3139391
==> PASV ... done.    ==> RETR MANIFEST.bz2 ... done.
Length: 3139391 (3.0M) (unauthoritative)

MANIFEST.bz2             100%[==================================>]   2.99M  1.26MB/s    in 2.4s    

2017-06-01 10:31:22 (1.26 MB/s) - ‘/tmp/slackpkg.uYNYyy/slackware64-MANIFEST.bz2’ saved [3139391]

			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/extra/MANIFEST.bz2...
--2017-06-01 10:31:22--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/extra/MANIFEST.bz2
           => ‘/tmp/slackpkg.uYNYyy/extra-MANIFEST.bz2’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2/extra ... done.
==> SIZE MANIFEST.bz2 ... 110776
==> PASV ... done.    ==> RETR MANIFEST.bz2 ... done.
Length: 110776 (108K) (unauthoritative)

MANIFEST.bz2             100%[==================================>] 108.18K   457KB/s    in 0.2s    

2017-06-01 10:31:23 (457 KB/s) - ‘/tmp/slackpkg.uYNYyy/extra-MANIFEST.bz2’ saved [110776]

			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/pasture/MANIFEST.bz2...
--2017-06-01 10:31:23--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/pasture/MANIFEST.bz2
           => ‘/tmp/slackpkg.uYNYyy/pasture-MANIFEST.bz2’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2/pasture ... done.
==> SIZE MANIFEST.bz2 ... 3524
==> PASV ... done.    ==> RETR MANIFEST.bz2 ... done.
Length: 3524 (3.4K) (unauthoritative)

MANIFEST.bz2             100%[==================================>]   3.44K  --.-KB/s    in 0s      

2017-06-01 10:31:24 (836 MB/s) - ‘/tmp/slackpkg.uYNYyy/pasture-MANIFEST.bz2’ saved [3524]

			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/testing/MANIFEST.bz2...
--2017-06-01 10:31:24--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/testing/MANIFEST.bz2
           => ‘/tmp/slackpkg.uYNYyy/testing-MANIFEST.bz2’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2/testing ... done.
==> SIZE MANIFEST.bz2 ... 2993
==> PASV ... done.    ==> RETR MANIFEST.bz2 ... done.
Length: 2993 (2.9K) (unauthoritative)

MANIFEST.bz2             100%[==================================>]   2.92K  --.-KB/s    in 0s      

2017-06-01 10:31:25 (375 MB/s) - ‘/tmp/slackpkg.uYNYyy/testing-MANIFEST.bz2’ saved [2993]

		Checksums
			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/CHECKSUMS.md5...
--2017-06-01 10:31:25--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/CHECKSUMS.md5
           => ‘/tmp/slackpkg.uYNYyy/CHECKSUMS.md5’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2 ... done.
==> SIZE CHECKSUMS.md5 ... 891794
==> PASV ... done.    ==> RETR CHECKSUMS.md5 ... done.
Length: 891794 (871K) (unauthoritative)

CHECKSUMS.md5            100%[==================================>] 870.89K   790KB/s    in 1.1s    

2017-06-01 10:31:27 (790 KB/s) - ‘/tmp/slackpkg.uYNYyy/CHECKSUMS.md5’ saved [891794]

			Downloading ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/CHECKSUMS.md5.asc...
--2017-06-01 10:31:27--  ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/CHECKSUMS.md5.asc
           => ‘/tmp/slackpkg.uYNYyy/CHECKSUMS.md5.asc’
Resolving mirrors.easynews.com... 69.16.168.244
Connecting to mirrors.easynews.com|69.16.168.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/slackware/slackware64-14.2 ... done.
==> SIZE CHECKSUMS.md5.asc ... 163
==> PASV ... done.    ==> RETR CHECKSUMS.md5.asc ... done.
Length: 163 (unauthoritative)

CHECKSUMS.md5.asc        100%[==================================>]     163  --.-KB/s    in 0s      

2017-06-01 10:31:28 (28.2 MB/s) - ‘/tmp/slackpkg.uYNYyy/CHECKSUMS.md5.asc’ saved [163]


		ERROR: Verification of the  gpg signature on CHECKSUMS.md5
		       failed! This could mean that the file is out of date
		       or has been tampered with.
How should I resolve this issue?
 
Old 06-01-2017, 10:48 AM   #2
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

You can try to select another mirror, then run 'slackpkg update gpg && slackpkg update' again.

--
SeB
 
1 members found this post helpful.
Old 06-01-2017, 11:53 AM   #3
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Thank you for your help, phenixia2003. My problem was actually caused by gpg. I noticed as I was working through the mirror list for my country, they all returned gpg errors. So I checked gpg --version. This returned an error, that libreadline.so.7 could not be found. I recently had some trouble caused by mixing slackware64-14.2 with slackware64-current. I guess I'm still doing repairs to get my system to pure slackware64-14.2. But I went to my preferred mirror in my web browser and manually downloaded gnupg, and after that my slackpkg update command worked just fine.
 
Old 06-01-2017, 02:51 PM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
Quote:
Originally Posted by maschelsea View Post
[..snip..]
I recently had some trouble caused by mixing slackware64-14.2 with slackware64-current. I guess I'm still doing repairs to get my system to pure slackware64-14.2. But I went to my preferred mirror in my web browser and manually downloaded gnupg, and after that my slackpkg update command worked just fine.
A quick fix to be certain you have only 14.2 OR -current installed is to use slackpkg. Change /etc/slackpkg/mirrors to the Slackware release you wish to run. Then run:
Code:
slackpkg update gpg
slackpkg update
slackpkg install slackware64
Then you need to clean out stray packages:
Code:
slackpkg clean-system
This probably will only work if most of your system is Slackware 14.2. Downgrading -current to 14.2 may cause issues, and you are probably better off reinstalling Slackware.

Be sure you blacklist any SlackBuilds you installed from SlackBuilds.org, or possibly from a 3rd party binary repository. Honestly though, you probably should just rebuild/reinstall all your third party software from scratch to avoid inconsistencies in dependencies.

edit: spelling
 
1 members found this post helpful.
Old 06-01-2017, 05:07 PM   #5
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
I reinstalled.
 
Old 03-11-2024, 03:02 PM   #6
visigal@gmail.com
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Rep: Reputation: 0
slackpkg update fails gpg check; How do I fix it?

i made link to /usr/bin/gpg2 and renamed it gpg
if have a /usr/bin/gpg rename it to something else like gpg1 1st

Last edited by visigal@gmail.com; 03-13-2024 at 11:51 AM.
 
  


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] how to slackpkg update gpg ? nodir Slackware 27 04-11-2017 06:52 AM
'slackpkg update' gets 'gpg fail.' What to do? Martha Adams Linux - Security 4 05-19-2016 08:19 PM
[SOLVED] Slackpkg update error - gpg signature on cheksum stoa Slackware 2 06-13-2015 05:28 PM
Slackpkg refuses to update - always claims a GPG error black hole sun Slackware 14 09-05-2011 12:30 PM

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

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