Expired Key Problem <SOLVED>

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Expired Key Problem <SOLVED>

Post by JayBird707 »

I use ExpanDrive and get the following error when ever the Upfdate Manger runs.

W:GPG error: https://packages.expandrive.com/expandrive stable InRelease: The following signatures were invalid: EXPKEYSIG 0FB0547682F8C86A ExpanDrive, Inc. <support@expandrive.com>, E:The repository 'https://packages.expandrive.com/expandrive stable InRelease' is not signed.

I contacted ExpanDrive support and they sent the following commands:

curl https://packages.expandrive.com/keys/expandrive.asc | gpg – dearmor > packages.expandrive.gpg
sudo install -o root -g root -m 644 packages.expandrive.gpg /usr/share/keyrings/

Here's what happens when I try to run the command:


gpg: WARNING: no command supplied. Trying to guess what you mean ...
usage: gpg [options] [filename]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3614 100 3614 0 0 14933 0 --:--:-- --:--:-- --:--:-- 14995
(23) Failed writing body

I got back to ExpanDrive Support and this was the reply:

Not a mint expert, but these rough commands seem to help
viewtopic.php?t=335765

I've gone into the Software Sources and deleted the offending key and it does not help.

Any help is deeply appreciated.
Jeff
Last edited by LockBot on Mon Sep 25, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Expired Key Problem

Post by sleeper12 »

See if this still works:

Code: Select all

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0FB0547682F8C86A 

Code: Select all

 sudo apt update 
Wakatakakage
Level 3
Level 3
Posts: 154
Joined: Wed Apr 21, 2021 10:34 pm

Re: Expired Key Problem

Post by Wakatakakage »

JayBird707 wrote: Sat Mar 25, 2023 10:28 am gpg -- dearmor
Assuming that is not just a typo, there should not be a space between the two dashes and dearmor.

Code: Select all

curl https://packages.expandrive.com/keys/expandrive.asc | gpg --dearmor > packages.expandrive.gpg
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Expired Key Problem

Post by JayBird707 »

Thank you sleeper12 and Wakatakakage neither recommendation made any difference. I've gone as far as to uninstall then visit Software Sources and remove all traces of ExpanDrive that I can. The I reboot and install fresh and still get the same expired key error message. I'm wondering if Clem sees this and if he might weigh in.
Thanks yo all.
Jeff
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
User avatar
Moem
Level 22
Level 22
Posts: 16233
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Expired Key Problem

Post by Moem »

JayBird707 wrote: Sun Mar 26, 2023 10:23 am I'm wondering if Clem sees this and if he might weigh in.
That is not at all likely.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Expired Key Problem

Post by sleeper12 »

Try: Software Sources, Maintenance, Add missing keys.
Wakatakakage
Level 3
Level 3
Posts: 154
Joined: Wed Apr 21, 2021 10:34 pm

Re: Expired Key Problem

Post by Wakatakakage »

JayBird707 wrote: Sun Mar 26, 2023 10:23 am neither recommendation made any difference
Are you still getting the exact same error?

If I run the initial ExpanDrive suggestion, I get a response similar to your own:

Code: Select all

$ curl https://packages.expandrive.com/keys/expandrive.asc | gpg - dearmor > packages.expandrive.gpg
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
usage: gpg [options] [filename]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3614  100  3614    0     0   7811      0 --:--:-- --:--:-- --:--:--  7822
curl: (23) Failed writing body
It fails, but the 0-length file packages.expandrive.gpg does get created, and has to be deleted before trying again.

If I delete that file, then try the following, it works.

Code: Select all

$ curl https://packages.expandrive.com/keys/expandrive.asc | gpg --dearmor > packages.expandrive.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3614  100  3614    0     0   7615      0 --:--:-- --:--:-- --:--:--  7608
If you still get the gpg: WARNING: no command supplied warning, maybe make sure that the two dash characters before dearmor are both regular dashes, and not special utf-8 ndash or mdash characters. Those characters can get involved when copying from web pages, for example.
User avatar
JayBird707
Level 3
Level 3
Posts: 126
Joined: Sat Jan 30, 2016 9:56 pm

Re: Expired Key Problem

Post by JayBird707 »

Wakatakakage THANK YOU, THANK YOU, THANK YOU! Your tip worked perfectly. I deleted the file and then it worked perfectly! Now I can go forward in Mint Update.
Jeff
ASRock H470M-ITX/ac Home Build on Linux Mint Cinnamon!
Dell Studio 1737 Laptop, HP6300 SFF Desktop, Intel NUC NUC7CJYH Mini All on Linux Mint XFCE!
Image
Locked

Return to “Software & Applications”