Just installed OMV 4.1.3-1 and wanted to install OMV-Extras. Went ahead and it complained a bit (can't remember the exact message but it had to do with Python). But now I can't even uninstall OMV-Extras again (see below).
Code
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --auto-remove --purge remove openmediavault-omvextrasorg 2>&1' with exit code '100': Reading package lists...
Building dependency tree...
Reading state information...
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/ in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc:151
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(536): OMVRpcServicePluginMgmt->{closure}('/tmp/bgstatuslk...', '/tmp/bgoutput4J...')
#1 /usr/share/openmediavault/engined/rpc/pluginmgmt.inc(155): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServicePluginMgmt->remove(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('remove', Array, Array)
#5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Plugin', 'remove', Array, Array, 1)
#6 {main}
Alles anzeigen
Neither can I enable any of the packages. Starting e.g. Plex yields:
Python
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf apt 2>&1' with exit code '1': Traceback (most recent call last):
File "/usr/sbin/omv-mkconf", line 23, in <module>
import argparse
File "/usr/lib/python3.5/argparse.py", line 87, in <module>
import copy as _copy
File "/usr/lib/python3.5/copy.py", line 51, in <module>
import types
File "/usr/lib/python3.5/types.py", line 166, in <module>
import functools as _functools
File "/usr/lib/python3.5/functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "/usr/lib/python3.5/weakref.py", line 109
def remove(wr, selfref=ref(self)):
^
TabError: inconsistent use of tabs and spaces in indentation in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/openmediavault/engined/module/apt.inc(37): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleApt->applyConfig()
#2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/openmediavault/engined/rpc/omvextrasorg.inc(106): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
#6 [internal function]: OMVRpcServiceOmvExtras->setRepo(Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setRepo', Array, Array)
#9 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('OmvExtras', 'setRepo', Array, Array, 1)
#10 {main}
Alles anzeigen
I did find this link but changing weakref.py @ lines 109 and 117 didn't fix my issues. Any ideas?