following https://pmg.proxmox.com/wiki/index.php/Upgrade_from_6.x_to_7.0 to upgrade the process fails.
at the end of the upgrade process you get
it happends that trying to then do apt install proxmox-mailgateway you get a more verbose message telling that pmg-api fails because of a masked service
workaround is
ulitmately I feel like this is either a documentation bug either a bug in the post script that test for service not being masked...
at the end of the upgrade process you get
dpkg: error processing package pmg-api (--configure):
installed pmg-api package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of proxmox-mailgateway:
proxmox-mailgateway depends on pmg-api (>= 7.3~); however:
Package pmg-api is not configured yet.
dpkg: error processing package proxmox-mailgateway (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for oddjob (0.34.6-1) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.15.102-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Errors were encountered while processing:
pmg-api
proxmox-mailgateway
E: Sub-process /usr/bin/dpkg returned an error code (1)
it happends that trying to then do apt install proxmox-mailgateway you get a more verbose message telling that pmg-api fails because of a masked service
workaround is
Code:
systemctl unmask pmg-smtp-filter
apt install proxmox-mailgateway
ulitmately I feel like this is either a documentation bug either a bug in the post script that test for service not being masked...