When I tried to update my Openmediavault (amd64) to version 5.2.4-1 today, I encountered the following problem:
Python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up openmediavault (5.2.4-1) ...
Creating configuration database ...
Migrating configuration database ...
Setting up Salt environment ...
Setting up system ...
[WARNING ] /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable, Mapping, namedtuple
[WARNING ] /usr/lib/python3/dist-packages/salt/utils/jinja.py:638: 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(lst1, collections.Hashable) and isinstance(lst2, collections.Hashable):
[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
*salt.utils.args.get_function_argspec(original_function)
[ERROR ] Command '['systemd-run', '--scope', 'systemctl', 'start', 'fstrim.timer']' failed with return code: 1
[ERROR ] stderr: Failed to start transient scope unit: Connection timed out
[ERROR ] retcode: 1
[ERROR ] Failed to start transient scope unit: Connection timed out
[ERROR ] {'out': 'highstate', 'ret': {'debian': {'cmd_|-udevadm_reload_rules_|-/bin/udevadm control --reload-rules_|-run': {'name': '/bin/udevadm control --reload-rules', 'changes': {'pid': 11403, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "/bin/udevadm control --reload-rules" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 0, 'start_time': '14:06:52.195620', 'duration': 25.068, '__id__': 'udevadm_reload_rules'}, 'cmd_|-udevadm_trigger_|-/bin/udevadm trigger_|-run': {'name': '/bin/udevadm trigger', 'changes': {'pid': 11404, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "/bin/udevadm trigger" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 1, 'start_time': '14:06:52.221748', 'duration': 126.53, '__id__': 'udevadm_trigger'}, 'file_|-configure_root_bashrc_|-/root/.bashrc_|-managed': {'changes': {}, 'comment': 'File /root/.bashrc is in the correct state', 'name': '/root/.bashrc', 'result': True, '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 2, 'start_time': '14:06:52.359755', 'duration': 40.666, '__id__': 'configure_root_bashrc'}, 'file_|-configure_root_inputrc_|-/root/.inputrc_|-managed': {'changes': {}, 'comment': 'File /root/.inputrc is in the correct state', 'name': '/root/.inputrc', 'result': True, '__sls__': 'omv.setup.shell.20root_inputrc', '__run_num__': 3, 'start_time': '14:06:52.400592', 'duration': 3.427, '__id__': 'configure_root_inputrc'}, 'file_|-modify_root_profile_|-/root/.profile_|-replace': {'name': '/root/.profile', 'changes': {}, 'result': True, 'comment': 'No changes needed to be made', '__sls__': 'omv.setup.shell.30root_profile', '__run_num__': 4, 'start_time': '14:06:52.404200', 'duration': 9.319, '__id__': 'modify_root_profile'}, 'locale_|-generate_C.UTF-8_locale_|-C.UTF-8_|-present': {'name': 'C.UTF-8', 'changes': {}, 'result': True, 'comment': 'Locale C.UTF-8 is already present', '__sls__': 'omv.setup.locale.default', '__run_num__': 5, 'start_time': '14:06:52.422783', 'duration': 8.822, '__id__': 'generate_C.UTF-8_locale'}, 'cmd_|-set_system_locale_|-update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8_|-run': {'name': 'update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8', 'changes': {'pid': 11451, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8" run', '__sls__': 'omv.setup.locale.default', '__run_num__': 6, 'start_time': '14:06:52.431924', 'duration': 40.066, '__id__': 'set_system_locale'}, 'file_|-symlink_systemd_resolvconf_|-/etc/resolv.conf_|-symlink': {'name': '/etc/resolv.conf', 'changes': {}, 'result': True, 'comment': 'Symlink /etc/resolv.conf is present and owned by root:root', '__sls__': 'omv.setup.resolvconf.default', '__run_num__': 7, 'start_time': '14:06:52.472305', 'duration': 9.672, '__id__': 'symlink_systemd_resolvconf'}, 'service_|-start_fstrim_timer_|-fstrim.timer_|-running': {'name': 'fstrim.timer', 'changes': {}, 'result': False, 'comment': 'Failed to start transient scope unit: Connection timed out', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 8, 'start_time': '14:06:52.501079', 'duration': 98575.413, '__id__': 'start_fstrim_timer'}, 'file_|-enable_discard_in_lvm_conf_|-/etc/lvm/lvm.conf_|-replace': {'name': '/etc/lvm/lvm.conf', 'changes': {}, 'result': True, 'comment': 'No changes needed to be made', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 9, 'start_time': '14:08:31.077222', 'duration': 67.496, '__id__': 'enable_discard_in_lvm_conf'}}}}
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
openmediavault-omvextrasorg depends on openmediavault (>= 5.0); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-omvextrasorg (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openmediavault
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Unfortunately, I can't solve it and I'm really starting to get confused. Does anyone else have any ideas?
Thanks a lot in any case