When upgrading from OMV 2.1.13 to OMV3 the upgrade on my system aborts with the following error:
ZitatProcessing triggers for dbus (1.8.22-0+deb8u1) ...
sh: 1: .: Can't open /usr/share/openmediavault/scripts/helper-functions
E: Problem executing scripts DPkg::Post-Invoke '. /etc/default/openmediavault; . /usr/share/openmediavault/scripts/helper-functions; if omv_checkyesno ${OMV_DPKG_POSTINVOKE_PURGE_MAN}; then if [ $(ps w -p $PPID | grep -c remove) != 1 ]; then echo 'Purging man pages ...'; rm -rf /usr/share/doc/* /usr/share/man/* /var/cache/man/*; else exit 0; fi; fi'
E: Sub-process returned an error code
From what I can see this issue occurs due to the fact that OMV-release-upgrade does remove the current openmediavault package instead of upgrading it to OMV3. As a result the helper-functions scripts does not exist once required.
Zitatroot@mediavault:~# omv-release-upgrade
Upgrading system to 3.0 (Erasmus) ...
[...]
The following packages will be REMOVED:
cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base libaudit0 libperl5.14 libsnmp15 libstdc++6-4.7-dev openmediavault php5-proctitle
Does anybody have an idea how to get around this issue?