Feature Requests
New / Open / Unreviewed

[Feature]: Ability to set upgrade to use dist-upgrade instead of just upgrade

What is the installation method of your PatchMon server?

No response

What is the version of your PatchMon server?

2.0.2

Briefly describe the feature

Ability to set upgrade to use dist-upgrade instead of just upgrade

Detailed description

Some systems it's better to use apt dist-upgrade instead of just apt upgrade. For example, proxmox documentation specifically calls this out https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#system_software_updates and to never use apt upgrade.

Why is this useful?

apt upgrade and apt dist-upgrade behave differently and some systems (proxmox and debian highly recommend to use dist-upgrade over upgrade)

4 Comments

Posting anonymously

Pouch11·3 months ago

A must have :), the apt update apt upgrade has broken my proxmox boot.

I will pause it until this is fixed

Thanks

Posting anonymously

HammyHavoc·3 months ago

For making sure CopyFail is mitigated, this makes a ton of sense.

Have been seeing the agents report no patches to do, but hosts not on the latest kernel that is definitely available, so had to do them manually.

Posting anonymously

shartge·3 months ago

Also, in addition to this comment, using apt-get install PACKAGE will set the PACKAGE it to be manually installed, which can create problems down the line when apt autoremove then no longer removes the package(s).

If one wants to use apt-get upgrade then one should use --with-new-pkgs so a new Kernel pulled in via the meta-package is correctly installed.

Posting anonymously

9technologygroup·3 months ago

Hey - Yes proxmox has this and other members from the community also have pointed it out.

I am just thinking about how to architecture this in the right way in the agent and where we would like to see it configurable (and auto-set as dist-upgrade for proxmox)

Posting anonymously