Invalid Keys from apt-get

Locked
shaund@teqcle.co.za
Posts: 4
Joined: Mon Jan 06, 2020 6:52 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Invalid Keys from apt-get

Unread post by shaund@teqcle.co.za » Mon Jan 06, 2020 8:22 pm

Hi all.
I get the following error from a fresh install of either mate or minimal and I try to run apt-get update:
Err:6 http://deb.odroid.in/c2 bionic InRelease
The following signatures were invalid: EXPKEYSIG 5360FB9DAB19BAC9 Mauro Ribeiro (mdrjr) <mauro.ribeiro@hardkernel.com>
I have tried to import the key with the following commands:
root@odroid:~# wget -qO - https://deb.odroid.in/c2 | sudo apt-key add -
gpg: no valid OpenPGP data found.
root@odroid:~# wget -qO - http://deb.odroid.in/c2/dists/bionic/Release.gpg | sudo apt-key add -
gpg: no valid OpenPGP data found.

Can somebody please help?

Kind Regards.
Shaun.

shaund@teqcle.co.za
Posts: 4
Joined: Mon Jan 06, 2020 6:52 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Invalid Keys from apt-get

Unread post by shaund@teqcle.co.za » Mon Jan 06, 2020 10:21 pm

I see that this key expired this morning.
root@odroid:~# apt-key adv -v --keyserver keyserver.ubuntu.com --recv-keys 5360FB9DAB19BAC9
Executing: /tmp/apt-key-gpghome.MBPcSq50Nv/gpg.1.sh -v --keyserver keyserver.ubuntu.com --recv-keys 5360FB9DAB19BAC9
gpg: no running Dirmngr - starting '/usr/bin/dirmngr'
gpg: waiting for the dirmngr to come up ... (5s)
gpg: waiting for the dirmngr to come up ... (4s)
gpg: connection to dirmngr established
gpg: data source: http://162.213.33.9:11371
gpg: pub rsa4096/4047B34823AE12F8 2015-01-07 Mauro Ribeiro (mdrjr) <mauro.ribeiro@hardkernel.com>
gpg: Note: signature key 5360FB9DAB19BAC9 expired Mon Jan 6 04:04:46 2020 UTC
gpg: key 4047B34823AE12F8: "Mauro Ribeiro (mdrjr) <mauro.ribeiro@hardkernel.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

Is there a way that I can ignore this?

shaund@teqcle.co.za
Posts: 4
Joined: Mon Jan 06, 2020 6:52 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Invalid Keys from apt-get

Unread post by shaund@teqcle.co.za » Mon Jan 06, 2020 10:23 pm

Ah, found my own answer.
apt-get --allow-unauthenticated upgrade

User avatar
meveric
Posts: 10853
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105)
Has thanked: 32 times
Been thanked: 283 times
Contact:

Re: Invalid Keys from apt-get

Unread post by meveric » Tue Jan 07, 2020 1:36 am

shaund@teqcle.co.za wrote:
Mon Jan 06, 2020 10:21 pm
gpg: Note: signature key 5360FB9DAB19BAC9 expired Mon Jan 6 04:04:46 2020 UTC
The key is expired and needs to be renewed by @mdrjr
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

mdrjr
Site Admin
Posts: 11742
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 20 times
Contact:

Re: Invalid Keys from apt-get

Unread post by mdrjr » Tue Jan 07, 2020 10:28 am

Hello !

The key used to sign the packages expired!

This command will update the keys! Please let me know if it fixes.

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AB19BAC9
These users thanked the author mdrjr for the post (total 2):
MDAR (Thu Jan 09, 2020 6:13 pm) • joy (Wed Feb 05, 2020 2:54 pm)

shaund@teqcle.co.za
Posts: 4
Joined: Mon Jan 06, 2020 6:52 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Invalid Keys from apt-get

Unread post by shaund@teqcle.co.za » Tue Jan 07, 2020 3:38 pm

The key renewal works and all is well, thanks.

User avatar
mad_ady
Posts: 7556
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 388 times
Been thanked: 296 times
Contact:

Re: Invalid Keys from apt-get

Unread post by mad_ady » Tue Jan 07, 2020 5:13 pm

I see the new key expires in 2036. With a bit more planning you could have sync'ed it with the Y38k bug

Sebas_Ledesma
Posts: 113
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: c2
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: Invalid Keys from apt-get

Unread post by Sebas_Ledesma » Wed Jan 15, 2020 12:11 am

I've tried on myodroid C2, but with no success:

Code: Select all

odroid@myodroid:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AB19BAC9
Executing: /tmp/apt-key-gpghome.s3s461g6dD/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys AB19BAC9
gpg: keyserver receive failed: Server indicated a failure

Code: Select all

uname -a
Linux myodroid 3.16.78-48 #1 SMP PREEMPT Thu Dec 5 07:27:42 -02 2019 aarch64 aarch64 aarch64 GNU/Linux
Sebas

mdrjr
Site Admin
Posts: 11742
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 20 times
Contact:

Re: Invalid Keys from apt-get

Unread post by mdrjr » Wed Jan 15, 2020 12:26 am

These users thanked the author mdrjr for the post:
Sebas_Ledesma (Wed Jan 15, 2020 12:39 am)

Sebas_Ledesma
Posts: 113
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: c2
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: Invalid Keys from apt-get

Unread post by Sebas_Ledesma » Wed Jan 15, 2020 12:39 am

Thanks!

I've used:

Code: Select all

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AB19BAC9
Executing: /tmp/apt-key-gpghome.3pOa3RTf1q/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AB19BAC9
gpg: key 4047B34823AE12F8: "Mauro Ribeiro (mdrjr) <mauro.ribeiro@hardkernel.com>" 1 new signature
gpg: Total number processed: 1
gpg:         new signatures: 1
ant it worked.

Sebas

apace
Posts: 2
Joined: Mon Oct 17, 2016 7:13 am
languages_spoken: english
ODROIDs: XU4 and C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Invalid Keys from apt-get

Unread post by apace » Wed Jan 22, 2020 12:31 am

mdrjr.

many thanks from Geneva, Switzerland. It worked fine here !

Locked

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 2 guests