# Apt-get upgrade plexmediaserver

**URL:** <https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [May 18, 2021, 10:48pm UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590 "2021-05-18T22:48:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shepner](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@shepner](https://forums.plex.tv/u/shepner)\
**Post date:** [May 18, 2021, 10:48pm UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590/1 "2021-05-18T22:48:14Z")

</div>

Are the repos still being updated? I have been using `apt-get upgrade plexmediaserver` for a while now but, for some time now, 1.20.1.3252-a78fef9a9 seems to be the last version published this way, while 1.23.1.4528-c0513eb4c is on the [website](https://www.plex.tv/media-server-downloads/)

For reference, the instructions that I originally used were from here: [Enable repository updating for supported Linux server distributions](https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions/)

This is what I receive when I run the command:

```auto
$ sudo apt-get upgrade plexmediaserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
plexmediaserver is already the newest version (1.20.1.3252-a78fef9a9).

```

---

<div class="post-metadata">

**Author:** ![frederick.grayson](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/frederick.grayson/32/14914_2.png) [@frederick.grayson](https://forums.plex.tv/u/frederick.grayson)\
**Post date:** [May 18, 2021, 10:54pm UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590/2 "2021-05-18T22:54:13Z")

</div>

Did you run **apt-get update** first?

---

<div class="post-metadata">

**Author:** ![shepner](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@shepner](https://forums.plex.tv/u/shepner)\
**Post date:** [May 18, 2021, 11:37pm UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590/3 "2021-05-18T23:37:21Z")

</div>

Yes. It doesnt help. Here is a more complete output:

```auto
$ sudo apt-get update
[...]
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [988 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [13.4 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [777 kB]
Fetched 2,102 kB in 1s (1,882 kB/s)                              
Reading package lists... Done

$ sudo apt-get upgrade plexmediaserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
plexmediaserver is already the newest version (1.20.1.3252-a78fef9a9).
Calculating upgrade... Done
The following packages have been kept back:
  ubuntu-advantage-tools
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

```

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [May 19, 2021, 12:05am UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590/4 "2021-05-19T00:05:43Z")

</div>

Here, I opened my Ubuntu 20.04.2 VM

You can see the normal system updates,  
Then addition of the repository  
Then, knowing I have a previously manual installed PMS, upgrade

```auto
root@ubuntu:/home/chuck# apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease                  
Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease                         
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease          
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Ign:6 https://github.com/intel/compute-runtime focal InRelease
Err:7 https://github.com/intel/compute-runtime focal Release
  404 Not Found [IP: 140.82.114.4 443]
Reading package lists... Done
E: The repository 'https://github.com/intel/compute-runtime focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@ubuntu:/home/chuck# apt-get upgrade plexmediaserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
plexmediaserver is already the newest version (1.22.1.4275-48e10484b).
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm9
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  python3-software-properties software-properties-common software-properties-gtk ubuntu-advantage-tools
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 873 kB of archives.
After this operation, 2,331 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/main amd64 ubuntu-advantage-tools amd64 27.0.2~20.04.1 [773 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 software-properties-common all 0.98.9.5 [10.6 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 software-properties-gtk all 0.98.9.5 [64.0 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-software-properties all 0.98.9.5 [25.1 kB]
Fetched 873 kB in 0s (2,021 kB/s)                       
Preconfiguring packages ...
(Reading database ... 186321 files and directories currently installed.)
Preparing to unpack .../ubuntu-advantage-tools_27.0.2~20.04.1_amd64.deb ...
Unpacking ubuntu-advantage-tools (27.0.2~20.04.1) over (20.3) ...
Preparing to unpack .../software-properties-common_0.98.9.5_all.deb ...
Unpacking software-properties-common (0.98.9.5) over (0.98.9.4) ...
Preparing to unpack .../software-properties-gtk_0.98.9.5_all.deb ...
Unpacking software-properties-gtk (0.98.9.5) over (0.98.9.4) ...
Preparing to unpack .../python3-software-properties_0.98.9.5_all.deb ...
Unpacking python3-software-properties (0.98.9.5) over (0.98.9.4) ...
Setting up python3-software-properties (0.98.9.5) ...
Setting up ubuntu-advantage-tools (27.0.2~20.04.1) ...
Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...
Created symlink /etc/systemd/system/multi-user.target.wants/ua-reboot-cmds.service → /lib/systemd/system/ua-reboot-cmds.service.
Created symlink /etc/systemd/system/timers.target.wants/ua-messaging.timer → /lib/systemd/system/ua-messaging.timer.
Setting up software-properties-common (0.98.9.5) ...
Setting up software-properties-gtk (0.98.9.5) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
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.6-1~ubuntu20.04.3) ...
Processing triggers for man-db (2.9.1-1) ...
root@ubuntu:/home/chuck# cd /etc/apt
root@ubuntu:/etc/apt# ls
apt.conf.d auth.conf.d preferences.d sources.bak sources.list sources.list.d sources.list.save trusted.gpg trusted.gpg.d

root@ubuntu:/etc/apt# echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
deb https://downloads.plex.tv/repo/deb public main
root@ubuntu:/etc/apt# curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 3072 100 3072 0 0 20897 0 --:--:-- --:--:-- --:--:-- 20897
OK

root@ubuntu:/etc/apt# apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                  
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                                    
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                          
Get:5 https://downloads.plex.tv/repo/deb public InRelease [6,685 B]                                                                                                   
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease                                      
Ign:7 https://github.com/intel/compute-runtime focal InRelease                  
Err:8 https://github.com/intel/compute-runtime focal Release
  404 Not Found [IP: 140.82.113.4 443]
Get:9 https://downloads.plex.tv/repo/deb public/main amd64 Packages [1,772 B]
Reading package lists... Done         
E: The repository 'https://github.com/intel/compute-runtime focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

root@ubuntu:/etc/apt# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm9
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  plexmediaserver
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 86.8 MB of archives.
After this operation, 1,988 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://downloads.plex.tv/repo/deb public/main amd64 plexmediaserver amd64 1.22.3.4523-d0ce30438 [86.8 MB]
Fetched 86.8 MB in 1s (61.6 MB/s)          
(Reading database ... 186341 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.22.3.4523-d0ce30438_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.22.3.4523-d0ce30438) over (1.22.1.4275-48e10484b) ...
Setting up plexmediaserver (1.22.3.4523-d0ce30438) ...
PlexMediaServer install: PlexMediaServer-1.22.3.4523-d0ce30438 - 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: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp 
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel QSV Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:  
PlexMediaServer install: OpenCL library: Not Installed
PlexMediaServer install: Beignet package: Not Installed
PlexMediaServer install:  
PlexMediaServer install: WARNING: Package 'Beignet', required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: 'beignet-opencl-icd'
PlexMediaServer install: WARNING: The OpenCL library, required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: 'ocl-icd-libopencl1'
PlexMediaServer install:  
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.22.3.4523-d0ce30438 - Installation successful. Errors: 0, Warnings: 2
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
root@ubuntu:/etc/apt# 

```

---

<div class="post-metadata">

**Author:** ![shepner](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@shepner](https://forums.plex.tv/u/shepner)\
**Post date:** [May 19, 2021, 1:03am UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590/5 "2021-05-19T01:03:01Z")

</div>

> [@ChuckPa](#):
>
> `Get:5 https://downloads.plex.tv/repo/deb public InRelease [6,685 B]`

ugh. Well that there would be the problem. And yep, re-adding the repo fixed the problem.

Updated my scripts to prevent _that_ particular problem from popping up again. And now to figure out why it disappeared in the first place…

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 17, 2021, 1:03am UTC](https://forums.plex.tv/t/apt-get-upgrade-plexmediaserver/716590/6 "2021-08-17T01:03:29Z")

</div>

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