Jellyfin fails to update Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Blaiz0r
Posts: 4
Joined: Sat Jul 27, 2019 5:36 pm

Jellyfin fails to update

Post by Blaiz0r »

I logged into Dietpi and was told there was an update available so ran dietpi-update

I don't have many packages installed so it didn't take long, but got stuck trying to download Jellyfin with the following error:

Code: Select all

 INFO ] DietPi-Update | APT update, please wait...
Hit:1 https://download.docker.com/linux/debian buster InRelease
Hit:2 https://deb.debian.org/debian buster InRelease
Hit:3 https://archive.raspberrypi.org/debian buster InRelease
Hit:4 https://deb.debian.org/debian buster-updates InRelease
Hit:5 https://deb.debian.org/debian-security buster/updates InRelease
Hit:6 https://deb.debian.org/debian buster-backports InRelease
Get:7 https://repo.jellyfin.org/debian buster InRelease [6637 B]
Err:7 https://repo.jellyfin.org/debian buster InRelease
  The following signatures were invalid: EXPKEYSIG 49023CD01DE21A7B Jellyfin Team <team@jellyfin.org>
Fetched 6637 B in 2s (3732 B/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.jellyfin.org/debian buster InRelease: The following signatures were invalid: EXPKEYSIG 49023CD01DE21A7B Jellyfin Team <team@jellyfin.org>
W: Failed to fetch https://repo.jellyfin.org/debian/dists/buster/InRelease  The following signatures were invalid: EXPKEYSIG 49023CD01DE21A7B Jellyfin Team <team@jellyfin.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
[  OK  ] DietPi-Update | APT update
[ INFO ] DietPi-Update | APT upgrade, please wait...
Then proceeds to upgrade DietPi, do I need manually interveen here?
User avatar
Phillski
Posts: 36
Joined: Fri Feb 02, 2018 10:52 am

Re: Jellyfin fails to update

Post by Phillski »

The Jellyfin GPG key expired (see post here https://www.reddit.com/r/jellyfin/comme ... _expiring/)

according to the post you should just be able to enter this in the terminal

Code: Select all

wget -O- https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add -
User avatar
Joulinar
Posts: 3688
Joined: Sat Nov 16, 2019 12:49 am

Re: Jellyfin fails to update

Post by Joulinar »

thx for sharing, we will add this to our next release to have the key replaced
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 4
Joined: Sat Jul 27, 2019 5:36 pm

Re: Jellyfin fails to update

Post by Blaiz0r »

This was it, thank you.
User avatar
MichaIng
Site Admin
Posts: 2613
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jellyfin fails to update

Post by MichaIng »

Patch added: https://github.com/MichaIng/DietPi/comm ... 5a6412fbdc

Note that apt-key has been deprecated and hence should not be used anymore. The combined APT key ring file /etc/apt/trusted.gpg that is fed by apt-key add is not used by any major repository for a long time, and keys should instead be added as separate files. I hence recommend to add APT keys this way:

Code: Select all

curl -sSfL 'https://repo.jellyfin.org/jellyfin_team.gpg.key' | gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-jellyfin.gpg
That file is what we use in dietpi-software, so in case use this to assure that there are no doubled keys.
Post Reply