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

Permission Denied Error #257

Closed SquanchOn closed 5 years ago

SquanchOn commented 5 years ago

Having some sort of permission problem in Debian when running this... My apologies as I'm sure this is something related to the setup of linux rather than this package, but I can't seem to find the right pointer to fix it!

Retrieving list of available distributions
Downloading release "plexmediaserver_1.15.3.835-5d4a5c895_i386.deb" File downloaded plexupdate.sh: line 490: /tmp/plexmediaserver_1.15.3.835-5d4a5c895_i386.deb: Permission denied
ERROR: Failed to install update. Command ' /tmp/plexmediaserver_1.15.3.835-5d4a5c895_i386.deb' returned error code 126

Running Debian 4.9.130-2 (2018-10-27) i686 if that is critical!

SquanchOn commented 5 years ago

This actually relates to #255 and the proposed fix - needed to specify DISTRO_INSTALL='dpkg -i' in order for the temporary fix to work!