This bug causes all G_AGUP / apt update calls to fail, regardless during which software install or within dietpi-update. Apply the second command blow only, if you were actually trying to install Sonarr.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493
# If you were actually trying to install Sonarr:
dietpi-software install 144
AUTO_SETUP_INSTALL_SOFTWARE_ID=144Log file contents:
Hit:1 https://download.mono-project.com/repo/debian raspbianstretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:3 https://apt.sonarr.tv develop InRelease [13.3 kB]
Hit:4 https://archive.raspberrypi.org/debian buster InRelease
Err:3 https://apt.sonarr.tv develop InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493
Reading package lists...
W: GPG error: https://apt.sonarr.tv develop InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493
E: The repository 'https://apt.sonarr.tv develop InRelease' is not signed.
Im also trying to update my build because my SD card just died and im having the same problem...
Just checked the instructions to sonarr and they have:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
echo "deb https://apt.sonarr.tv/ master main" | sudo tee -a /etc/apt/sources.list.d/sonarr.list
and the error is showing:
The repository **'https://apt.sonarr.tv develop InRelease'**
@GregoryDosh @GulyFMG
Many thanks for your report.
Lol I just moved to the long key version some days ago, since I found this short key not fitting modern security standards: https://github.com/MichaIng/DietPi/commit/a3b0f7ae447fd01ee5d2d0e5c92945c877bd2f2c#diff-d92a6ee04e02fd2a2dc23d5bec3e6a98R5456
Close to good timing now that they obviously dropped support for the short version key, at least this is very likely the issue here. I just successfully tested long key on Stretch and Buster VM at least.
Please run:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493
G_AGUP
G_AGI nzbdrone
If this works, then re-run the install:
dietpi-software install 144
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
This is what we have in master code as well, but it is obviously either outdated repo-side or possibly not allowed by Buster (although worked in the past) anymore.
Here you find up-to-date Sonarr install instructions, that match what we have in dev code now: https://github.com/Sonarr/Sonarr/wiki/Installation#linux
https://apt.sonarr.tv develop InRelease
And yes we use the develop version, which due to our testing and user experience provides the better share between stability and feature/security/bugfix updates.
So at best on next DietPi-Update we check if the repo has been added and in case re-add the long key to prevent users from running into this that already have Sonarr installed.
Changelog: https://github.com/MichaIng/DietPi/commit/5d60929e9e6420150918e3923297db49bfc73fa5
@MichaIng
Yep i also tested and its working as intended now.
thank very much for the prompt reply.
@GulyFMG
Perfect, many thanks for testing. I mark this issue as closed then. Both of you, feel free to reopen if required,
just got this trying to install jackett:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
@snoodler
Strange, I just tested the archive that is downloaded on Jackett:
https://github.com/Jackett/Jackett/releases/download/v0.12.1398/Jackett.Binaries.LinuxARM32.tar.gz
Could you verify this works:
cd /tmp
wget https://github.com/Jackett/Jackett/releases/download/v0.12.1398/Jackett.Binaries.LinuxARM32.tar.gz
tar xf Jackett.Binaries.LinuxARM32.tar.gz --one-top-level=/opt
download stopped at 84% with this error:
2020-01-03 12:21:43 (6.52 KB/s) - Read error at byte 38593082/45736441 (Error in the pull function.). Retrying.
--2020-01-03 12:21:44-- (try: 2) https://github-production-release-asset-2e65be.s3.amazonaws.com/45195614/456e7f80-2d29-11ea-9430-f0240eb4472b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200103%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200103T104507Z&X-Amz-Expires=300&X-Amz-Signature=5c487379b690f1774dd403b35e7aba55bf7950aff1400906bfddabe77f4bca23&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DJackett.Binaries.LinuxARM32.tar.gz&response-content-type=application%2Foctet-stream
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.206.3|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-01-03 12:21:46 ERROR 403: Forbidden.
@snoodler
Read error at byte 38593082/45736441 (Error in the pull function.)
Not sure what this means. Could you open a separate issue?
That the second attempt fails makes sense, as the URL looks like regenerated with access token, hence its only allowed to be used once as a redirect result and not a second time.
I will, thanks