I use the plexupdate.sh script to automatically download/update my PMS whenever a new version comes out but I always have to manually go in and clean up because the dpkg step can never seem to move all my plugins. It moves most, but specifically the YoutubeTV.bundle never gets moved.
I've noticed the Plug-ins-xxxxxx folder always has the unique identifier from the end of the version number. Why can't dpkg move all the plugins? I'm running the script via sudo and from what I can see, that plugin has the same user:group as the rest of the plugins that get moved successfully.
I'm running Ubuntu 14.04.4 LTS
Any thoughts?