15
Getting .net runtime 404 errors trying to install Jellyfin Server
(sh.itjust.works)
The beloved lightweight distro
The
y
is dangerous to be used withoutu
. Do not follow the advice above unless you know what you are doing. Instead, dopacman -Sy
u
jellyfin-server
The
y
option tells pacman to update its package database. In your case, your local database got out of sync with the database from the mirrors. This normal, newer versions of software are released all the time. Pacman then tried to get the latest locally known version of jellyfin from the mirrors, but they no longer have it, as a newer one replaced it.By updating the database, pacman becomes aware of the newer version and can request it from the mirror. But there is now a subtle problem: the new package and some installed package could require incompatible versions of some dependency. When pacman decides to update the dependecy package, the other package is broken. This is called a "partial upgrade", which can seriously break your system if you are not careful.
The
u
option upgrades all installed packages to the latest version, so the packages and their dependencies don't get out of sync with each other.See Arch Wiki, System_maintenance for more explanation.
Thanks for the info... and for reminding me to run a backup.
And alternatively you can run just
yay
, choose the matching one and yay should do the right thing.