Switch from dpkg to apt for install .debs (#1600)

* Switch from dpkg to apt for install .debs

This is the recommended process on recent Debian releases and simplifies
installation into one step while ensuring dependencies are properly
installed.

* Fix numbering
This commit is contained in:
Joshua M. Boniface
2025-10-07 10:28:00 -04:00
committed by GitHub
parent 211fb5fc57
commit 49f36044c0
+3 -15
View File
@@ -361,25 +361,13 @@ The repository is the preferred way to obtain Jellyfin on Debian and Ubuntu syst
2. Download the desired `jellyfin-server`, `jellyfin-web`, and `jellyfin-ffmpeg` `.deb` packages from the repository; `jellyfin` is a metapackage and is not required.
3. Install the downloaded `.deb` packages:
3. Install the downloaded `.deb` packages with `apt` to handle dependency resolution:
```sh
sudo dpkg -i jellyfin_*.deb jellyfin-ffmpeg_*.deb
sudo apt install ./jellyfin-server_*.deb ./jellyfin-web_*.deb ./jellyfin-ffmpeg_*.deb
```
:::note
This step may throw errors; continue to the next step to resolve them.
:::
4. Use `apt` to install any missing dependencies:
```sh
sudo apt -f install
```
5. Manage the Jellyfin system service:
4. Manage the Jellyfin system service:
```sh
sudo systemctl {action} jellyfin