Unable to update packages on ubuntu focal server on rock pi 4b

When i run sudo apt update, i get the error:

Err:1 http://apt.radxa.com/focal-stable focal InRelease
  The following signatures were invalid: EXPKEYSIG 5761288B2B52CC90 Radxa <dev@radxa.com>
Reading package lists... Done
W: GPG error: http://apt.radxa.com/focal-stable focal InRelease: The following signatures were invalid: EXPKEYSIG 5761288B2B52CC90 Radxa <dev@radxa.com>
E: The repository 'http://apt.radxa.com/focal-stable focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Public keys seem to have expired:

sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub   rsa3072 2018-11-23 [SC] [expired: 2020-11-22]
      C79E F8D1 49CF C9C0 418A  9A60 5761 288B 2B52 CC90
uid           [ expired] Radxa <dev@radxa.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      790B C727 7767 219C 42C8  6F93 3B4F E6AC C0B2 1F32
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374  2BC0 D94A A3F0 EFE2 1092
uid           [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub   rsa4096 2018-09-17 [SC]
      F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B C93C
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>
1 Like
wget -O - apt.radxa.com/focal-stable/public.key | gpg
--2020-11-22 19:32:21--  http://apt.radxa.com/focal-stable/public.key
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
Resolving apt.radxa.com (apt.radxa.com)... 185.199.111.153, 185.199.110.153, 185.199.109.153, ...
Connecting to apt.radxa.com (apt.radxa.com)|185.199.111.153|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2440 (2.4K) [application/vnd.apple.keynote]
Saving to: ‘STDOUT’

-                                              100%[=================================================================================================>]   2.38K  --.-KB/s    in 0s

2020-11-22 19:32:21 (43.6 MB/s) - written to stdout [2440/2440]

pub   rsa3072 2018-11-23 [SC] [expired: 2020-11-22]
      C79EF8D149CFC9C0418A9A605761288B2B52CC90
uid           Radxa <dev@radxa.com>
sub   rsa3072 2018-11-23 [E] [expired: 2020-11-22]
4 Likes

We have fixed this. Check this post, Apt error with latest buster image.

1 Like