Config File Changes During Apt-Upgrade

mwdennis

New Member
Jan 10, 2025
3
0
1
I am curious how I should handle config file changes during the apt-upgrade. Do I keep the local version or replace with the update? I just ran an apt upgrade on my proxmox ve 8.3.2 host and one of the updates was for the openssh-server. I've attached a screenshot showing the differences between versions. Do I keep local?
 

Attachments

  • Screenshot 2025-01-11 125923.png
    Screenshot 2025-01-11 125923.png
    18.4 KB · Views: 9
There is only one actual change there, the others are commented. And the change is trivial, you added a keepalive interval. So it doesn't really matter much. I would apply the change but maybe you had a reason for adding the keepalive in which case you should keep the old version.
 
Thanks for the response. I went ahead and kept the local file as this was an OVH template install so I would assume they want that keepalive interval for some reason.
 
NEVER run apt upgrade or apt-get upgrade on a PVE system, only apt-get dist-upgrade. See here & these forums for more info.
Oh I didn't do either. I merely ran the UI based refresh/upgrade which I would assume runs the appropriate upgrade process.
 

Attachments

  • Screenshot 2025-01-11 135847.png
    Screenshot 2025-01-11 135847.png
    26.5 KB · Views: 3
Good. I was only responding to what I read in your OP: " .... file changes during the apt-upgrade" . Many users make this mistake & end up breaking some dependency etc. If you only use the UI it will only do a dist-upgrade.
 
  • Like
Reactions: mwdennis

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!