Unattended PVE upgrade

Flix

New Member
Aug 24, 2021
4
0
1
36
Hi,

when performing a PVE update from v5 to v6 using apt dist-upgrade there is a pve-apt-hook preventing an unattended upgrade:

Bash:
!! ATTENTION !!
You are attempting to upgrade ...
...
Press Enter to continue, or C^c to abort.

This is blocking the upgrade using Ansible in my case.
Is there a way to pass an argument to apt dist-upgrade so the warning will be ignored?

Thanks
 
i have same problem with pve-hook and solve it with commenting line 82

Bash:
sed -i '82s/^/#/g' /usr/share/proxmox-ve/pve-apt-hook
 

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!