this post was submitted on 28 Oct 2023
15 points (100.0% liked)

Arch Linux

7739 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

Linux noob still learning the basics with a simple question. Got Plex and *arr suite up and running great but Jellyfin Server refuses to install. Looks like a broken link. How do I use an alternate repo or other install source? Screenshot is the end of the output from running yay -S jellyfin-server and yes I'm on my phone because I'm too high to get up right now.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Nibodhika@lemmy.world 2 points 1 year ago (1 children)

Pacman keeps a local cache of the packages that exist, so it knows that whatever you were trying to install has a version X and that depends on library Y on version Z. Except when it tried to download the library Y on version Z the package didn't existed anymore, most likely because a new version W was released since you generated your cache. The y option updates the local database first, so it knows the proper up to date versions of things.

That being said running -Sy is a bad idea, because for example what you're trying to install might update a library that the system expects to be an old version and then everything breaks. If this ever happens again the correct way to fix it is to first do a system update -Syu and afterwards install the new package.

[โ€“] Ooops@kbin.social 1 points 1 year ago

the correct way to fix it is to first do a system update -Syu and afterwards install the new package

Or you just do it as one step in general: pacman -Syu