radxa / apt

radxa debian packages repository
http://radxa.com/Rabian
35 stars 6 forks source link

The signature for the Rasbian Jessie repository is not valid #2

Closed c0va23 closed 5 years ago

c0va23 commented 5 years ago

Hey. After changing the repository link to https://apt.radxa.com/rabian-stable/, the command sudo apt update runs with this error:

rock@radxa:/etc/apt/sources.list.d$ curl https://apt.radxa.com/rabian-stable/public.key | sudo apt-key add -v -
rock@radxa:/etc/apt/sources.list.d$ sudo apt update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Get:4 http://apt.radxa.com/rabian-stable jessie InRelease [2087 B]                           
Err:4 http://apt.radxa.com/rabian-stable jessie InRelease                                               
  The following signatures were invalid: BADSIG C184E3BA32B4B98C build (radxa apt server) <build@radxa.com>
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease       
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch Release                   
Reading package lists... Done
W: GPG error: http://apt.radxa.com/rabian-stable jessie InRelease: The following signatures were invalid: BADSIG C184E3BA32B4B98C build (radxa apt server) <build@radxa.com>
E: The repository 'http://apt.radxa.com/rabian-stable jessie 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.
hipboi commented 5 years ago

Hi,

Which hardware and image are you using?

c0va23 commented 5 years ago

I use Radxa Rock2 Square (2GB) with Rasbian (https://dl.radxa.com/rock2/images/rabian/emmc/rock2_square_rabian_150720_5d53487_emmc.img.xz)

c0va23 commented 5 years ago

I see that the file "rabian-stable/dists/jessie/Release" was updated 2 months ago, but the file "rabian-stable/dists/jessie/Release.gpg" was updated three years ago. It may be that the signature forgot to update when you move the repository to a new domain "apt.radxa.com".

image

StephenInVamrs commented 5 years ago

Hi, c0va23

We have already update all the packages.

You can update the public key by wget -O - apt.radxa.com/rabian-stable/public.key | sudo apt-key add -

And then install your wanted packages.

c0va23 commented 5 years ago

Now the update works! Thank you!