Jellyfin Forum
SOLVED: Bypassing nearest mirror for install - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Bypassing nearest mirror for install (/t-solved-bypassing-nearest-mirror-for-install)



Bypassing nearest mirror for install - Franklin Bluth - 2024-08-17

I apparently picked the worst possible time to reinstall Jellyfin. The SF server is down, which is what my installer defaults to. I tried to redirect jellyfin.sources to one of the other mirrors, but am getting the error "Unable to locate package jellyfin."

What exactly do I need to put into jellyfin.sources to get it to find the right files to complete the install?


RE: Bypassing nearest mirror for install - TheDreadPirate - 2024-08-17

Go here and scroll down the mirror's list. Modify jellyfin.sources and replace repo.jellyfin.org with a specific mirror address.

https://status.jellyfin.org/


RE: Bypassing nearest mirror for install - Franklin Bluth - 2024-08-17

(2024-08-17, 09:42 PM)TheDreadPirate Wrote: Go here and scroll down the mirror's list.  Modify jellyfin.sources and replace repo.jellyfin.org with a specific mirror address.

https://status.jellyfin.org/

Yes, I'm saying that I did that. I replaced:
https://repo.jellyfin.org/debian

with 

https://nyc1.mirror.jellyfin.org/debian

and later 

https://nyc1.mirror.jellyfin.org/

with both iterations, I get the error "Unable to locate package jellyfin." I assume I just need to use slightly different wording. Is there a more specific url that I need to use?


RE: Bypassing nearest mirror for install - TheDreadPirate - 2024-08-17

Did you "sudo apt update" first?

Code:
root@rat-trap:/etc/apt/sources.list.d# cat jellyfin.sources
Types: deb
URIs: https://nyc1.mirror.jellyfin.org/ubuntu
Suites: noble
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/jellyfin.gpg
root@rat-trap:/etc/apt/sources.list.d# apt update
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 https://nyc1.mirror.jellyfin.org/ubuntu noble InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:7 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Hit:10 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@rat-trap:/etc/apt/sources.list.d#



RE: Bypassing nearest mirror for install - Franklin Bluth - 2024-08-17

(2024-08-17, 09:58 PM)TheDreadPirate Wrote: Did you "sudo apt update" first?

Code:
root@rat-trap:/etc/apt/sources.list.d# cat jellyfin.sources
Types: deb
URIs: https://nyc1.mirror.jellyfin.org/ubuntu
Suites: noble
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/jellyfin.gpg
root@rat-trap:/etc/apt/sources.list.d# apt update
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 https://nyc1.mirror.jellyfin.org/ubuntu noble InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:7 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Hit:10 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@rat-trap:/etc/apt/sources.list.d#

That fixed it. Thank you!


RE: Bypassing nearest mirror for install - TheDreadPirate - 2024-08-18

FYI, Joshua (the Jellyfin project lead) fixed the issue with the San Fran mirror. You can switch the apt source back to repo.jellyfin.org.