unable to update from APT or manually. ive removed the cache and re-downloaded and still getting the issue. not finding anything helpful in the logs, ive tried running the validation script inside the .deb file and it doesnt give me any errors.
any help would be appreciated, please see error below when updating from apt.
Preparing to unpack …/plexmediaserver_1.18.7.2457-77cb9455c_amd64.deb …
Removed /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
PlexMediaServer install: Pre-installation Validation.
dpkg: error processing archive /var/cache/apt/archives/plexmediaserver_1.18.7.2457-77cb9455c_amd64.deb (–unpack):
new plexmediaserver package pre-installation script subprocess returned error exit status 2
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
Errors were encountered while processing:
/var/cache/apt/archives/plexmediaserver_1.18.7.2457-77cb9455c_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hello Chuck, i had checked the script before posting, but i followed your instructions and here is my output:
sudo ./preinst
PlexMediaServer install: Pre-installation Validation.
Hello Chuck, i had left out my user and computer, but that was it, part of the reason i decided to post since i couldnt find any reason it wouldnt work, direct output:
Hello Chuck,
Absolutely, i did go over the script as well and i didnt see anything that would cause the failure either, it all looks pretty standard stuff.
if it makes you feel any better ive been scratching my head over this for the past couple weeks.
Chuck helped me narrow the issue down in PM, there was a section of the Pre script that checked if you had a transcoder directory enabled, and i didnt, but i did previously and that caused it to have some problems.
setting the Temp transcoding director to something allowed it to install.