2024-11-18, 05:08 PM
(2024-11-17, 12:11 PM)Abhishek Ranjan Wrote: Hi folks,
I keep running into this issue every time jellyfin does a new release.
My jellyfin is setup as a lxc using proxmox helper scripts.
Code:root@jellyfin:~# sudo apt upgrade jellyfin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
jellyfin is already the newest version (10.10.2+deb12).
Calculating upgrade... Done
The following packages will be upgraded:
jellyfin-server
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
29 not fully installed or removed.
Need to get 0 B/46.8 MB of archives.
After this operation, 22.5 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Reading changelogs... Done
(Reading database ... 24588 files and directories currently installed.)
Preparing to unpack .../jellyfin-server_10.10.2+deb12_amd64.deb ...
Stopping Jellyfin!
mv: cannot move '/var/lib/jellyfin/config' to '/etc/jellyfin/config': Directory not empty
dpkg: error processing archive /var/cache/apt/archives/jellyfin-server_10.10.2+deb12_amd64.deb (--unpack):
new jellyfin-server package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/jellyfin-server_10.10.2+deb12_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've been solving it so far by backing up my config directory, deleting it and then restoring the files after the upgrade.
Is there a better way to do the upgrades ?
When you use the helper-script you're supposed to just type update in console. You don't need to do sudo apt-get upgrade