Hi Plex peeps,
Great news about the new package repos, that will make updates easier to manage.
There are some mistakes I’ve noticed in the announcement article which should be fixed asap.
Firstly under [DEB-based distros (Ubuntu, etc.)] > [Setup New] there is the following line…
echo "deb [signed-by=/etc/apt/keyrings/plexmediaserver.v2.gpg] https://repo.plex.tv/deb/ public main" > sudo tee /etc/apt/sources.list.d/plex.list
.. which should be…
echo "deb [signed-by=/etc/apt/keyrings/plexmediaserver.v2.gpg] https://repo.plex.tv/deb/ public main" | sudo tee /etc/apt/sources.list.d/plex.list
aka, pipe the string to tee, rather than a redirect.
This bit in the setupRepo.sh script is OK as it’s redirecting to a file when run as root rather than using ‘sudo tee ..’
Also under RPM-based distros (Fedora, CentOS, etc.) > Setup New there is this…
sudo cat > /etc/yum.repos.d/plex.repo <<EOF
[PlexTv]
name=Plex.tv
baseurl=https://repo.plex.tv/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.v2.key
EOF
.. which again would not work if running from an unprivileged user, this should be something like…
echo '[PlexTv]
name=Plex.tv
baseurl=https://repo.plex.tv/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.v2.key' | sudo tee /etc/yum.repos.d/plex.repo
The same mistake has been made under openSUSE > Setup New, where…
sudo cat > /etc/zypp/repos.d/plex.repo <<EOF
[PlexTv]
name=Plex.tv
baseurl=https://repo.plex.tv/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.v2.key
EOF
… would not work if running from an unprivileged user, this should also be something like…
echo '[PlexTv]
name=Plex.tv
baseurl=https://repo.plex.tv/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.v2.key' | sudo tee /etc/zypp/repos.d/plex.repo
Lastly there is under both the RPM based distros and Opensuse sections the suggestion to delete old repo files with a plex.repo* wildcard, this should really be plex* or plex*repo I reckon.