I upgraded from OMV version 4 to 5 and now face issues with package installation due to incompatible salt version.
OpenMediaVault provides a newer version of salt (salt-common) than what is found in the default Debian repository:
Code
$ apt-cache policy salt-common
salt-common:
Installiert: 2019.2.3+ds-1
Installationskandidat: 2019.2.3+ds-1
Versionstabelle:
*** 2019.2.3+ds-1 500
500 http://packages.openmediavault.org/public usul/main amd64 Packages
500 https://openmediavault.github.io/packages usul/main amd64 Packages
100 /var/lib/dpkg/status
2018.3.4+dfsg1-6 500
500 http://ftp.de.debian.org/debian buster/main amd64 Packages
Display More
However, this newer version is incompatible with the installed python version (3.7) which causes package installations to fail and thus locking apt:
Code
openmediavault-diskstats (5.0.4-1) wird eingerichtet ...
/usr/lib/python3/dist-packages/salt/utils/jinja.py:503: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if isinstance(values, collections.Hashable):
dpkg: Fehler beim Bearbeiten des Paketes openmediavault-diskstats (--configure):
»installiertes openmediavault-diskstats-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
I could manually change the apt pinning to solve this, but this might come back later again.
How do I make sure that OMV does not mess up my Debian installation?
I guess the omv package scripts could also gracefully handle warnings instead of failing.