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

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Sep 6 18:54:09 CEST 2024


Am 06/09/2024 um 13:01 schrieb Dominik Csapak:
> just to mention it (i think it's not widely known):
> 
> 'apt upgrade' behaves slightly different than 'apt-get upgrade'
> 
> while the former also installs new packages if necessary, the latter
> doesn't, so an 'apt upgrade' will maybe work ok in most sitations.
> I guess we want to filter it out nonetheless?
> 
> (none of the commands above will remove packages)

that's all true, but I agree also with your guess, we rely on removals
to happen as we have semi-frequent transitions during a stable release
cycle, so while `apt upgrade` is thankfully way more sensible already,
it still isn't enough for our use case.





More information about the pve-devel mailing list