Raspberry pi 4 upgrade with error [solved]

Server Version#: 1.20.3.3437
Player Version#:

Hi guys,
I installed the plexmediaserver via the official repo. Now i want update the server, but it exit with the error code (1) in the “pre-installation”.
E:Sub-process /usr/bin/dpkg returned an error code (1)

i have download the pakcage 1.21. and i want to install with
sudo dpkg -i plex...deb
and i get the same error.
How can i fix the problem?

Is your Raspbian / Raspberry Pi OS up-to-date?

Jep. I do a full

apt-get update
apt-get upgrade

Plexmediaserver is in the /etc/apt/sources.list.d/plexmediaserver.list

deb https://downloads.plex.tv/repo/deb public main

I also downloaded the deb-packet and try to install.

Is there any other useful output from the apt install command?

Please try to uninstall your current package and then reinstall the new one. Don’t worry, your whole setup will remain intact. Just do not use the purge option.

sudo apt remove plexmediaserver followed by your manual sudo apt install ./plex...deb

no luck…
remove is no problem, but install…

PlexMediaServer install: Pre-installation Validation.

logger: socket /dev/log: Verbindungsaufbau abgelehnt

dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/plexmediaserver_1.21.0.3711-b509cc236_armhf.deb (–unpack):

»neues plexmediaserver-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 1 zurück

Fehler traten auf beim Bearbeiten von:

/var/cache/apt/archives/plexmediaserver_1.21.0.3711-b509cc236_armhf.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

That’s a strange output. Have you disabled system logs on your Pi?

Btw: did you try turning it off and on again? :sweat_smile:

I dont think so.
Syslog is enable…

It was actually the syslog or systemd journald.

systemctl restart systemd-journald.socket
systemctl restart systemd-journald.service

after that, i can install pms with

apt-get install plexmediaserver

It returns warnings but installation is complet!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.