Error on dist-upgrade: is it safe to reboot now ?

softlion

Active Member
Dec 10, 2009
63
0
26
Hi,
i just apt-get dist-upgrade and i see this in the log:

> Installing new version of config file /etc/vzdump.conf ...
> Failed to preset unit: File /etc/systemd/system/pve-manager.service already exists and is a symlink to /dev/null.
> /usr/bin/deb-systemd-helper: error: systemctl preset failed on pve-guests.service: No such file or directory
> Processing triggers for pve-ha-manager (2.0-9) ...

Can i safely reboot now or should i change something first ?
Thank you !

Note: i executed apt-get upgrade before to get the latest security updates only. Is it the cause ?
 
Ok it seems simple apt-get upgrade are not supported, you have to use apt-get dist-upgrade.
This is a bummer.
Will look to move away from proxmox to k8s/docker.
 
Hi,
please do not reboot until you know in what state your system is. Please post the output of dpkg -l | egrep 'pve|proxmox' and try to reconfigure the installed packages with dpkg --configure -a. Make sure proxmox is installed apt install proxmox-ve.
apt-get dist-upgrade is what you want to upgrade your system and you should always check the output.
 

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!