From a99fc1c5f11525c4d8cc239c04ad1352dd86b1ee Mon Sep 17 00:00:00 2001 From: Mark R Date: Wed, 16 Dec 2020 20:34:51 +0000 Subject: [PATCH] Add --force-architecture to dpkg installation command Mitigates an ARM installation issue: ```dpkg: error processing archive /tmp/plexmediaserver.deb (--install): package architecture (arm64) does not match system (armhf) ``` --- root/plex-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/plex-common.sh b/root/plex-common.sh index efd3f36..9281d48 100755 --- a/root/plex-common.sh +++ b/root/plex-common.sh @@ -71,6 +71,6 @@ function installFromRawUrl { exit 1 fi - dpkg -i --force-confold /tmp/plexmediaserver.deb + dpkg -i --force-confold --force-architecture /tmp/plexmediaserver.deb rm -f /tmp/plexmediaserver.deb }