How-to update PMS via unattended-upgrades ?

server-raspberry-pi

#1

Hi, I am running Ubuntu Mate 16.04 on a Pi2 with PMS installed. I have setup unattended-upgrades to update package lists every week. When I run sudo apt-get update && sudo apt-get upgrade -y it updates without a problem. However, for some reason it will not upgrade when using unattended-upgrades. I get this output when trying it from terminal:

Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=xenial', 'o=Ubuntu,a=xenial-security', 'o=UbuntuESM,a=xenial', 'o=Ubuntu,a=xenial-updates']
Checking: plexmediaserver-installer ([<Origin component:'main' archive:'' origin:'PMS armv7' label:'PMS armv7' site:'dev2day.de' isTrusted:True>])
pkgs that look like they should be upgraded: 
Fetched 0 B in 0s (0 B/s)                                                      
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals

Why is Plex Media Server not upgrading when using unattended-upgrades ?

Thanks


#2

@R-P-H said:

Why is Plex Media Server not upgrading when using unattended-upgrades ?

Never do unattended upgrades on a server. Never! Besides, I do not know this script :slight_smile:


#3

@uglymagoo said:

@R-P-H said:

Why is Plex Media Server not upgrading when using unattended-upgrades ?

Never do unattended upgrades on a server. Never! Besides, I do not know this script :slight_smile:

Why not unattended-upgrades ?


#4

@R-P-H said:
Why not unattended-upgrades ?

You will miss important warnings, errors, messages from the package maintainer, unsuccessful updates, sometimes user interaction is required and so on and so forth. And there is just no real benefit to automatically perform apt-get upgrade. Just make it a habit to update the server twice a week manually and you will be fine.