Curl current proxmox release version from web

rml

Member
Apr 24, 2019
31
0
11
46
Bit weird but I'm setting up various scripts that announce when software is due for an update - mainly so I can check release notes before applying.

Is there somewhere I can reliably get (curl or similar) the latest release number from - so the script can use it to compare it to pveversion.
 
You can do `apt update` and then `apt list --upgradable` should show you any software updates. You could then parse this output. Just an idea.
 
  • Like
Reactions: rml
Thanks Ogux, much easier than I thought.

Is dist-upgrade the preferred method for proxmox (rather than apt upgrade) ?
Have there ever been any version changes that require more than that?

For some reason I got the impression that --upgradable would list packages that a dist-upgrade may chose not to install. God knows where I got that from as I've just tested in on a couple of VMs.

I've some more reading to do clearly! Thank you.
 
Hi,
Is dist-upgrade the preferred method for proxmox (rather than apt upgrade) ?
`apt-get dist-upgrade` or `apt full-upgrade` are the preferred methods. (Never use `apt-get upgrade`)
Have there ever been any version changes that require more than that?
No.

I've some more reading to do clearly! Thank you.
You're welcome!