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.