How to update PMS on Ubuntu 20.04

Server Version#: 1.20.3.3437
Player Version#:

Hi everyone, I’ve my PMS on a Nuc with Linux Ubuntu Desktop 20.04.
Since this big update, from LTS 18 to 20, I’m not able to update PMS, simply downloading the latest release. When I try to open the latest file and install it I always get an error.
So I have to update PMS using Terminal.
Why this? Do you have any idea?

Thanks.

Please provide more detail about what error you’re getting.

If you are expecting to be able to install using the graphical installer – Ubuntu removed that as of Ubuntu 20.04 . They only support SNAP packages now in the graphical UI.

Yes, thank you ChuckPA, that’s it. So what am I supposed to do? As probably you can remember, I’d prefer to use a Graphical UI…

They’ve removed the graphical

Choices are:

  1. set up auto updating via the repository (which I setup for you but you need enable) and then kick off using the graphical

-or-

  1. open a terminal window and kick it manually with dpkg -i filename.deb It takes all of 15 seconds

Thanks Chuck PA, I’m going to wait for the next PMS update and I’ll give a try (what do you mean with 1.? How can I enable auto updating?).
Thanks, as always, from Italy

[chuck@lizum Supertramp.290]$ cd /etc/apt
[chuck@lizum apt.291]$ ls
apt.conf.d/  auth.conf.d/  preferences.d/  sources.list  sources.list.d/  trusted.gpg  trusted.gpg~  trusted.gpg.d/
[chuck@lizum apt.292]$ cd sources.list.d
[chuck@lizum sources.list.d.293]$ ls
google-chrome.list  mono-official-stable.list  plexmediaserver.list  teamviewer.list  vscode.list
[chuck@lizum sources.list.d.294]$ cat plexmediaserver.list 
# When enabling this repo please remember to add the PlexPublic.Key into the apt setup.
# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
#deb https://downloads.plex.tv/repo/deb/ public main
[chuck@lizum sources.list.d.295]$ 

Uncomment the last line. This enables the repository.

mh… you know that I’m moving very carefully into this… Where can I find the Key? And, suppose it is “123abc” where should I copy it into the command line? Sorry to bother you.

  1. copy the wget line into a terminal window and execute it
[chuck@lizum ~.294]$ wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
OK
[chuck@lizum ~.295]$ 
  1. Now edit the repo definition file.

  2. When editing complete,

[chuck@lizum ~.298]$ sudo apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://linux.teamviewer.com/deb stable InRelease                                                                         
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease                                                               
Hit:4 http://us.archive.ubuntu.com/ubuntu focal InRelease                                                                      
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                                              
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease                                                    
Hit:7 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                                  
Hit:8 https://download.mono-project.com/repo/ubuntu stable-focal InRelease                     
Get:9 https://downloads.plex.tv/repo/deb public InRelease [6,685 B]      
Get:10 https://downloads.plex.tv/repo/deb public/main amd64 Packages [1,352 B]
Fetched 8,037 B in 1s (8,486 B/s)      
Reading package lists... Done
[chuck@lizum ~.299]$ sudo apt-get upgrade plexmediaserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  cheese cheese-common code file-roller libcheese-gtk25 libcheese8 libinput-bin libinput10 plexmediaserver python3-distupgrade
  qemu-block-extra qemu-guest-agent qemu-kvm qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
  ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 155 MB of archives.
After this operation, 219 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 qemu-guest-agent amd64 1:4.2-3ubuntu6.7 [194 kB]
Get:2 https://downloads.plex.tv/repo/deb public/main amd64 plexmediaserver amd64 1.20.3.3437-f1f08d65b [79.7 MB]               
Get:3 http://packages.microsoft.com/repos/vscode stable/main amd64 code amd64 1.50.1-1602600906 [64.5 MB]                      
Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-release-upgrader-gtk all 1:20.04.28 [9,364 B]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-release-upgrader-core all 1:20.04.28 [23.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-distupgrade all 1:20.04.28 [104 kB]           
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 cheese-common all 3.34.0-1ubuntu1 [390 kB]  
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcheese8 amd64 3.34.0-1ubuntu1 [33.3 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcheese-gtk25 amd64 3.34.0-1ubuntu1 [27.0 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 cheese amd64 3.34.0-1ubuntu1 [139 kB]  
Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 file-roller amd64 3.36.3-0ubuntu1 [253 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libinput-bin amd64 1.15.5-1ubuntu0.1 [19.0 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libinput10 amd64 1.15.5-1ubuntu0.1 [112 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-utils amd64 1:4.2-3ubuntu6.7 [975 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-system-common amd64 1:4.2-3ubuntu6.7 [1,056 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-block-extra amd64 1:4.2-3ubuntu6.7 [53.8 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-system-data all 1:4.2-3ubuntu6.7 [563 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-kvm amd64 1:4.2-3ubuntu6.7 [13.1 kB] 
Get:19 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-system-x86 amd64 1:4.2-3ubuntu6.7 [6,720 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu-system-gui amd64 1:4.2-3ubuntu6.7 [40.8 kB]           
Fetched 155 MB in 35s (4,385 kB/s)                                                                                             
(Reading database ... 371280 files and directories currently installed.)
Preparing to unpack .../00-qemu-guest-agent_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-guest-agent (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../01-ubuntu-release-upgrader-gtk_1%3a20.04.28_all.deb ...
Unpacking ubuntu-release-upgrader-gtk (1:20.04.28) over (1:20.04.25) ...
Preparing to unpack .../02-ubuntu-release-upgrader-core_1%3a20.04.28_all.deb ...
Unpacking ubuntu-release-upgrader-core (1:20.04.28) over (1:20.04.25) ...
Preparing to unpack .../03-python3-distupgrade_1%3a20.04.28_all.deb ...
Unpacking python3-distupgrade (1:20.04.28) over (1:20.04.25) ...
Preparing to unpack .../04-cheese-common_3.34.0-1ubuntu1_all.deb ...
Unpacking cheese-common (3.34.0-1ubuntu1) over (3.34.0-1build1) ...
Preparing to unpack .../05-libcheese8_3.34.0-1ubuntu1_amd64.deb ...
Unpacking libcheese8:amd64 (3.34.0-1ubuntu1) over (3.34.0-1build1) ...
Preparing to unpack .../06-libcheese-gtk25_3.34.0-1ubuntu1_amd64.deb ...
Unpacking libcheese-gtk25:amd64 (3.34.0-1ubuntu1) over (3.34.0-1build1) ...
Preparing to unpack .../07-cheese_3.34.0-1ubuntu1_amd64.deb ...
Unpacking cheese (3.34.0-1ubuntu1) over (3.34.0-1build1) ...
Preparing to unpack .../08-code_1.50.1-1602600906_amd64.deb ...
Unpacking code (1.50.1-1602600906) over (1.50.0-1602051089) ...
Preparing to unpack .../09-file-roller_3.36.3-0ubuntu1_amd64.deb ...
Unpacking file-roller (3.36.3-0ubuntu1) over (3.36.2-0ubuntu1) ...
Preparing to unpack .../10-libinput-bin_1.15.5-1ubuntu0.1_amd64.deb ...
Unpacking libinput-bin (1.15.5-1ubuntu0.1) over (1.15.5-1) ...
Preparing to unpack .../11-libinput10_1.15.5-1ubuntu0.1_amd64.deb ...
Unpacking libinput10:amd64 (1.15.5-1ubuntu0.1) over (1.15.5-1) ...
Preparing to unpack .../12-qemu-utils_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-utils (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../13-qemu-system-common_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-system-common (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../14-qemu-block-extra_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-block-extra:amd64 (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../15-qemu-system-data_1%3a4.2-3ubuntu6.7_all.deb ...
Unpacking qemu-system-data (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../16-qemu-kvm_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-kvm (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../17-qemu-system-x86_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-system-x86 (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../18-qemu-system-gui_1%3a4.2-3ubuntu6.7_amd64.deb ...
Unpacking qemu-system-gui:amd64 (1:4.2-3ubuntu6.7) over (1:4.2-3ubuntu6.6) ...
Preparing to unpack .../19-plexmediaserver_1.20.3.3437-f1f08d65b_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.20.3.3437-f1f08d65b) over (1.20.2.3402-0fec14d92) ...
Setting up code (1.50.1-1602600906) ...
Setting up file-roller (3.36.3-0ubuntu1) ...
Setting up qemu-system-gui:amd64 (1:4.2-3ubuntu6.7) ...
Setting up qemu-guest-agent (1:4.2-3ubuntu6.7) ...
Setting up plexmediaserver (1.20.3.3437-f1f08d65b) ...
PlexMediaServer install: PlexMediaServer-1.20.3.3437-f1f08d65b - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /home/plexdir/Application Support
PlexMediaServer install:   Temp Directory:      /tmp 
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Config file used:    /etc/systemd/system/plexmediaserver.service.d/override.conf
PlexMediaServer install:   Transcoding HW:      Found
PlexMediaServer install: 
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: INFO: Plex Media Server is not enabled to start at system boot.
PlexMediaServer install: PlexMediaServer-1.20.3.3437-f1f08d65b - Installation successful.  Errors: 0, Warnings: 0
Setting up python3-distupgrade (1:20.04.28) ...
Setting up libinput-bin (1.15.5-1ubuntu0.1) ...
Setting up ubuntu-release-upgrader-core (1:20.04.28) ...
Setting up qemu-system-data (1:4.2-3ubuntu6.7) ...
Setting up cheese-common (3.34.0-1ubuntu1) ...
Setting up ubuntu-release-upgrader-gtk (1:20.04.28) ...
Setting up qemu-block-extra:amd64 (1:4.2-3ubuntu6.7) ...
Setting up libinput10:amd64 (1.15.5-1ubuntu0.1) ...
Setting up qemu-system-common (1:4.2-3ubuntu6.7) ...
Setting up qemu-system-x86 (1:4.2-3ubuntu6.7) ...
Setting up qemu-utils (1:4.2-3ubuntu6.7) ...
Setting up qemu-kvm (1:4.2-3ubuntu6.7) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.3-1~ubuntu20.04.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for man-db (2.9.1-1) ...
Setting up libcheese8:amd64 (3.34.0-1ubuntu1) ...
Setting up libcheese-gtk25:amd64 (3.34.0-1ubuntu1) ...
Setting up cheese (3.34.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
[chuck@lizum ~.300]$

In the above, you see my other updates which I have pending

I executed 1. and my system is saying OK, as yours.

What do you mean with 2.? How can I “edit the repo definition file”? :frowning:

As root, open a text editor and edit the file and save it.

mh… I have no file to edit, unfortunately, so probably something went wrong. It doesn’t matter, thank you anyway.
Have a nice weekend :slight_smile:

Hi @ChuckPa
Since I am almost running the same setup as @supertopix, I’d like to clear something:

so, for enabling auto-update (on Ubuntu 20.04) for plex. I

  1. need to make the wget-command from your post Nr. 8
  2. edit the plexmediaserver.list from your post Nr.6 ??

Sorry, but these posts here confuse my noob-brain & I’d love to be able to get auto-updates for PLEX on my NUC running Ubuntu 20.04 (not server, minimal desktop-version). I would prefer to handle the updates from within the grafical interface.

thx for your support to the linux-users :slight_smile:

1 Like

In 20.04, Ubuntu has removed a lot of the great capabilities from their graphical installer .

It used to be really nice. Now, with 20.04, they’ve made it proprietary to their Ubuntu App Store and SNAP packages.

Linux is a command-line driven OS. The graphical is nice but you will find there are many things which cannot be done from the UI.

Here are the articles.

It is important to understand that, while we’re here to support Plex on Linux:

  1. Linux isn’t the default OS on any computers that we know of
  2. Linux is a choice (typically after using Windows on that computer)
  3. Since it’s a choice, the responsibility of mastering Linux befalls the user.
  4. Linux has a steep learning curve but google has a huge assortment of tutorials.
1 Like

Thanks for saying that, Chuck. I never thought about it that way. That will do much to calm frustrations that arise with all things Linux, not just Plex.

I run Plex on a Linux box because that’s what the big box in the basement uses, that’s where I rip my media, and that’s where the Plex was going to live.

Ideally, on what kind of machine should Plex be installed? Windows?

Rule #1 - Never try to put PMS on an Operating System you do not have a reasonably mastery of. PMS can do a great deal but you need to know how it functions on that platform to utilize all the features.

Just jumping in here to say I followed instructions from @ChuckPa and was able to successfully navigate the upgrade. Thanks for the clear instructions!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.