mrworf / plexupdate

Plex Update script to simplify the life of Linux Plex Media Server users.
GNU General Public License v2.0
1.77k stars 146 forks source link

ARM 64 bit (Raspberry Pi 4) #293

Open manuelkamp opened 3 years ago

manuelkamp commented 3 years ago

Hi,

not an issue, but it may help others. If your Pi is running the 32 bit OS but you are using the 64 bit Kernel for better RAM usage and your Update fails with this error:

Retrieving list of available distributions File already exists (plexmediaserver_1.24.3.5033-757abe6b4_arm64.deb), won't download. dpkg: error processing archive /tmp/plexmediaserver_1.24.3.5033-757abe6b4_arm64.deb (--install): package architecture (arm64) does not match system (armhf) Errors were encountered while processing: /tmp/plexmediaserver_1.24.3.5033-757abe6b4_arm64.deb ERROR: Failed to install update. Command 'dpkg -i /tmp/plexmediaserver_1.24.3.5033-757abe6b4_arm64.deb' returned error code 1

make sure to add the following lines to your /etc/plexupdate.conf:

DISTRO='debian' BUILD='linux-armv7neon' DISTRO_INSTALL='apt install'