[pve-devel] [RFC qemu-server] apt hook: warn against using 'upgrade' command

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Sep 9 09:57:39 CEST 2024


Am 09/09/2024 um 09:52 schrieb Fiona Ebner:
> Am 09.09.24 um 09:48 schrieb Fabian Grünbichler:
>> given that I also use `apt upgrade` from time to time (habit from being an unstable user ;)), and that it might alienate power users coming from Debian, I'd prefer this to be a non-interactive warning with the text "disarmed" a bit?
>>
>> something like
>>
>> !! WARNING !!
>> Since Proxmox VE follows a rolling release model, using 'upgrade' can lead to a system being stuck on outdated versions, or in rare cases, break upon upgrading. Use 'dist-upgrade' or 'full-upgrade' instead.
>> !! WARNING !!

All right, albeit I find the "!! WARNING !!" still rather a bit to scary then.

Maybe just an extra newline above and below and then something like your wording:

NOTE: Proxmox VE follows a rolling release model, so using the 'upgrade' command [...]

FWIW, you could also make this more generic for easier re-use, like:

NOTE: Proxmox projects follow [...]

and ship it in a common package, maybe even an extra one that is only recommended,
not hard-dependency, so the power user can remove the warning if they don't care
(or are daring)




More information about the pve-devel mailing list